- February 28, 2019 at 12:28 PM #58837
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.
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?
ThanksFebruary 28, 2019 at 5:54 PM #58844
Are using SEO Pages and the Pages replaces weblink setting?
What are you using for the Plugin style under view?March 2, 2019 at 2:41 PM #58859
I’m using ‘A Gallery Style’ and looks like the layout code is not customised.
[slp_option name=”search_box_title” ifset=”div”]
[slp_option name=”results_box_title” ifset=”div”]
I’ve attached a screenshot of the SLP > Settings > Results > Results Layout HTML that I want improve.
Attachments:You must be logged in to view attached files.March 6, 2019 at 1:59 PM #58897
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
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.March 15, 2019 at 5:07 AM #58963
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.March 16, 2019 at 4:50 PM #58972
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.March 18, 2019 at 5:12 AM #58976
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.
The topic ‘Hiding Website in Results if no website set’ is closed to new replies.