Created
February 5, 2018 20:14
-
-
Save barryhughes/4c6a8e6935583090c3cc1ddd052adf72 to your computer and use it in GitHub Desktop.
Stop The Events Calendar from adding "noindex,follow" tags to event views. Use with caution/read up on soft 404s before using.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin name: Remove Events No Index Tag | |
* Description: Prevents The Events Calendar from telling search engines not to index various views | |
*/ | |
apply_filters( 'tribe_events_add_no_index_meta', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment