Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #544649

    http://173.254.96.214/~ronspubh

    I have the events calendar on http://173.254.96.214/~ronspubh/events/

    I have the blog page at http://173.254.96.214/~ronspubh/news/

    I have the setting in The Events Caledar to show events in the main blog roll turned on, but the events are not showing on my blog page. I checked with Modern Tribe, and they said:

    It could be that is not a main query as defined by WordPress and just a custom loop. If you change to another theme like Twenty Fourteen to events show then?

    I changed to 2015 and the events did indeed show in the blog page, so this is an issue with the Enfold theme that is preventing this function from working. Is there something you can do, or recommend that I do, to fix this problem?

    Thanks,
    Rob

    #546725

    Hi robphat!

    Yes, that is correct, it is because the query is custom.
    Are you usinng an ALB element to load the blog content area?

    Regards,
    Basilis

    #546726

    Hey robphat!

    could you provide us admin access, so we can take a closer look into it? Are we allowed to temporarily deactivate all your plugins? Post login details here as private reply.

    Best regards,
    Andy

    #551217

    Sorry for the late reply, I will send login in private content.

    #553435

    Hey!

    You need to set the blog posts element to display a custom taxonomy. Check the blog page now: http://173.254.96.214/~ronspubh/news/

    Cheers!
    Ismael

    #554633

    Oh. I see what you did, but I want both blog posts and event posts to be on the blog page. How can I do that? It seems like you have to pick one or the other. Is that true, or can I show both?

    #557334

    Hey!

    You can try adding this to your child theme functions.php file but it might have unexpected results.

    function enfold_customization_change_query( $query ) {
          $query->set( 'post_type', 'any' ); 
    }
    add_action( 'pre_get_posts', 'enfold_customization_change_query' );
    

    Best regards,
    Elliott

    • This reply was modified 9 years ago by Elliott.
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.