Greg Cole

Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • in reply to: Category Colors filtering #1340544
    Greg Cole
    Participant

    I 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!

    in reply to: Category Colors filtering #1340526
    Greg Cole
    Participant

    Hmmm… 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.

    in reply to: Category Colors filtering #1340525
    Greg Cole
    Participant

    Thank 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?

    Greg Cole
    Participant

    Thanks – that makes sense… Hopefully the memory issue with the Countdown Widget can be resolved in future releases. Cheers!

    Greg Cole
    Participant

    Adding the above code has restored access and improved load time considerably for the widget page. Looks like Countdown Widget is the issue…

    in reply to: Incompatibilities with Avada theme #150568
    Greg Cole
    Participant

    Yes – we can proceed in the EC Pro topic only. Cheers!

    Greg Cole
    Participant

    I 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!

    Greg Cole
    Participant

    I 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 Countdown

    Fatal 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.

Viewing 8 posts - 1 through 8 (of 8 total)