WordPress.org

Ready to get started?Download WordPress

Forums

Don't show post date info if featured and on home page (2 posts)

  1. njcooney
    Member
    Posted 1 year ago #

    Can anyone help with this?

    I added a widget to the front page to pull in featured category posts only. But I need a conditional bit of code to accomplish the following:

    IF it is a "featured" category post,
    and ONLY IF it is on the home page,(not a single post, archive, etc)
    then
    DO NOT display the post date.

    Can anyone take a stab at this?

    Thanks!

    Jay

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    How is "featured" being defined?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.