WordPress.org

Ready to get started?Download WordPress

Forums

Back End Instructions
[resolved] [Plugin: Back-End Instructions] can instruction only show up on post page? (3 posts)

  1. jjdiehl
    Member
    Posted 1 year ago #

    I am using back end instructions version 2.5.1 and created a new instruction for the post page (edit.php) - but it is displaying on these pages as well:

    - edit.php?post_type=portfolio
    - edit.php?post_type=page

    I assume it is showing up because the post instruction is for the page (edit.php) - but is there away to have an instruction show up ONLY for the post page?

    I searched around this support area and read the readme text/installation instructions, but wasn't able to find the answer - not that it isn't there - just I couldn't find it ;)

    Thanks,
    Janet

    http://wordpress.org/extend/plugins/back-end-instructions/

  2. Doodlebee
    Member
    Plugin Author

    Posted 1 year ago #

    If you mean only for the post.php page (and not any other page that is like post.php?post_type=whatever), no. The reason is because the plugin is made to "build" on previous instructions, so you don't have to rewrite the same thing over and over again. Since all post types have the same basic ingredients, it's used as a reminder for what to do when you create/edit a post of any type. If you have a custom post type that has extra fields that aren't standard (or remove standard blocks), then you can create an instruction for that specific post type with the addiotonal information for that specific type.

    I you *really* want to remove instructions for a particular post type, you could use a custom stylesheet for the admin area (there's already a hook for admin stylesheets.. I'm not at my computer so I can't tell you what it is though - it's early and I'm still on coffee #1 LOL). But there are admin stylesheets in the newest version (3.0), which I updated last week) and you can add "display:none" to the areas you want hidden. you could even add spans with "hide" classes so they are hidden by default, and show then on specific pages (there's all kinds of ways around it using CSS)

    But it's written like this on purpose, mainly because - like I said - it's meant to be an instructional library that you build upon, rather than rewrite the same content over and over again for different user evens and content types.

  3. jjdiehl
    Member
    Posted 1 year ago #

    Got it, thanks for the quick reply. I will change my instructions accordingly.

    Janet:D

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic