tag page tec_noindex | WordPress.org

[ad_1]

Hi @centoasa,

Thanks for reaching out!

Please add the following PHP snippet into your theme’s functions.php file, or using the Code Snippets plugin:

function custom_remove_noindex() {
  $context = tribe_context();
  if ( $context->is( 'tec_post_type' ) ) {
    add_filter( 'tec_events_add_no_index_meta_tag', '__return_false' );
  }
}

add_filter( 'template_redirect', 'custom_remove_noindex', 999 );

Does it help?

Best regards,
Marta

for now it seems to works well. Let you know is something maybe change…

Thank you so much!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer