• Resolved unverifieduser

    (@unverifieduser)


    Hello,

    Would it be possible for you to restrict the USP button to only show up on posts edit pages, because right now it shows up on all custom post types as well, unnecesarily.
    In user-submitted-posts.php around line 394-395 in a function usp_outputUserSubmissionLink() please change

    global $pagenow;
    if ($pagenow == 'edit.php') {

    to be something more like

    $screen = get_current_screen();
    if ($screen->post_type == "post") {

    Also I would really appreciate a more descriptive button than just “USP”, I often forget what it does.

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Yes I will make sure that the USP button only is displayed on the Edit Post screens. Thank you for the suggestion. For the text of the button itself, did you have something in mind? Most users prefer it being as small and unobtrusive as possible (hence “USP” — only three letters).

    • This reply was modified 9 years ago by Jeff Starr. Reason: typo
    Thread Starter unverifieduser

    (@unverifieduser)

    Thank you so much,

    Well, maybe Show USP or even better Show User Posts, I can see how Show User Submitted Posts can be a little obtrusive.

    Plugin Author Jeff Starr

    (@specialk)

    Maybe I can add a title attribute to the button that says “User Submitted Posts” or something.. I’ll take a look for the next update. Thanks again for the suggestions.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Admin posts view USP button’ is closed to new replies.