Forum Replies Created
-
AuthorPosts
-
Greg Cole
ParticipantI made a work-around by using ACF Pro taxonomy fields. I set the field to be shown on my individual calendar pages, and then selected the event categories I wanted to filter for on that page. Then, in the custom legend.php file I added to my child theme I used in_array to filter the categories displayed based on those items I had designated for that specific page.
Not as clean as it could/should be, but t works.
Cheers!
Greg Cole
ParticipantHmmm… just tried a shortcode with multiple categories and it does not seem to work at all:
[tribe_events categories=”bible-6, lang-arts-6, math-6, science-6, soc-studies-6, spanish-6″] returns all events.
Greg Cole
ParticipantThank you – using multiple categories affects the view as needed, but that does not affect the display of the categories in the Category Colors add-on. While I understand you do not provide support for third-party plug-ins, I was simply telling you why I was seeking the information in hopes you had encountered a similar issue.
What I need to know is if there is any utility/function to be able to pull the category/categories used in the shortcode for the current view?
If I use [tribe_events category=”test”], is there any way for me to programmatically determine that the current view/page is using “test” as the category filter?
May 6, 2014 at 7:12 am in reply to: Sidebar locations missing in admin with EC Pro activated #151652Greg Cole
ParticipantThanks – that makes sense… Hopefully the memory issue with the Countdown Widget can be resolved in future releases. Cheers!
May 5, 2014 at 11:15 am in reply to: Sidebar locations missing in admin with EC Pro activated #150574Greg Cole
ParticipantAdding the above code has restored access and improved load time considerably for the widget page. Looks like Countdown Widget is the issue…
Greg Cole
ParticipantYes – we can proceed in the EC Pro topic only. Cheers!
May 5, 2014 at 11:10 am in reply to: Sidebar locations missing in admin with EC Pro activated #150566Greg Cole
ParticipantI no longer see duplicates, but there were still a large number of recurring events (church site – many events are recurring each week like service times, ministry meetings, etc). I changed the default settings for recurring events to remove events older than 3 months and only create recurring events 12 months in the future – then edsited/re-saved all recurring events. This changed my total number of events to around 1250 and the widget area is again loading. This does appear to be tied to the countdown widget – the widget screen ‘freezes’ after that widget is displayed and the error returned on the customize screen points to that as well. I’ll add the code above, but would like to know how the plug-in can be better optimized to avoid such issues in the future. Also, how do we update recurring events in the future, after the 12 months is up? Do we edit each event and set new end dates?
Cheers!
May 2, 2014 at 9:57 pm in reply to: Sidebar locations missing in admin with EC Pro activated #148671Greg Cole
ParticipantI found the hotfix plug-in issue and ran it to remove duplicate recurring events added by the update. It ran for quite a bit, then had my events paired down to around 2300 total. I went to the widgets admin area and the widget locations did load (slowly). I then clicked on Appearance >> Customize and now get the following error:
Edit Add Events Countdown
Events CountdownFatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 64 bytes) in /home/mesabcc/public_html/wp-includes/meta.php on line 781
Going back to the Appearance >> Widgets page is once again blank. No new events have been added. Clearing cache does nothing. Need help with getting this plug-in stable for production.
-
AuthorPosts
