Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter networkwebmasters

    (@networkwebmasters)

    Any Solution?

    There is a filter you can use. For instance, I have this filter I use to remove it on BuddyPress pages with modifications you should be able to get it working.


    /**
    *
    * Removes WordPress SEO Title Filter On BuddyPress Pages
    *
    * @version 4.0.0
    * @since 4.0.0
    *
    */
    if ( ! function_exists( ‘myarcadetheme_remove_bp_wpseo_title’ ) && function_exists( ‘wpseo_auto_load’ ) ) {
    function myarcadetheme_remove_bp_wpseo_title() {
    if ( ! bp_is_blog_page() ) {
    $myarcadetheme_front_end = WPSEO_Frontend::get_instance();
    remove_filter( ‘pre_get_document_title’, array( $myarcadetheme_front_end, ‘title’ ), 15 );
    }
    }
    add_action( ‘init’, ‘myarcadetheme_remove_bp_wpseo_title’ );
    }’

    Thread Starter networkwebmasters

    (@networkwebmasters)

    Thanks Destac ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How To Disable Yoast Seo Titles On Specific CPT’ is closed to new replies.