- March 2, 2016 at 3:52 PM #39195
I am having trouble getting a page with the locations listing and map from working properly. Attached is my plugins environment screenshot.
The code I am using is [SLPLUS only_with_tag=”socal”] and I have one loacation tagged with “socal”. Tag Input Option is also turned on in map settings.
I have been following the directions on this page, but I can’t get the map to limit down at all.
It will only show all locations, not a limited set. Other settings tested include limiting by city and by category. I tried using hide_map,to make sure attributes were working, and that had the intended effect.
Any help or advice would be appreciated.
Attachments:You must be logged in to view attached files.March 6, 2016 at 3:16 PM #39298
Check your Enhanced Results ranked settings, if you have anything like Rank first then closest it will take precedence, also check your settings under the radius for results (show at start up or after search)March 7, 2016 at 10:29 AM #39315
Order Results By in Enhanced Results is Closest..Furthest.
At Startup, number to show initially is 50 and radius to searchinitially defaults itself to 10,000. After search, Max Search Results is 50.
Attachments:You must be logged in to view attached files.March 7, 2016 at 4:11 PM #39339
I may have misunderstood your question: Is you issue on the individual (Store) Pages that are created or the initial start on map? Are you using Pages shortcodes: i.e. storepage field= ” ” as shown in the documentation for Pages Pages template?.
What goal are you trying to accomplish?March 7, 2016 at 4:20 PM #39340
We have one locations page that displays a map as well as the list of locations. What we are trying to do is setup a second locations page specifically for a subset of stores, those in Southern California. For testing, I tagged one of the locations with the tag “socal”. Eventually, all socal locations will have that tag and appear on the Southern California page.
Using the SLPLUS shortcode with the only_with_tag attribute, I am attempting to get the map and list of locations on the Southern California page to display only that subset of stores. Instead, it is displaying all stores, just like the normal locations page.
Here is the code I am using to call the locations for the Southern California page:
What I expect it to look like right now is a map with one marker, and one location listed below, which is the only location I have yet tagged with “socal”.
Does this make more sense?March 7, 2016 at 5:21 PM #39347
The question is: , are you using the Add on called Pages and trying to use SLPUS only with shortcode as well ?
You should be able to use shortcodes on store pages BUT…Just don’t try to put the normal [slplus] on there… it will fight with itself. If you turn off Pages you can use the shortcode SLPUS only with category…I am not sure you understand how pages is intended to work. You should watch the Introduction to Store Pages and How to Set up Pages to understand how it works with WP and how it works dynamically.
The developer suggests:March 8, 2016 at 9:00 AM #39357
Thanks, that makes a lot more sense. Sorry, this is a site I inherited, so much of this is a new to me.March 8, 2016 at 7:25 PM #39397
I figured you inherited it. Pages is not the easiest to understand of all the add-ons, it is more complex. I still have questions that I need to vet to the developer. You might want to view some of the tutorial videos. I seem to comprehend better when watching them, (most of the time)
The topic ‘Trouble with map limiting to tag’ is closed to new replies.