noindex Past Events

Descrizione

This plugin is an add-on for Modern Tribe’s The Events Calendar plugin. It adds a “noindex” meta tag to the individual detail pages for events after their end date has passed, to prevent them from appearing in search engines like Google or Bing.

Note that this only takes effect the next time a search engine indexes your site, so past events may still appear in search results for a few days.

Recensioni

5 Marzo 2018
Thanks for this. Ended up just extracting a function from your work so I can noindex all events.
Leggi la recensione di 1

Crediti e riconoscimenti

“noindex Past Events” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

Traduci “noindex Past Events” nella tua lingua.

Ti interessa lo sviluppo?

Esplora il Codice segui il Repository SVN iscriviti al Log delle Modifiche. Puoi farlo tramite RSS con un lettore di feed.

Changelog (registro delle modifiche)

1.2.2

Removed priority from add_action(‘pre_get_posts’, ‘r34npe_search_exclude’); because it wasn’t working.

1.2.1

Switched time() to current_time() to account for WP time zone handling.

1.2.0

Added logic to exclude past events from WP search results.

1.1.0.1

Updated “Tested up to” to 4.7.

1.1.0

Added admin message if The Events Calendar plugin is not activated.

1.0.0

Initial release in WordPress Plugin Directory.