Forums

[resolved] How to Remove "Author" "Comments" from MAIN page (2 posts)

  1. LifeAfterHealth
    Member
    Posted 5 months ago #

    I have gone through each php file of my Anolox template and removed code to take away this option when you CLICK on the post to view it, however, it continues to show up on the MAIN page. How do I get rid of this?

    I found related posts on here, but got nothing.

  2. LifeAfterHealth
    Member
    Posted 5 months ago #

    FOUND IT. For anyone using this theme, remove it from the .php files provided in the editor within your WordPress admin panel. After that, log in to your domain hosts file manager and navigate to public_html > wp-content > themes > anolox > lib > includes > home-blog-layout.php

    Cheers!

    Here is the string to be removed:

    <span class="post-by"><?php print __('By', 'an'); ?> <?php the_author_posts_link(); ?> — <?php comments_popup_link( __('Leave a comment', 'an'), __('1 Comment', 'an'), __('% Comments', 'an') ); ?></span>

Reply

You must log in to post.

About this Topic