Content Archives Setting Affects Event Listing

Home Forums Calendar Products Events Calendar PRO Content Archives Setting Affects Event Listing

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1239188
    Michael
    Participant

    Hello,

    I am trying to limit the blog page to 300 characters per listing. I did so by modifying Content Archives section in the Genesis settings. This works; however, it also affects the events listing page for the Events Calendar plugin. This may be because in the Events Calendar display settings, it is set to use the default page template for the listings. The problem is, I can’t change this for other reasons. How can I get the archives setting to only apply to the blog listings page and not any events? Thanks in advance.

    #1240484
    Hunter
    Moderator

    Hey Michael,

    This might get a little tricky and I’m unfortunately unable to support these types of requests other than providing whatever documentation we have published on the matter, but I’d probably start by using a conditional along the lines of:

    tribe_is_event_query()

    This conditional will essentially check to see if the page is event-related or not and display the code you’ve implemented depending on the results of the conditional’s action. Another route would be to do a template override as explained in our Themer’s Guide.

    Please review our What support is provided for license holders? Knowledgebase article for more information and let me know if you’re able to get things working as you envision. Best of luck and have a great weekend ahead. Cheers!

    #1241225
    Michael
    Participant

    Well, what do ya know. There was already a KB on this that I just didn’t find: https://theeventscalendar.com/knowledgebase/genesis-theme-framework-integration/. The code provided there works perfectly.

    #1242516
    Hunter
    Moderator

    Thank you for the update and sharing your solution! We have so much information, I often times forget or may be unaware of documentation relative to a thread, so I appreciate you sharing that for others to see.

    I’ll close this thread out but feel free to create a new one if you have any more questions. Cheers!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Content Archives Setting Affects Event Listing’ is closed to new replies.