Remove date, author, comments, tag from POSTS.

Support Area Forums Foxy Remove date, author, comments, tag from POSTS.

Tagged: , ,

Viewing 14 posts - 1 through 14 (of 14 total)
URL to the page in question:
  • Author
    Posts
  • #6202
    Ed Kasanders
    Participant

    How do I Remove date, author, comments, tag from POSTS on the Foxy Theme

    #6207
    Bill Robbins
    Moderator

    Ed,

    Here’s how to remove that information from the Foxy theme:

    1. Go to the appearance section and select edit to open up the theme editor.
    2. From the list of files on your right, choose index.php and look for this spot:
    3. Replace that with this:
    4. Save your changes.
    5. Next open up single.php and look for this spot again:
    6. This time, just delete that line and save your changes.

    That should remove the date, author, comments and so on from your posts. If you have any trouble or questions, let me know.

    Thanks,
    Bill

    #8290
    Jason Parfenoff
    Participant

    Bill,

    Is this still way to achieve this? I do not see the code from step #2 in my index.php file using the theme editor.

    Thanks,

    Jason

    #8300
    Bill Robbins
    Moderator

    Jason,

    Great question. With the last update, we moved that bit of code into a separate file so people could edit it in one place. That code snippet was used in a few files.

    Here’s how to change it now.

    1. Go to the Appearance section and select Edit.
    2. From the list of files on your right, choose post-meta.php and look for this spot:
      
      
      
    3. Replace that with this:
    4. Save your changes.

    That should remove that line from your posts. If you have any questions, let me know.

    Enjoy your weekend,
    Bill

    #8307
    Jason Parfenoff
    Participant

    Bill,

    Thanks for all the help. I seem to have found a problem. I do not have a post-meta.php file. How do I fix this?

    -Jason

    #8308
    Jason Parfenoff
    Participant

    Never mind, I found it. Sorry.

    -Jason

    #8309
    Bill Robbins
    Moderator

    Jason,

    You missing that file got me looking at this and I realized I gave you the wrong code to replace. Replace everything in the post-meta.php file with

    It’s been a crazy day. Sorry about that.

    If you have trouble, let me know,
    Bill

    #8312
    Jason Parfenoff
    Participant

    Thanks Bill! That worked great.

    -Jason

    #8315
    Jason Parfenoff
    Participant

    Okay, I’m 99% happy with my site now. I realize now that I would like the date or date and author to appear on my blog posts, without any comments.

    #8317
    Bill Robbins
    Moderator

    You can add that back in. Edit the post-meta.php file again and replace the content there with this:

    That will cause just the author and date to be show below the title.

    Let me know if you have any trouble/questions.

    #8889
    Paul Reboul
    Participant

    Hey bill this helped me too many thanks…I wish I had scrolled down first though as I went through the first step and was confused!

    #9809
    Marciel Riemann
    Participant

    Hi Bill,

    I want to do the same thing. Kick out “Make a Comment”.
    But in my post-meta.php file I can’t find a the right text.
    Here’s the copy of the file.
    What should I replace?

    Thank you Bill

    #9813
    Bill Robbins
    Moderator

    Marciel,

    No problem. The post-meta.php file can vary a bit across themes and also theme versions too.

    In your situation, you can replace the code you posted with this:

    And that will remove the comments, but leave in the date and author. If you have any trouble, let me know.

    Bill

    #9835
    Marciel Riemann
    Participant

    Thank you it worked!
    Have a nice week.

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Remove date, author, comments, tag from POSTS.’ is closed to new replies.