Home › Forums › Calendar Products › Events Calendar PRO › Events not appearing in Genesis Blog Loop with other posts
- This topic has 12 replies, 2 voices, and was last updated 5 years, 9 months ago by customerpath.
-
AuthorPosts
-
June 19, 2018 at 5:44 pm #1556691customerpathParticipant
Hi,
I’ve had to duplicate events as stand-alone posts as the Events Calendar Pro has not added these events to the blog loop. I’ve added the extension but still, no events are shown.
The posts I’ve manually added are located here: http://109.199.119.244/~localsce/u3a.com.au/2018/05/
June 20, 2018 at 10:06 am #1557373SkyKeymasterHi there!
Thanks for reaching out! I’m sorry to hear that you’re having issues with the events showing up in your main post feed. I will try to help figure out the problem.
Can you tell me what you have set for Events > Settings > “Include events in main blog loop”? This should be checked.
Actually, taking a look at your events page, I don’t see any events. Are you sure there is some future events scheduled, and that they are published? Can you provide a link to one of these events?
Thanks,
SkyJune 20, 2018 at 4:36 pm #1557771customerpathParticipantHi Sky,
We will have to leave this case open for the moment as I have a problem that happened after I noticed the posts were not added to the loop and that is, SiteGround crashed and the site’s is reporting the parent theme is not installed properly.
I’ll get the theme thing fixed and then I’ll get back to you so we can sort out the Calendar Pro plugin.
June 21, 2018 at 10:40 am #1558513SkyKeymasterHi again,
Ok, thanks for the update. Please let me know when you get things back up and running.
Thanks,
SkyJune 26, 2018 at 6:00 pm #1562355customerpathParticipantHi Sky,
The theme issues have been resolved.
I’ve recorded this Loom video to quickly explain the issue and what I’ve done on the site, https://www.useloom.com/share/700fc51289344c1e8e12f7df26102f0c
If we make this case private I’m happy to provide you with the password and username details for the backend admin.
Cheers,
IanJune 27, 2018 at 10:27 am #1562892SkyKeymasterHi Ian!
Thanks for the screencast! That shows everything I needed to know about how you have it set up.
I see that you are using an extension called “main blog loop?” Can you try this without that extension enabled and see if the events show up at all? They may be ordered by the publish date instead of the event date.
I just tried this on my local test install without the extension, and it is working as expected. If disabling that plugin doesn’t help in your case, can you try temporarily switching to the Twenty Seventeen theme and see if that changes anything? It’s possible that your theme may be doing something in a non standard way that prevents it from working properly.
Let me know how that goes!
Thanks,
SkyJune 27, 2018 at 5:05 pm #1563183customerpathParticipantI’ve removed that extension and that didn’t work.
Switching between Genesis and Twenty Seventeen, is that easy? I remember doing this once before and the Genesis child theme was not there to go back to?
June 27, 2018 at 7:10 pm #1563218customerpathParticipantI’ve changed the theme back to Twenty Seventeen and none of the older events from May are showing, only the new event I added this morning.
https://www.useloom.com/share/e7fe62ea41e34ef789b0eeedf0296c28
June 28, 2018 at 7:51 am #1563605SkyKeymasterHi again,
In your video, you are on a page named “blog.” However, the event you reference there is in a widget area, and there is no content or feed showing on the page. The events widget is a completely different thing than the blog feed. It looks like you don’t actually have the page “blog” set as your posts page in the WordPress settings.
I can see your actual posts feed by visiting http://109.199.119.244/~localsce/u3a.com.au/
This is where you should be looking for the events to show up.
Hope that helps! Let me know if you have more questions about this.
Thanks,
SkyJune 28, 2018 at 5:06 pm #1564176customerpathParticipantOk, so my problem is, Genesis is using a widgetised home page. I’ able to show blog posts by creating a page and choosing the blog template but the posts from the Events Calendar Pro plugin are now showing in the blog loop with the other blog posts.
How do I get the events to show on that blog page with the other blog posts that are present there?
June 29, 2018 at 7:33 am #1564470SkyKeymasterHi again,
I’m not sure if understand your question completely. You say that the events are showing in the blog loop, but are asking how to get the events to show there?
Here’s how the built in functionality works:
When enabling “Include events in main blog loop” the events will display in the main blog loop that shows on whatever page you have set in your WordPress Settings under “posts page” or your homepage if set to display “your latest posts.”
If you are creating another page to show posts using a plugin or creating the template manually, you would need to define the desired post types to show within the query. You can read more about custom queries on the WordPress Developer Resources page for the WP_Query class: https://developer.wordpress.org/reference/classes/wp_query/
Let me know if this answers your question.
Thanks,
SkyJune 29, 2018 at 6:05 pm #1564947customerpathParticipantThanks for your reply Nick but I put the same question forward to Genesis in hope that they could help as my deadline for finishing this job is getting closer and they were able to provide the code that has fixed the issue.
By the way, the option to add events to the main blog loop does not work on most Genesis themes but here is the fix if anyone else gets stuck with the same issue.
Genesis Support Response, which was awesome and solved my problem.
>>>>
The Genesis Blog template uses a custom query that won’t be affected by the “include events in main blog loop” setting from The Events Calendar, as you’ve found.
To display events in the blog template, you’d need to filter the custom query to also include the events custom post type. You could add this to News Pro’s functions.php:
add_filter( ‘genesis_custom_loop_args’, ‘custom_include_events’ );
function custom_include_events( $args ) {
if ( is_page_template( ‘page_blog.php’ ) ) {
$args[‘post_type’] = [ ‘post’, ‘tribe_events’ ];
}return $args;
}>>> End Genesis Support Response
July 2, 2018 at 7:24 am #1565874SkyKeymasterHi again,
Glad you were able to find a solution for your problem! Thanks for sharing the code with everyone.
Please let us know if you have any questions or issues in the future.
Thanks,
SkyJuly 24, 2018 at 9:35 am #1582405Support DroidKeymasterHey 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 -
AuthorPosts
- The topic ‘Events not appearing in Genesis Blog Loop with other posts’ is closed to new replies.