WordPress.org

Ready to get started?Download WordPress

Forums

PressWork
Removing 'About Admin' From All Posts - Presswork (9 posts)

  1. Losworth
    Member
    Posted 1 year ago #

    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?

  2. danicasati
    Member
    Posted 1 year ago #

    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');

  3. Fredrik.h.friberg
    Member
    Posted 1 year ago #

    Doesn´t work

  4. mus3
    Member
    Posted 1 year ago #

    did work, thanks!

  5. mus3
    Member
    Posted 1 year ago #

    ... but then I can't login... trying to solve the problem...

  6. RossJC
    Member
    Posted 1 year ago #

    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.

  7. WS Kirby
    Member
    Posted 1 year ago #

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

  8. stargirl1
    Member
    Posted 1 year ago #

    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.

  9. danicasati
    Member
    Posted 1 year ago #

    Best method, stargirl1.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic