Tagged: the events calendar
-
AuthorPosts
-
November 30, 2015 at 5:36 pm #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,
RobDecember 3, 2015 at 10:55 pm #546725Hi 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,
BasilisDecember 3, 2015 at 10:57 pm #546726Hey 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,
AndyDecember 11, 2015 at 6:04 pm #551217Sorry for the late reply, I will send login in private content.
December 16, 2015 at 4:13 am #553435Hey!
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!
IsmaelDecember 17, 2015 at 8:29 pm #554633Oh. 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?
December 24, 2015 at 4:28 am #557334Hey!
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 8 years, 11 months ago by Elliott.
-
AuthorPosts
- You must be logged in to reply to this topic.