• I would like to remove the the author, date, and category from posts. I have read instructions for other themes however the code I need to edit seems to be in a different place for minimatica. Anyone know what I need to edit/remove to get rid of these? I would also like to remove the “Comments are Closed” text from the bottom of the posts. (this text appears because I have comments turned off for those particular posts). Again the instructions for that seems to be theme sensitive.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You just need to find out where the code is for the output in the loop. Some themes put it in index.php. Others put it in a separate loop.php. And sometimes there are specialist loop-*.php files. The ‘Hybrid’ theme, for example, does that.

    Then there are the various category, archive and taxonomy lists.

    Unless anyone knows this theme well enough, you’ll just have to examine some of these files to see what strategy the theme uses and then track down where the code is that you want to alter. It’s a bit tedious, but shouldn’t take too long.

    I’d start with index.php and follow the trail from there.

    If you’re really stuck and can’t get an answer from someone who knows the theme well, try posting a list of the template files (or at least the ones that are likely to be associated with the loop). It might be possible to point you in the right direction from that info.

    It’s best to alter the code in a child theme if you can.

    HTH

    PAE

    I did this (above) and deleted an essential portion of my loop.php Anyone know where I can fetch the entire code!? #newatwordpress & #selftaught

    THANK YOU!

    PS – my website is https://www.with-grace.com
    *you’ll see the error message when you click on one of the links. (any of them)

    Copy the code from loop.php from the parent theme back into your child theme?

    If you aren’t working in a child theme, then in passing you might notice that this is one of the reasons why it’s such a good idea. To fix the problem in the theme itself, you could download a new copy of the theme to your local machine and then copy the loop.php file from the new copy to your server, overwiting the one you’ve changed.

    Or you could temporarily change to one of the default themes, delete the theme you’ve messed up, and then reinstall the theme you want.

    HTH

    PAE

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Removing Author, Date, and Category from post’ is closed to new replies.