Let Search Engines Index Empty Event Calendar Views
Stops The Events Calendar from adding a noindex tag to calendar pages that currently have no events, useful for seasonal calendars that should stay in search results.
Opens WPIDE on
Code
add_filter( 'tribe_events_add_no_index_meta', '__return_false' );
Notes
Single events and populated views are not affected.
How to add this snippet
- Install WPIDE on your WordPress site (it is free) and open Code Snippets.
- Use snippet above adds it from the library in one click. Or copy the code into a new snippet with the same code type.
- It is added inactive: review the code and settings, then switch it on.