I’m facing the same problem here. Any solution for this?
Do you have WPML installed?
No, I do not have WPML installed.
can I know what is your current EM version please? also, is this under frontend edit events page or using single events page?
The EM Version is: 5.5.7.1
This is on many pages of the site where I have entered the shortcode into the text editor in WordPress.
Thank you.
Can you post an example of a shortcode that’s not working as expected?
On the hotels page I am using this
[locations_list type="hotel" town="Beaulieu" limit="0" ]
<div><span class="alignleft" style="padding-right: 20px;"><a href="#_LOCATIONURL">#_LOCATIONIMAGE{150,150}</a></span>
<h3><a title="#_LOCATIONNAME" href="#_LOCATIONURL" rel="bookmark">#_LOCATIONNAME</a></h3>
#_LOCATIONEXCERPT
#_LOCATIONADDRESS, #_LOCATIONTOWN, #_LOCATIONPOSTCODE
</div>
[/locations_list]
On the visit page I am using this:
<ul>[locations_list limit="20" type="tourist-attraction" ]<li><a href="#_LOCATIONURL" title="#_LOCATIONNAME" rel="bookmark" itemprop="url">#_LOCATIONNAME</a></li>[/locations_list]</ul>
In both cases, when logged in everything works as expected. When logged out only some of the locations are being displayed. The visit page for example is showing just 2 attractions when not logged in. When logged in there are 16 locations showing.
Sorry, it’s not possible to filter the shortcode with a type attribute.
http://wp-events-plugin.com/documentation/shortcodes/
‘type’ is a custom taxonomy, I created for the location CPT used by EM.
That’s a shame it’s not possible to filter by a custom taxonomy. Strange it works perfectly while logged in.
Thank you
you need custom coding to make this work – http://wp-events-plugin.com/tutorials/creating-custom-event-search-attributes/ (replacing events with location) also, you might need wp_query to make this work
Sure, it looks like I need to fire up my code editor… 😉
Thanks for the help caimin_nwl and angelo!
Hi I’m also seeing this but without any kind of filtering.
The shortcode I’m using is [locations_map width=”100%” height=”500px”] and you can see the result at http://www.clerkenwelldesignquarter.co.uk/map/
When logged in, all the locations appear. When logged out, only the first created location appears.
Any thoughts?
Which version of Events Manager do you have?
Hi it’s Events Manager Version 5.5.7.1 running on WordPress 4.2.2.
The only other plugins running are Jetpack Version 3.5.3 and Content Views Version 1.6.2.1 though I’d be surprised if they’re making a difference.
I’m seeing the same behaviour consistently across browsers and on mobile.
I believe I have worked out that the location shortcode will only work if the location has had or is having an event.
For example:
[locations_map post_id=”6405,6416,6435,6440,6461″ limit=”0″]
Only displays locations which have/or will be having an event. So this is nothing to do with my location custom taxonomy. Again, all locations are shown while logged in. But when not logged in just the locations which have had or are to have an event are displayed.
Any solutions for this, aside from creating events at these locations?