這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

noindex Past Events for The Events Calendar

描述

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.

評價

2018年3月5日
Thanks for this. Ended up just extracting a function from your work so I can noindex all events.
閱讀全部1個評價

貢獻者及開發者

“noindex Past Events for The Events Calendar” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

修改日誌

1.2.4 – 2021.12.16

  • Modified plugin title to make clear that it is specifically for use with Modern Tribe’s The Events Calendar plugin.
  • Updated “Tested up to” to 5.8.2.

1.2.3 – 2021.09.20

  • Switched check for past events to using wp_date() (if it’s available) instead of date().
  • Updated logo/icon assets.
  • Updated “Tested up to” to 5.8.1.
  • Reformatted changelog.

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.