• I would like to know how to remove my Entry-Meta and Comments from pages, but not posts. I update the code via FTP no through the WP-Admin so maybe I’m missing something.

    I’ve figured out how to close comments, but then the annoying text saying “comments are closed” still appears on the pages, I don’t want that either.

    Any help is greatly appreciated, thanks!

    https://www.pzfantasyfootball.com

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hey pz,

    You’re probably going to want to check your theme for the page.php file, if it exists.

    To remove the entry meta stuff, you’ll want to look in the code for the code within <div class=”entrytitle”>:

    <div class="entrytitle">
    <h1><a href="https://pzfantasyfootball.com/about-me/" rel="bookmark" title="Permanent Link to About Me">About Me</a></h1>
    <em>Article Written by <strong>FinsFan5413</strong>
    May 24th, 2008</em>
    </div>

    You’ll probably see some php code similar to the following:

    Article written by <?php the_author() ?>
    <?php the_time('F jS, Y') ?>

    To remove the comments from page.php, you’ll want to look for the call to <?php comments_template(); ?>

    Thread Starter pzproductions

    (@pzproductions)

    Hmm.. unfortunately that file doesn’t exist… I downloaded and customized the Simpla theme because it seems to be the easiest to customize… however a downside is that it’s a minimalist theme and doesn’t include a lot of the features I should probably have.

    No, some themes don’t include all possible templates. You definitely have an index.php file, though.

    You could copy the index.php file and save it as page.php and make the edits that I suggested.

    These may help:
    https://codex.www.ads-software.com/Stepping_Into_Templates
    https://codex.www.ads-software.com/Template_Hierarchy

    Thread Starter pzproductions

    (@pzproductions)

    Thank you very much… you have been very helpful.

    No problem. ??

    sewmyheadon, that’s brilliant. thank you very much.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Removing Entry Meta and Comments from Pages’ is closed to new replies.