Support

Home Forums Event Espresso Premium include events in homepage cateory on homepage

include events in homepage cateory on homepage

Posted: September 20, 2016 at 7:10 am

Viewing 3 reply threads


NCJWGRS

September 20, 2016 at 7:10 am

My site has a homepage which displays recent posts. I’d like events I’ve created with Event Espresso 4 and categorized as homepage to appear in that list. How can I get them to appear? The category list I see when I create an event seems not to be the same category list as for a post, which I suppose is because the events are a special post type. I feel sure this is possible. Can you help?


Josh

  • Support Staff

September 21, 2016 at 10:30 am

Hi there,

This sounds like something that would need to be customized in the specific WordPress theme that you are using, because the theme will have a specific query to pull posts for the homepage. Is there a place where we can download a copy of your WordPress theme?


NCJWGRS

October 5, 2016 at 5:47 pm

The theme I’m using is the free version of Travelify by Colorlib.
https://colorlib.com/wp/themes/travelify/


Josh

  • Support Staff

October 6, 2016 at 5:13 pm

Thanks for the link. To make this possible, you can add some code to a functions file on your site. Here’s the example code:

https://gist.github.com/joshfeck/4492d455caad61cc5d2b5f337cf42fe0

You can add the above to a functions plugin or into your WordPress child theme’s functions.php file.

Viewing 3 reply threads

The support post ‘include events in homepage cateory on homepage’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso