WordPress.org

Ready to get started?Download WordPress

Forums

Seo by Yoast hide/remove for non admins - Tutorial - guide (1 post)

  1. Leonidas
    Member
    Posted 1 year ago #

    Many people search how to remove SEO by Yoast stuff for non admins...So here is full howTo guide...

    Seo by Yoast is probably one of greatest SEO plugins ever made, so this guide leaves you with all functionality but hides stuff for non admins...

    STEP 1: Instal plugin called Adminimize http://wordpress.org/extend/plugins/adminimize/

    STEP 2: In adminimize settings click on WRITE OPTIONS POST and in RIGHT custom field add this: #wpseo_meta

    Repeat this for WRITE OPTIONS PAGES and then click "UPDATE" to save this settings

    STEP 3: After saving settings again go to "WRITE OPTIONS POST" and mark #wpseo_meta - (probably at full bottom of write options settings).
    Repeat this step for WRITE OPTIONS PAGES

    STEP 4:

    In top bar there is also SEO button visible. You can remove this by going to FTP: /wp-content/plugins/wordpress-seo/inc and delete (or custom edit as you see it fit) next section of code:

    $wp_admin_bar->add_menu( array( 'id' => 'wpseo-menu', 'title' => __( 'SEO', 'wordpress-seo' ) . $score, 'href' => $seo_url, ) );
    $wp_admin_bar->add_menu( array( 'parent' => 'wpseo-menu', 'id' => 'wpseo-kwresearch', 'title' => __( 'Keyword Research', 'wordpress-seo' ), '#', ) );
    $wp_admin_bar->add_menu( array( 'parent' => 'wpseo-kwresearch', 'id' => 'wpseo-adwordsexternal', 'title' => __( 'AdWords External', 'wordpress-seo' ), 'href' => 'https://adwords.google.com/select/KeywordToolExternal', 'meta' => array( 'target' => '_blank' ) ) );
    $wp_admin_bar->add_menu( array( 'parent' => 'wpseo-kwresearch', 'id' => 'wpseo-googleinsights', 'title' => __( 'Google Insights', 'wordpress-seo' ), 'href' => 'http://www.google.com/insights/search/#q=' . urlencode( $focuskw ) . '&cmpt=q', 'meta' => array( 'target' => '_blank' ) ) );
    $wp_admin_bar->add_menu( array( 'parent' => 'wpseo-kwresearch', 'id' => 'wpseo-wordtracker', 'title' => __( 'SEO Book', 'wordpress-seo' ), 'href' => 'http://tools.seobook.com/keyword-tools/seobook/?keyword=' . urlencode( $focuskw ), 'meta' => array( 'target' => '_blank' ) ) );

    Hope i've helped someone who searched for this like I did :) Did not find full guide for this so hope not breaking any forum rules.

    Best regards

Topic Closed

This topic has been closed to new replies.

About this Topic