WordPress.org

Ready to get started?Download WordPress

Forums

All in One SEO Pack
Remove Title, Keywords, Description from Admin Edit Screen (17 posts)

  1. jdku
    Member
    Posted 3 years ago #

    Hi,

    After the update I can see the following on the 'Edit' screen for posts:

    SEO Title SEO Keywords SEO Description

    How can i remove/hide them from this screen as it's not important that i see them here and it's messing with the view.

  2. Ricard Torres
    Member
    Posted 3 years ago #

    Same here plz.

    Could you just add the option to HIDE that columns?

    It makes the "title" column so small.

    Waiting for answer,

    Regards

  3. John
    Member
    Posted 3 years ago #

    Yep, I agree. The title column width is really small and makes the row height really big, messing up with the whole "post edit screen".

  4. jenniferKelly
    Member
    Posted 3 years ago #

    yes, desperate for this option. the titles are so squished that i am surprised this was implemented without an option to turn off. thank you!

  5. jdku
    Member
    Posted 3 years ago #

    Hi All,

    I did actually manage to hide them I just haven't had chance to post, comment out the following lines in the file "all_in_one_seo_pack.php":

    ////////new stuff
    //add_action('quick_edit_custom_box','mys',10,2);
    function mys($col, $type){
     ?>
     <fieldset class="inline-edit-col-right"><div class="inline-edit-col">
         <div class="inline-edit-group">
             <label class="alignleft">
                 <input type="checkbox" value="1" name="aioseops" id="aioseos_check">
                 <span class="checkbox-title">stuff</span>
             </label>
         </div>
     </fieldset>
     <?php
    }
    
    add_action('load-edit.php','addmycolumns',1);
    
    function addmycolumns(){
     $aioseop_options = get_option('aioseop_options');
     $aiosp_posttypecolumns = $aioseop_options['aiosp_posttypecolumns'];
    //print_r($aiosp_posttypecolumns);
    
     if ( !isset($_GET['post_type']) ) $post_type = 'post';
      else    $post_type = $_GET['post_type'];
    
      if(is_array($aiosp_posttypecolumns) && in_array($post_type,$aiosp_posttypecolumns)) {
       if($post_type == 'page'){
        add_action('manage_pages_custom_column', 'aioseop_mrt_pccolumn', 10, 2);
        add_filter('manage_pages_columns', 'aioseop_mrt_pcolumns');
    
       }else{
        add_action('manage_posts_custom_column', 'aioseop_mrt_pccolumn', 10, 2);
        add_filter('manage_posts_columns', 'aioseop_mrt_pcolumns');
        }
       }
      }
    
    function aioseop_mrt_pcolumns($aioseopc) {
        $aioseopc['seotitle'] = __('SEO Title');
        $aioseopc['seokeywords'] = __('SEO Keywords');
        $aioseopc['seodesc'] = __('SEO Description');
        return $aioseopc;
    }
    
    function aioseop_mrt_pccolumn($aioseopcn, $aioseoppi) {
        if( $aioseopcn == 'seotitle' ) {
            echo get_post_meta($aioseoppi,'_aioseop_title',TRUE);
        }
        if( $aioseopcn == 'seokeywords' ) {
            echo get_post_meta($aioseoppi,'_aioseop_keywords',TRUE);
        }
        if( $aioseopcn == 'seodesc' ) {
            echo get_post_meta($aioseoppi,'_aioseop_description',TRUE);
        }
    }
    ///////end new stuff
  6. jenniferKelly
    Member
    Posted 3 years ago #

    oh perfect. my post and page dashboard is back to normal again! thank you so much for sharing! i love this plugin, so i'm happy that everything else is back to normal again! thank you!

  7. Ricard Torres
    Member
    Posted 3 years ago #

    I think I'm gona wait for release (if it never comes :? )

  8. -JFK-
    Member
    Posted 3 years ago #

    Thank you jdku!

    My ADMIN screen is a MESS with all my keywords displaying.

    I would like a checkbox to turn this one/off on All in One SEO settings screen, but need a fix now... so I'm gonna hack code until it's there.

    Hopefully developer follows these threads.

    -=JFK=-

  9. fanvid
    Member
    Posted 3 years ago #

    yeah it sucks i kinda am starting to dislike the all in one seo pack more and more, they keep pushing stuff, like the automatic disable and an abuse of promo, still you can take those idiotic seo title seo keywords things, when you are on the edit page, check on the top for the "screen options" its there to enable or disable, like in the dashboard (for enabling and disabling dashboard widgets) :\

  10. techgodown
    Member
    Posted 3 years ago #

  11. evilbrummiegit
    Member
    Posted 3 years ago #

    Commenting out the code doesn't work for me.

    techgodown, I think you might be missing the point for many users. For use as a CMS, it's often inappropriate to have those options for the average Joe - it's just confusing. It seems almost every plugin you add in wants to force a bunch of rubbish onto the posts panel... it just makes it difficult for people to use. And creating a tutorial telling them to uncheck the display options is not the ideal solution!! You should be able to disable it for all users out of the box.

    I just want something that will auto-generate the meta-info and not be in users' faces all the time.

  12. Ricard Torres
    Member
    Posted 3 years ago #

    @evilbrummiegit just read what @techgodown posted.

    You can hide the columns from the "screen options" tab at the top.

    Regards

  13. evilbrummiegit
    Member
    Posted 3 years ago #

    In the end I went with FV All in One SEO Pack. It had an an annoying box too, so I slipped a display: none into the CSS:

    #fvsimplerseopack { display: none; }

    Just do a ctrl+F for "fvsimplerseopack" in the plugin code and slip that bad boy in, bingo, no annoying input field.

  14. evilbrummiegit
    Member
    Posted 3 years ago #

    @ quicoto, I didn't want to remove the box for my own benefit. I want to force my users not to be able to use it.

  15. FolioVision
    Member
    Posted 3 years ago #

    Hi evilbrummiegit,

    Glad FV All in One SEO Pack worked for you. We work very hard on maintaining a minimalist interface for all our plugins without annoying extras. The code behind the scenes for FV All in One SEO Pack is a lot cleaner and more resilient than the Semper Fi version.

    For future reference, support for our FV plugins is on our own site. In this case at FV All in One SEO.

    Thanks for trying Foliovision's FV plugins!

    Making the web work for you, Alec Kinnear

  16. ewolram
    Member
    Posted 3 years ago #

    The code by jdku is already in latest AIOSEO but when using IE8, post screen options is still not saving my settings (ie. untick SEO options). So I tried saving in Firefox and it worked. Same solution worked on my Dynamic Content Gallery plugin!

  17. JeffreyvanHam
    Member
    Posted 3 years ago #

    Download WP Global Screen Options plugin

    Find this code in wp-global-screen-options/wp_global_screen_options.php:

    $wpglobalscreenoptions_post = array('categorydiv' => 'Categories', 'tagsdiv-post_tag' => 'Tags', 'postexcerpt' => 'Excerpt', 'trackbacksdiv' => 'Trackbacks', 'postcustom' => 'Custom Fields', 'commentstatusdiv' => 'Discussion', 'slugdiv' => 'Slug', 'authordiv' => 'Author');

    Replace it with:
    $wpglobalscreenoptions_post = array('aiosp' => 'All in One Seo Pack', 'categorydiv' => 'Categories', 'tagsdiv-post_tag' => 'Tags', 'postexcerpt' => 'Excerpt', 'trackbacksdiv' => 'Trackbacks', 'postcustom' => 'Custom Fields', 'commentstatusdiv' => 'Discussion', 'slugdiv' => 'Slug', 'authordiv' => 'Author');

    All i did was add:
    'aiosp' => 'All in One Seo Pack',

    Now go to the WP Global Screen Options Page and check the All in one seo checkbox.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic