Support

Home Forums Event Espresso Premium Sitemaps

Sitemaps

Posted: March 1, 2016 at 4:25 pm


dee4dogs

March 1, 2016 at 4:25 pm

Hi guys.

Latest version of EE & WP.

Looked at the Jetpack sitemap, and it has pages & posts… but nothing from EE. I thought I read that EE4 was all setup to work with sitemaps.

I’ve read this page – https://jetpack.me/support/sitemaps/

But it doesn’t really help me…. not sure what I need to write or where.

Any hints?

Thank you.
Dan


Josh

  • Support Staff

March 1, 2016 at 6:04 pm

Hi Dan,

The documentation there mentions the filter that you can use to add more post types, but it doesn’t exactly show how to use the filter. Here’s a link to a forum post from wordpress.org that shows an example of how to use the filter:

https://wordpress.org/support/topic/info-for-jetpack_sitemap_post_types#post-7945384

In the above example, where it has this:

$post_types[] = 'your_post_type';

you change it to this in order to include Event Espresso events:

$post_types[] = 'espresso_events';

The support post ‘Sitemaps’ 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