excluding "featured" posts from headline

Viewing 3 posts - 1 through 3 (of 3 total)
  • #2185
    bumbleyank
    Participant

    I’d like to use the Featured box to show a Photo of the Day and wanted to know if you could tell me how to edit the code so that any post in a designated category is ignored by the Headline box. I’m no web programmer but it would seem that a simple line of code would do it.

    #2186
    Daniel Tara
    Keymaster

    The Headline section has a [code]query_posts[/code] function. You need to add the [code]exclude[/code] argument and pass the ID’s of the posts you wish to exclude.

    #2187
    bumbleyank
    Participant

    Daniel, thank you for your reply. I really like your theme. I’m not much of a programmer – could you give me an example of how to use the exclude command in the code? Would it be easy to write so that posts with certain Tags are excluded or do you have to individually exclude certain posts? Thanks again for your help.

    CV

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.