• I just wonder, is there any way of easily seperating how pages and posts work?

    I want the date of publishment posted in my posts, but not on my pages. This because pages are changed over time, and I don’t feel it’s accurate to have the date the pages was made listed.. and if I change it everytime I update the page, I’m practically lying since the date listed then is older than the date I made the page.

    Help?

Viewing 3 replies - 1 through 3 (of 3 total)
  • you could look in your theme’s page.php and remove the date call

    Thread Starter Luggruff

    (@luggruff)

    Thank you, but my theme don’t have a page.php..

    Check: https://www.luggruff.com/feed/yboris.1.0.2.zip

    I don’t get it.. /:

    In index.php replace

    <div class="date_month"><?php the_time('M') ?></div>
    div class="date_day"><?php the_time('d') ?></div>
    <div class="date_year"><?php the_time('Y') ?></div>

    with

    <?php if(!is_page()){ ?><div class="date_month"><?php the_time('M') ?></div>
    <div class="date_day"><?php the_time('d') ?></div>
    <div class="date_year"><?php the_time('Y') ?></div><?php } ?>

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Date on posts vs. Date on pages??’ is closed to new replies.