Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

Welcome to the new Community Forums!

Existing Users: As an additional security precaution measure, please reset your password and login with your new password given to you via your email.

New Users: You are required to link with either your Facebook, Twitter, Google or OpenID account to register.

If you have any other issues, please send the administrator an email at support [ a t ] arrastheme.com
Removing "About the Author" on Pages
  • I'm happy with how the author info gets shown on posts, but I don't want it to be visible on "pages". Is there a way to turn the "About the Author" box off on pages?
  • zyzy
    Administrator Accepted Answer
    You can copy page.php from /wp-content/themes/arras/ to /wp-content/themes/arras-classical-gamer and delete the portion that displays the post author:

    <?php if ( arras_get_option('display_author') ) : ?>
            <div class="about-author clearfix">
            	<h4><?php _e('About the Author', 'arras') ?></h4>
                <?php echo get_avatar(get_the_author_meta('ID'), 48); ?>
                <?php the_author_meta('description'); ?>
            </div>
            <?php endif; ?>
    
  • Thanks for your answer, zy.
    It works, but only on pages that use the default-template. If I use the one-column template, it still shows the "About the Author" box.
  • zyzy
    Administrator Accepted Answer
    You can do the same for the other page templates by copying them over to the child theme folder and delete the respective code.
  • Got it. Thanks a bunch! :)
  • Is there a way to remove the author box from certain pages? I don't need it on my custom login page or about page.

    Thanks,
    Tony
  • HalfyHalfy
    Member
    I guess this is sort of related, so I'm wondering how you can remove the 'Posted by Author on May 17th', from just pages?