an
groups-icon

[FIELDS] – how to remove Country/State but keep Address

Wait a minute... This content is very very old. We no longer sell or support this theme version. New Topics
  • Version 9
    Jonathan Bar Ner
    0 points
    Beginner

    In my [FIELDS], I want to show “Address”, but not show “County, State/Province, distance” (see attached pic).

    Following How to Hide Certain Fields in the Display Section, I tried various hide=”…”, but that didn’t work:
    [FIELDS hide=”address”] – hide all the above, including Address that I want to show
    [FIELDS hide=”distance”] – hides nothing, even distance shows up!

    The question Remove Links to Categories suggests an ugly hack removing table rows in client-side script. It does work, but introduces another problem: Some listings don’t have a “Web Site” field, and then the hack removes the wrong lines. I guess I could hack further, but it’s hardly a maintainable solution…

    Attachments:
    You must be logged in to view attached files.
    April 23, 2015 at 5:52 pm
  • Jonathan Bar Ner
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    April 23, 2015 at 6:19 pm
  • Josh njenga
    -10 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    April 24, 2015 at 8:13 am
  • Jonathan Bar Ner
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    April 25, 2015 at 7:27 am
  • Josh njenga
    -10 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    April 25, 2015 at 9:59 am

302

Views

4

Replies