WordPress.org

Ready to get started?Download WordPress

Forums

Infinity
[resolved] Removing Meta data from posts (7 posts)

  1. Sarajawad
    Member
    Posted 8 months ago #

    Hello,

    I need to remove the meta data from posts(author, date, etc...)
    I tried display: none; under the .entry-meta class but this didn't work.

    Thank you

  2. ishan001
    Member
    Posted 8 months ago #

    You need to provide more information.

    Which theme are you using(link)? A link to site?

    Do you want to remove the meta from single post page or home page?

  3. Sarajawad
    Member
    Posted 8 months ago #

    Thank you for the quick reply. I am using the Infinity Theme by Design Coral.
    I don't have a link yet i am working locally

  4. ishan001
    Member
    Posted 8 months ago #

    Which page(s) do you want to remove the meta data from?

  5. Sarajawad
    Member
    Posted 8 months ago #

    all the posts on the main page.

  6. ishan001
    Member
    Posted 8 months ago #

    In your theme folder, line #5-7 in content.php are:

    <div class="entry-meta">
    	<?php echo infinity_post_date() . infinity_post_comments() . infinity_post_author() . infinity_post_sticky() . infinity_post_edit_link(); ?>
      </div><!-- .entry-meta -->

    Delete these.

  7. Sarajawad
    Member
    Posted 8 months ago #

    Resolved :) thank you

Reply

You must log in to post.

About this Theme

About this Topic