Support

Home Forums Event Espresso Premium Custom Post Types Reply To: Custom Post Types

Reply To: Custom Post Types

Author Replies
Tony # Posted on April 27, 2018 at 10:17 am

Then you want a snippet like this: https://github.com/eventespresso/ee-code-snippet-library/blob/master/templates/de_ee_filter-events-to-posts.php

Which adds the espresso_events post type to any query for posts.

Add that to your themes functions.php file, or preferably a custom functions plugin:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

Do NOT follow this link or you will be banned from the site!