WordPress.org

Ready to get started?Download WordPress

Forums

How to remove author & tags from Posts (7 posts)

  1. InfluenceHaus
    Member
    Posted 2 years ago #

    How do I get the Author, Comments and tags removed from these two pages
    blog
    page

    For reference, this is my single post file:

    [Code moderated as per the Forum Rules. Please use the pastebin]

  2. Removing monk_author_meta(); will remove the author and remove <?php comments_template('', true); ?> will remove the comments, but that will remove the author and comments from all your posts.

    If you remove monk_post_meta(true); you'll remove the tags, but also the comment bubble.

    If you don't want any comments on the posts, then I would just delete the whole:

    <div class="post_meta">
            <?php
            monk_author_meta();
            monk_post_meta(true); ?>
      		</div>
  3. InfluenceHaus
    Member
    Posted 2 years ago #

    thanks. that worked for the individual posts.
    Next: how do I remove the author and # of comments from column 1 of the main blog page? Which file do I work on and what text do I remove?
    http://linkedinprofileservice.co/blog/

  4. Look for something similar in the index.php file

  5. InfluenceHaus
    Member
    Posted 2 years ago #

    Hi Christine, this is the only code in the index.php file. Other ideas?
    Wapp WP-version: Main Index Template (index.php)

    <?php get_header(); ?>
    <div id="container">
    <div id="content" role="main">
    <?php get_template_part('loop'); ?>
    </div>
    </div>
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

  6. InfluenceHaus
    Member
    Posted 2 years ago #

    http://linkedinprofileservice.co/blog/
    I still cant figure Out how to remove author and number of comments from column 1 I searched index.php single.php page.php category.php archive.php

  7. ashliz
    Member
    Posted 2 years ago #

    Referring to Christine's first response, which php(s) would contain this?

    <div class="post_meta">
            <?php
            monk_author_meta();
            monk_post_meta(true); ?>
      		</div>

    I have tried all sorts of things to remove author and comments from my posts, but apparently I haven't covered it all yet!

Topic Closed

This topic has been closed to new replies.

About this Topic