Store Locator Plus® for WordPress Forums Premier Support Hiding Website in Results if no website set

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #58837
    imagei
    Participant

    Hi Cici

    This is my preferred text results layout:

    
    [slp_location data.sl_store]
    
    Visit Website
    Send Email
    Tel: [slp_location data.sl_phone]
    [slp_location directions_text]
    </div>

    Works OK but some of my locations do not have a website so I need to ammend the above.
    Visit Website<br>

    I’ve tried some of the following but the ‘ifset’ attribute doesn’t seem to work.

    [html ifset url][slp_location ifset url wrap website][slp_option label_website ifset url]
    [html closing_anchor ifset url][html br ifset url]

    What am I doing wrong?

    Thanks

    #58844
    Cici
    Keymaster

    Are using SEO Pages and the Pages replaces weblink setting?

    What are you using for the Plugin style under view?

     

     

    #58859
    imagei
    Participant

    I’m using ‘A Gallery Style’ and looks like the layout code is not customised.

    `

    [slp_option name=”search_box_title” ifset=”div”]
    [slp_search]
    </div>

    [slp_option name=”results_box_title” ifset=”div”]
    [slp_results]
    </div>
    </div>

    [slp_map]
    </div>
    </div>`

    I’ve attached a screenshot of the SLP > Settings > Results > Results Layout HTML that I want improve.

    Thanks

    Attachments:
    You must be logged in to view attached files.
    #58897
    Cici
    Keymaster

    The gallery style is just a general label, the actual plugin styles are inside the sidebar menu:  If you had CSS added it would be what you added  in the box under Settings/View (see screenshot for what I am referring to for instance I had selected left for green in this screenshot)

    I.E these are styles that are included and each one has a description of what they effect:

    Under Settings/View under Gallery

    On the inside slide bar under view there are names for the various styles, i.e.

    AI Swarm full

    Alphaville

    Bennett

    Bobbitt

    Brewery

    default ((The default Store Locator Plus layout and CSS shipped with the latest release. This is the basic layout for the locator. It allows default browser and website themes to dictate the element styling.

    Supports Premier Search Form Styling options, Experience placeholders without labels.

    Resets the following settings to the initial Store Locator Plus defaults:

    Locator Layout , Search Layout, Results Layout, Map Layout, Bubble Layout, Google Map Style.

    Last Updated: Feb 21 2018))

    If you are changing the results layout in the results layout itself it may be overridden the next time. You should save any CSS under the Settings/CSS and use a plugin style that allows for CSS such as Metropolis

    when you view the various styles (from the inside slide bar) there will be a description that explains the layout results you can expect to see. (themes can override them as well)

    Example” Metropolis styling attempts to overcome the vast differences in class.   Takes over more of the CSS styling than usual.

     

    This style is updated with additional rules on a regular basis whenever someone reports a misbehaving layout.   Select another style, then re-select this style to reload the latest rules.

     

    Style Guide: right pad 2em, vertical margin 1em, result line height: 1.5em

     

    2017-Nov-23 : right pad on span.slp_result_email/fax/phone/website, single line on span.slp_result_street/street2/citystatezip/country/hours, vertical margin below country and above hours, drops Foundation float:right on div[class*=”column”]

     

     

    Attachments:
    You must be logged in to view attached files.
    #58963
    imagei
    Participant

    Thanks for the reply Cici

    Its not really the styling that I am concerned with here – hence not so concerned with the CSS and the styles.

    I was looking for some documentation on the [ifset] attribute of the shortcode.

    #58972
    Cici
    Keymaster

    I think we answered this in conjunction with the question regarding if you are using  SEO pages or not. If you are not using SEO Pages the website link automatically does not show up if there is not one for the location. But once you enable pages that does not behave the same because each “website” will go to SEO page instead. Its all in at that point. Because of your other questions, comments and request for info we assume you are using SEO Pages or a Directory.

    #58976
    imagei
    Participant

    OK Cici

    I see. Its not possible for a Location to have their own website and an SEO page.
    That’s the way it is.

    Thank you for your help.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Hiding Website in Results if no website set’ is closed to new replies.