WordPress.org

Ready to get started?Download WordPress

Forums

Biggest Frustration with WordPress... The unwanted fields! (6 posts)

  1. Travis Pflanz
    Member
    Posted 2 years ago #

    Ok, before I throw my WordPress website at the wall (wish it were actually possible!), I am starting to get very frustrated with all the unnecessary fields/boxes/menus/dashboard widgets/admin bar items created everywhere on WordPress, with absolutely no feasible way to "hide" them from users who do not need them.

    Notice I said hide. It seems that all the plugins/methods I find completely disable or remove fields.

    Simply, every plugin I seem to install adds a field or box on the new post page and/or the user profile... It is getting really difficult to keep everything streamlined for my Authors. I only want them to see the things they need and NOTHING else. That being said, there are some of these fields/boxes/features/functions I still need as the Administrator.

    Right now, it seems I use more plugins and functions.php code snippets to hide things from users, remove unwanted features and brand the website than the number of plugins I actually use.

    Plugins/code I use to hide items from other users:
    Admin Menu Editor (modify admin menu) - http://wordpress.org/extend/plugins/admin-menu-editor/
    Dashboard Commander (display/hide items on admin dashboard)- http://wordpress.org/extend/plugins/dashboard-commander/
    Akismet (remove comment spam) - http://wordpress.org/extend/plugins/jetpack/
    Hide Trackbacks (hide trackbacks in comments) - http://wordpress.org/extend/plugins/hide-trackbacks/
    IM8 Box Hide (remove -not hide- meta boxes from "new post" and "new page") - http://wordpress.org/extend/plugins/im8-box-hide/
    No Self Pings (stop wordpress from sending pings to your own webstie when you link to your own content) - http://wordpress.org/extend/plugins/no-self-ping/
    Restrict Categories (block user groups from posting to certain categories) - http://wordpress.org/extend/plugins/restrict-categories/
    SB Welcome Email Editor (change the content and layout of many default wordpress emails) - http://wordpress.org/extend/plugins/welcome-email-editor/
    Impostercide (prevent users from adding a comment using an already registered email address) - http://wordpress.org/extend/plugins/impostercide/
    Peter's Collaboration E-mails (send an email to admins/editors when a post is submitted for review) - http://wordpress.org/extend/plugins/peters-collaboration-e-mails/
    Peter's Post Notes (allows admins/editors to tell users why their posts were not published) - http://wordpress.org/extend/plugins/peters-post-notes/
    Regenerate Thumbnails (allows you to resize all the images in your media library when you change your theme, so images can actually fit the space they will be used in) - http://wordpress.org/extend/plugins/regenerate-thumbnails/
    Subscribe To Comments (allow readers to be notified when someone replies to their comment on your website) - http://wordpress.org/extend/plugins/subscribe-to-comments/
    User Avatar (what's the point of a profile if there is no image to go with it?) - http://wordpress.org/extend/plugins/user-avatar/
    Verve Meta Boxes (easily add meta boxes to your "new post" page) - http://wordpress.org/extend/plugins/verve-meta-boxes/
    Visual Biography Editor (allow more than simple test in the user biography) - http://wordpress.org/extend/plugins/visual-biography-editor/
    Weasel's HTML Bios (stop wordpress from stripping away the HTML code added to a user profile) - http://wordpress.org/extend/plugins/weasels-html-bios/
    WordPress Admin Bar Improved (add and remove items from the top admin bar) - http://wordpress.org/extend/plugins/wordpress-admin-bar-improved/
    WP Biographia (easily display a user profile and social links below each post) - http://wordpress.org/extend/plugins/wp-biographia/
    WP No Category Base - WPML compatible (remove the /category/ base from the post url) - http://wordpress.org/extend/plugins/no-category-base-wpml/
    WP No Tags Base (remove the /tags/ base from the post url) - http://wordpress.org/extend/plugins/wp-no-tag-base/
    WyPiekacz (require and limit number of tags and categories for a post. require a featured image. set a min/max length for posts and more) - http://wordpress.org/extend/plugins/wypiekacz/
    Remove "from url" tab in media -

    function remove_media_library_tab($tabs) {
        if (isset($_REQUEST['post_id'])) {
            $post_type = get_post_type($_REQUEST['post_id']);
            if ('post' == $post_type)
                unset($tabs['type_url']);
        }
        return $tabs;
    }
    add_filter('media_upload_tabs', 'remove_media_library_tab');

    Add a default-gravatar to options -

    if ( !function_exists('fb_addgravatar') ) {
    	function fb_addgravatar( $avatar_defaults ) {
    		$myavatar = get_bloginfo('template_directory') . '/images/my_default_user_image.png';
    		$avatar_defaults[$myavatar] = 'Crown Crazed';
    		return $avatar_defaults;
    	}
    	add_filter( 'avatar_defaults', 'fb_addgravatar' );
    }

    Add/remove contact info to user profile page -

    function extra_contact_info($contactmethods) {
        unset($contactmethods['aim']);
        unset($contactmethods['yim']);
        unset($contactmethods['jabber']);
        $contactmethods['facebook'] = 'Facebook';
        $contactmethods['twitter'] = 'Twitter';
        $contactmethods['linkedin'] = 'LinkedIn';
    
        return $contactmethods;
    }
    add_filter('user_contactmethods', 'extra_contact_info');

    Post Thumbnail added to RSS Feed -

    function rss_post_thumbnail($content) {
      	global $post;
       	if(has_post_thumbnail($post->ID)) {
       	    	$content = '<p>' . get_the_post_thumbnail($post->ID) .
       	    	   	   '</p>' . get_the_content();
       	}
       	return $content;
    }
    add_filter('the_excerpt_rss', 'rss_post_thumbnail');
    add_filter('the_content_feed', 'rss_post_thumbnail');

    Hide slugs meta box from "new post" and "new page" (NOTE: Hides slugs from all users, however the slug will still update when a title is changed)

    function hide_all_slugs() {
    global $post;
    $hide_slugs = "<style type=\"text/css\"> #slugdiv, #edit-slug-box { display: none; }</style>";
    print($hide_slugs);
    }
    add_action( 'admin_head', 'hide_all_slugs'  );

    Hide discussion meta boxes from "new post" and "new page" (still allows comments to be allowed. Hidden from all users)

    function hide_all_discussion() {
    global $post;
    $hide_discussion = "<style type=\"text/css\"> #commentstatusdiv { display: none !important; }</style>";
    print($hide_discussion);
    }
    add_action( 'admin_head', 'hide_all_discussion'  );
    
    Replace the WordPress version number in the footer of the admin area (Notice, I am replacing it with "nothing") -
    add_filter( 'update_footer', 'my_footer_version', 11 );
    
    function my_footer_version() {
        return '';
    }

    Change footer on the bottom left of the admin area -

    function wpse_edit_footer()
    {
        add_filter( 'admin_footer_text', 'wpse_edit_text', 11 );
    }
    
    function wpse_edit_text($content) {
        return 'Crown Crazed is a <a href="http://webworksofkc.com" title="Websites for small business">WebWorks of KC</a> website.';
    }
    add_action( 'admin_init', 'wpse_edit_footer' );

    Change the logo on the login page -

    function my_custom_login_logo() {
        echo '<style type="text/css">
        h1 a { background-image:url('.get_bloginfo('template_directory').'/css/crown_crazed_login.png) !important; }
        </style>';
        }
        add_action('login_head', 'my_custom_login_logo');
    
        // changing the login page URL
        function put_my_url(){
        return ('http://crowncrazed.com.com/'); // putting my URL in place of the WordPress one
        }
        add_filter('login_headerurl', 'put_my_url');

    Change the login page URL hover text -
    `function put_my_title(){
    return ('Crown Crazed: Kansas City Royals News & Blog');
    }
    add_filter('login_headertitle', 'put_my_title');`

    Combine post and custom post types in archives -

    function any_ptype_on_cat($request) {
     if ( isset($request['category_name']) )
      $request['post_type'] = 'any';
    
     return $request;
    }
    add_filter('request', 'any_ptype_on_cat');

    Allow HTML in excerpt (by default, WordPress strips the HTML from excerpts)- http://pastebin.com/L7eQvQdY

    PLEASE let me know some of the methods you use or suggestions to improve the methods I am currently using.

    If nothing else, maybe this thread can become a nice collection of "How do I get rid of or change __________ on WordPress?" plugins and code.

  2. Travis Pflanz
    Member
    Posted 2 years ago #

    Mods may strip out the code, hopefully not... This is a fairly extensive list for completing some basic tasks that NEED to be implemented directly into WordPress

  3. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Can you please move the last block of code into pastebin? The maximum number of lines of code that you can post in these forums is ten lines.

    some basic tasks that NEED to be implemented directly into WordPress

    To suit your needs, perhaps. But to suit the needs of every one of the millions of WordPress users? I don't think so. This is the common downside of any multi-purpose application. It always has more in it than you need but the very bits you would remove are vital for someone else.

  4. Travis Pflanz
    Member
    Posted 2 years ago #

    A lot of the above items add as well.

    I understand your point, but certain things just make sense to go together, like the ability to submit a post to be reviewed (built in), but the system does not notify anyone to review it.

    No way to change the login page from the admin section. That seems like a common sense one to me.

    HTML in excerpt... When I started out, I thought I was really screwing something up when links were not displayed on the homepage in the excerpt.

    Self-pings and trackbacks in comments? - That should definitely be a settings checkbox.

    Emails - Modification here seems like another no-brainer.

    Profile fields - Why should WordPress get to choose which social media options are the most important... Then NOT include Facebook and Twitter, really?

  5. Travis Pflanz
    Member
    Posted 2 years ago #

    Sorry for the rant... I'm just getting frustrated that my new site is close to complete and I had everything the way looking I wanted, then I install a final few plugins (one being Jetpack), now I have many more things to "hide".

    esmi - Do you have any suggestions for hiding without disabling?

    Also, you replied to one of my posts last week, but never responded to my reply (http://wordpress.org/support/topic/set-minimum-height-and-width-for-featured-image)

  6. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Do you have any suggestions for hiding without disabling?

    To be honest, it's not something I've really played with a great deal. Thus far, I've been able to "hide" things from users by limiting their roles. Perhaps something like a role management plugin might help you?

    but never responded to my reply

    Sorry - I'll have a look at it now. These forums aren't exactly conducive to following up topics after about 24 hours or so if (like me) you tend to be involved in 60+ topics per day.

Topic Closed

This topic has been closed to new replies.

About this Topic