WordPress.org

Ready to get started?Download WordPress

Forums

Improve Visibility of Screen Options tab (20 posts)

  1. kjodle
    Member
    Posted 2 years ago #

    I work with a lot of people who don't what the "Screen Options" tab does, or often that it even exists. There are many important entities there, some included by WordPress and others included by the theme.

    It would be nice if this area were more prominent (i.e., is more noticeable) and had a more descriptive name. A colleague of mine recommended "Additional Options", which I think is far more descriptive than "Screen Options."

    It would also be nice if those elements supported by WordPress were separate from those added by the theme. It might help users with debugging.

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    But they're often not additional options. On the Edit Post page, for example, Screen Options controls exactly what you see (and don't see) on the page.

  3. kjodle
    Member
    Posted 2 years ago #

    Point taken. However, the problem with the name "Screen Options" is that is has something to do with brightness and contrast or color settings than what it actually does.

    Even if the name is kept, it would still be nice to make it more prominent, however.

  4. esmi
    Forum Moderator
    Posted 2 years ago #

    Do you mean prominent visually or semantically?

  5. kjodle
    Member
    Posted 2 years ago #

    Visually. I confess I'm not quite sure what you mean by more prominent semantically.

  6. michael.mariart
    Member
    Posted 2 years ago #

    kjodle, "sematically" basically means "in context" for want of an easier explanation. It means that whatever it is should fit in with how ever it's used.

    Changing this label sematically would mean changing it to something like "Page Display" or "Page Settings". This might be more along the lines of you're suggestion.

    Personally, I don't really mind how it is. The only people that I know hav eever needed to use that are the more power-users that actually knew what they were doing. Everyone else just ignored it evne if they found it becuase they just didn't know why they'd need to do anything with it.

  7. esmi
    Forum Moderator
    Posted 2 years ago #

    Changing this label sematically would mean changing it to something like "Page Display" or "Page Settings".

    Actually, I meant in terms of the markup so that different kinds of user agents give it the appropriate priority needed. :-)

    From a visual perspective, it's always going to be comprising between making it stand out (in a pretty cluttered environment) yet ensuring that it doesn't become too distracting. Change the wording to "Page Display" or "Page Settings" and I can absolutely guarantee that some people will think that it affects the display of their site's front-end pages.

    If it does need changing (and I have to admit that I personally don't think it does), then I think the best approach is to look at popular software applications like Word etc and see how they handle similar situations. Then perhaps we can re-use "learnt behaviours" to make the Screen Options more obvious in terms of wording or visual presentation.

  8. kjodle
    Member
    Posted 2 years ago #

    From a visual perspective, it's always going to be comprising between making it stand out (in a pretty cluttered environment) yet ensuring that it doesn't become too distracting.

    Agreed. I wrote a plugin that will highlight it for new or unfamiliar users.

    Then perhaps we can re-use "learnt behaviours"

    Good idea. There's no need to reinvent the wheel. (I don't use Word, but OpenOffice just calls them "Options".)

    Thanks for the thoughts to chew on. Always appreciated! :)

  9. Claverhouse
    Member
    Posted 2 years ago #

    The suggestion is a good one. People who've got accustomed to a product through long use generally don't consider those who use it infrequently or who are completely new. Most people don't immediately grasp everything, nor wish to read a help manual for each element.

    Whilst those with a longer, but scarcely intense, experience just get used to odd elements without ever considering exploring them. I once asked here how to go back to a full display on the Plugins page, rather than having it split up into many pages. A few weeks later, by luck, I found this could be set by 'Screen Options', which before and since, I had no need to explore.

  10. kjodle
    Member
    Posted 2 years ago #

    Most people don't immediately grasp everything

    Yes. I have had to tell people where Screen Options are (and that they even exist) so many times I ended up writing a tutorial about it:

    http://blog.kjodle.net/2012/06/04/use-wordpress-screen-options-to-expand-your-blogging-options/

    Like I said, I did write a plugin that makes it more noticeable, so I'll upload that in a couple of days when I get more time.

  11. kjodle
    Member
    Posted 1 year ago #

  12. kirkward
    Member
    Posted 1 year ago #

    Thank You!

    I have been searching high and low for a way to do this.

    It is apparently a rare topic, but one I think should be addressed, especially as people develop custom contextual help pages, and need to point users to the tab ... users who are usually less than observant.

  13. Dave Navarro, Jr.
    Member
    Posted 1 year ago #

    As administrator, I just want the ability to define what shows up under "screen options" for each user role.

    Some plugins add stuff under "Screen Options" that I don't want users to have access to. It isn't for them.

    A lot of plugin authors seem to do a good job of letting me control what ends up in the sidebar admin menu, but they forget about the Screen Options.

  14. esmi
    Forum Moderator
    Posted 1 year ago #

    That's really down to the individual plugins. Have you contacted some of the plugin developers and suggested that they incorporate a role check before outputting content to the Screen Options?

  15. Dave Navarro, Jr.
    Member
    Posted 1 year ago #

    Yes, I have. Even some theme developers. But most were unresponsive and others say it could be months before they do another update.

    Is it possible for a plugin to "manage" what is seen under Screen Options (for all other plugins)? I searched the repository for something to remove options, but I couldn't find anything. If the underlying API supports the ability for a plugin to filter it, I may try to tackle it myself. But I'm not yet versed enough in the API to know if it's even possible.

  16. esmi
    Forum Moderator
    Posted 1 year ago #

    Is it possible for a plugin to "manage" what is seen under Screen Options (for all other plugins)?

    I think it could be difficult to manage this on some sort of global level but I have to admit that it's not something I've looked at myself. The problem you have is that screen options are stored on a per-user basis in the usermeta table.

  17. kirkward
    Member
    Posted 1 year ago #

    Coding content to the help tab is relatively easy, so I imagine it would be possible to post content to the screen options also. Question is, what;s the code. LOL

    Here's some code I use to add multiple items to the help file. Trick is getting the page display name. I use include rather than require, so the script will continue to run if there is not as many files to be added to a particular screen.

    Can't remember where I got the original code, but changing it to a select made it easier to keep track of. You just need a consistent naming system.

    <?php
    /****************************Add Dashboard Contextual Help *******************************/
    // Priority 5 allows the removal of default tabs and insertion of other plugin's tabs 
    
    add_filter( 'contextual_help', 'kirk_screen_help', 5, 3 );
    
    function kirk_screen_help( $old_help, $screen_id, $screen )
    {
        $i = $screen_id;
        switch ($i) {
        case 'dashboard';
        case 'profile';
        case 'salespage';
        case 'settings_page_pro_niches';
        case 'post';
        case 'user-edit';
    
                // Remove default tabs
        $screen->remove_help_tabs();
    
        include 'includes/help/' . $i . '-help-001.php';
        include 'includes/help/' . $i . '-help-002.php';
        include 'includes/help/' . $i . '-help-003.php';
        include 'includes/help/' . $i . '-help-004.php';
        include 'includes/help/' . $i . '-help-005.php';
        include 'includes/help/' . $i . '-help-006.php';
        include 'includes/help/' . $i . '-help-ads.php';
        include 'includes/help/' . $i . '-help-body.php';
    
         return $old_help;
         // break;
         }
    }
    
    /****************************End Dashboard Contextual Help *******************************/
    ?>
  18. esmi
    Forum Moderator
    Posted 1 year ago #

    The trick is going to be allowing access to the screen options but removing or hiding options that are not appropriate for that user's current role/privileges. So it's going to mean some way of checking a random plugin to find out what privilege level is need to access <foo> and then running a check on the user's privilege levels when they access screen options. The latter should be straightforward but I'm not sure how I'd even attempt the former.

  19. kirkward
    Member
    Posted 1 year ago #

    I think that once you learn how to access the content in the screen options tab, you're going to have to parse every item in the display, and then remove the existing items that are not appropriate for the current users level. Then, add custom stuff that you want a person at that level to see.

    You'll have to do that for each screen because plugins added by others may show on one screen, but not another.

  20. kirkward
    Member
    Posted 1 year ago #

    I know it doesn't meet your stated requirements, but you might want to look at http://wordpress.org/extend/plugins/admin-menu-editor/

    A little imagination with it can work wonders.

Topic Closed

This topic has been closed to new replies.

About this Topic