• Resolved blogmom

    (@blogmom)


    Great plugin. Two questions please…
    1. which php could I edit to add a “see more…” link when using #_LOCATIONEXCERPT? I realize this is not currently delivered but I wonder if I can modify a php myself to add it.

    2. how can I remove Next and Previous locations at the bottom of a location page? I can’t seem to find a setting for that.

    thanks…

    https://www.ads-software.com/extend/plugins/events-manager/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    you could add a link to your format like this:

    #_LOCATIONEXCERPT <a href="#_LOCATIONLINK">see more...</a>

    2. that’s created by your theme. you either need to modify your theme, or maybe setting locations to display as pages may help, under Settings > Pages > Location Pages

    Hello,

    For the next prev stuff …
    If you want to remove it only for locations, you can copy the single.php file of your theme to single-location.php and remove the prev/next code

    Same goes for events. You then have to copy single.php to single-event.php

    The beauty of custom posts …

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    FranceImage’s suggestion is the ‘correct/WP’ way to do it

    however, my suggestion may fix the problem without coding (not always though, in that case the above would be the way)

    Thread Starter blogmom

    (@blogmom)

    Brilliant!! Thanks both of you!
    FYI, I did need to change #_LOCATIONLINK to #_LOCATIONURL. Then I had to use CSS to prevent the padding of the p tag surrounding #_LOCATIONEXCERPT from creating an extra line before my “more” link. And then I needed to add padding between each location. I ended up with (edited for space):

    <ul id="locationlist">
    [locations_list category="11"]
    	<li>#_LOCATIONLINK #_LOCATIONEXCERPT <a href="#_LOCATIONURL">see more...</a></li>
    [/locations_list]
    </ul>

    and css:

    #locationlist p {
      display:inline;
    }
    #locationlist li {
      margin-bottom:20px;
    }

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘next & prev locations, and LOCATIONEXCERPT’ is closed to new replies.