WordPress.org

Support

Support » Themes and Templates » PressWork » Removing 'About Admin' From All Posts – Presswork

Removing 'About Admin' From All Posts – Presswork

  • How do I remove the “About Admin” box from all my posts? I created an About Me page, so I would really like to just get rid of the “About __” that shows up at the end of each post. Does anyone know how to do this?

Viewing 8 replies - 1 through 8 (of 8 total)
  • It’s very easy.

    In file /PRESSWORK/ADMIN/ACTIONS.PHP

    line 238
    replace:
    pw_authorbox();
    with:
    //pw_authorbox();

    line 527
    replace:
    add_action(‘pw_single_bottom’, ‘pw_authorbox’);

    with:
    add_action(‘pw_single_bottom’);

    DoesnĀ“t work

    did work, thanks!

    … but then I can’t login… trying to solve the problem…

    A correction. Don’t do edit the code in /PRESSWORK/ADMIN/ACTIONS.PHP. Edit the code in /PRESSWORK/ACTIONS.PHP, and comment out line 527 completely (i.e., don’t replace it with anything). add_action() requires two arguments; simply removing the second argument results in error messages.

    Thanks RossJC. This was driving me nuts. Your solution worked without error.

    the best way to remove it is to make a custom-actions.php file and put it in your uploads folder. then add the following code to the custom-actions file.

    <?php remove_action('pw_single_bottom', 'pw_authorbox');

    that way it won’t get overwritten when you upgrade wordpress. you should never edit the original theme files if possible.

    Best method, stargirl1.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Removing 'About Admin' From All Posts – Presswork’ is closed to new replies.
Skip to toolbar