WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Clockwork] Suppressing Dates on Pages Only (4 posts)

  1. TRegan
    Member
    Posted 2 years ago #

    This theme isn't as simple as most themes. The page and the post both end up using the same loop, so I can't just delete the date from the page.php.

    This has been driving me nuts. I like the Clockwork theme.

    Any help is appreciated

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Try something like:

    <?php if ( !is_page() ) :?>
    [ date code ]
    <?php endif;?>
  3. TRegan
    Member
    Posted 2 years ago #

    Genius! Worked like a charm.

    I am in your debt.

  4. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Glad I could help :-)

Topic Closed

This topic has been closed to new replies.

About this Topic