Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #54535
    Jack
    Participant

    I am looking for more information on the “ifset” function.  I am wanting to only include a div and it’s contents within the results if a “[slp_location data.***]” is not empty, but am unable to find any detailed information on the “ifset” function and if it can accomplish this.

    Here is my plugin environment:

    Store Locator Plus:4.8.3

    Experience:4.8.3

    Extended Data Manager:4.7.0

    Power:4.8.3

    Premier:4.8.2

    Janitor:4.8

     

     

    #54537
    Lance Cleveland
    Keymaster

    The shortcode “ifset” attribute is not designed as a full programming/logic block manager.   A div needs an opening and closing tag and cannot be managed by a single ifset.

    Instead considering using the location data as part of a class declaration and use custom CSS to show/hide a div.

     

    <div class=”[slp_location data.***]”>…</div>

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.