Hide the date and author

Support Area Forums Agency Hide the date and author

Viewing 2 posts - 1 through 2 (of 2 total)
URL to the page in question: http://www.flushproseptic.com/
  • Author
    Posts
  • #22644
    Avatar photoDurenda Wood
    Participant

    Hello Bill,

    I am wanting to hide the date and author in the Agency theme. I have dug around and can’t find the code.

    Thanks,

    Durenda

    #22648
    Bill Robbins
    Moderator

    Happy Friday Durenda,

    Good question. It looks like I don’t have those set so you can hide them individually via CSS. I’ll roll that ability into the next update for the theme. If you do want to hide that entire row with the date, author and category, you can do it this way:

    1. Go to your theme options page and choose the Style tab.
    2. Scroll down to the Custom CSS box and add this:
      
      p.post-meta { display: none; }
      
    3. Update your settings.

    If you want to leave just the category you can do that. Here’s how:

    1. Go to the Appearance section in your WordPress dashboard and choose Edit.
    2. From the list of files on your right, choose post-meta.php and find this section:
      
      <?php the_time('F j, Y'); ?>&nbsp;&#124;&nbsp;
      <?php the_author_posts_link(); ?>
      

      and delete it. Then save your changes.

    Let me know if either of those doesn’t do the trick for you.

    Have a nice weekend,
    Bill

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Hide the date and author’ is closed to new replies.