rontarson
Forum Replies Created
-
Removed from line 24 above is this: https://pastebin.com/Hj3rXSgy
I get the categories limited on initial list load, but when I trigger a category search, it will not return values and only refreshes the initial event list again.
All other event search criteria functions correctly as found on my /events/ page so it seems to only be isolated to the category field.
I used jQuery Mobile to create a mobile theme for EM. This was done for this specific site so I don’t have this as a public theme but, you can at least get a feel for what’s possible.
Go to this link on your smartphone. iPhone and Android are best.
https://www.peakvibe.comI’ve tried almost every variation of this but for some reason I cant get it to work.
I can limit the initial events being loaded to specific IDs but search wont work.
Or NOT limit the initial events being loaded and search does work.
One or the other but not both. This one is a head scratcher for me.
Placing at line 24 does correct the search function however, when the list is first loaded, all categories are shown as I’m not limiting it in anyway until running the search and using the specific category IDs.
Still looking to limit the initial event loading to specific category IDs, which I can do but brings me back to the search error as stated in the above posts.
$args['category'] = '6,7,8,10,11,12,13,14';
has the same effect. Its weird though since the pagination displays the correct number of events but the event list is not updated when selecting the specified category from the drop down in my search page.I don’t think I have anything loading into the global but will have to see. I loaded the default events-manager plugin to my other local test site to see what its like from scratch and still showing Edit Event” when selecting Add New button.
Not the end of the world, I will see if I can find a solution. Might be something in my theme causing it.
I show wp_editor() having issues when accessing it from “Front-end management pages” in the settings->other pages. Once you set a page for this, the wp_editor() is limited to HTML only it seems…? If I don’t set a page here, the wp_editor() on front-end entry page using [event_form] works fine. Not sure why.
@Marcus- I have always used the full production versions of EM. Is there a link to the dev versions somewhere? Sorry if I’m just missing it.
Sorry, just saw this post. Using debsch’s solution above does NOT solve the pagination error I’m having on a custom format page, in my case single_location_format.php
Without defining
$args['pagination'] = true;
the pagination wont show at all.The below will show pagination but the linking still is not functioning.
$args['format'] = "<B>#_EVENTLINK</B><br/>"; $args['limit'] = 5; $args['pagination'] = true; echo EM_Events::output( $args );
debsch’s solution may work on templates but does not seem to solve it on custom format pages
As mentioned in another post, I too am having conditional placeholder issues with formats. Mine seems to be centered around the {has_location} holder.
Also, on 5.1.2 my custom formats only seem to work if I copy and paste into the settings page windows. The hooks no longer function –
function my_em_custom_formats( $array ){
The map is linking to WP pages using the EM shortcode for event list. The region buttons are just simply a
foreach
calling out the MySQL region values.Disregard. I ended up just making this
Any update on this? ETA?
Any update on this fix? or ETA?
Ah perfect! Just needed to dig a bit further. Thank you much!