createwithtasha
Member
Posted 1 year ago #
I want to add instructions in multiple area of the backend. For example, profile.php,posts.php, index.php. The problem is that the instructions will only show under one page at a time. I create instructions and put it in the posts.php area (it worked great). However, when I added instructions to the profile.php the post instructions were removed. Is there a way to fix this?
http://wordpress.org/extend/plugins/back-end-instructions/
youngmicroserf
Member
Posted 1 year ago #
Hey createwithtasha,
I had the same issue and solved it like this: There's a bug in the conditional logic that will output the header code only if $class equals "activate" in the last of the iterations. This occurs because $class = '' is declared inside the outer foreach loop around line 65, right above the check the postpage/wherepage check that starts the inner content construction. I moved the $class-declaration before the outer foreach statement (around line 38), and it works perfectly.
I fixed this in the updated version (0.8) - I just submitted it to the repository, so it'll be a few before it shows up.