Specific photo for specific category?

  • raindance


    Ok…since it seems there isn’t an answer forthcoming about finishing up the “random rotating headers per category” thread..I’m stuck on that.

    Is there a way to assign just one static photo for a category archive page?

    I really want my “blog” section to look different than the rest of the site.

    Thanks in advance…




    Well, personally, that type of work is WAY beyond my pay grade 🙂 If you really want to finish it up, perhaps you could find a custom programmer.

    I haven’t really been following this thread, but would the code he gave you work if you only had one image in the directory?

    Again, I’m not really sure what the code he gave you is doing.



    A really wonderful coder at the wordpress forum dialed this in beautifully for me.

    The code itself is here and really well commented.


    The WP Forum thread is here if anyone wants to see more details about how we got there.


    This is for category archive pages and single posts to rotate custom header images from folders you create. It works great and is super easy to use. It doesn’t work for single pages, but I figure I can just use a single custom header on a page so it doesn’t matter too much. He may try to re-work it to include pages but maybe not. He spent a lot of time dialing this in. It’s really well done and a pleasure to have! If he does re-work it to include pages he will update the pastebin. Just subscribe to that thread for updates.

    Thanks for getting it started Syahir.

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

  • You must be logged in to reply to this topic.
Do NOT follow this link or you will be banned from the site!