Genesis issue code in docs not working

Home Forums Calendar Products Events Calendar PRO Genesis issue code in docs not working

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1271413
    Brian
    Participant

    I’m experiencing the issue described in the documentation on the following page:

    Genesis Framework & Event Submissions

    However, with the code outlined in that first snippet in place in my functions.php file my primary Events page still looks like an excerpt. I’m using ECP and set a breakpoint in the first if statement and can see that it’s firing correctly but there must be something wrong with the hooks. Is get_header still the right hook to be using? The site I’m working on is using Genesis version 2.4.2 (which should be the latest) and the latest versions of Events Calendar/Events Calendar Pro and WordPress.

    #1271441
    Brian
    Participant

    I’m going to leave this open in case there is a better solution but after digging through the Genesis code putting this within the if statement seems to be working on my end:

    remove_action( 'genesis_entry_content', 'genesis_do_post_content' );
    remove_action( 'genesis_post_content', 'genesis_do_post_content' );
    add_action( 'genesis_post_content', 'the_content', 15 );
    #1271442
    Cliff
    Member

    Hi, Brian. Thanks for your thorough request and posting what worked for you.

    I asked one of our developers to take a closer look for you, but I’m glad to hear you’ve got things sorted for now.

    We’ll post an update here if we have anything to add to help improve your code.

    #1272318
    Cliff
    Member

    After testing, all works as expected in our testing with the latest of all our plugins, Genesis, and WP.

    Might there be other hooks or plugins or child-theme-specific issues at play on your site that could be causing things to not work well?

    #1283093
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Genesis issue code in docs not working’ is closed to new replies.