Forums

Get a different design on the single.php page (2 posts)

  1. poliquinp
    Member
    Posted 1 year ago #

    Hi everyone,

    I have a question about the page single.php where I list all my post.

    I currently have 2 categories on the same WordPress.

    1 is for hunting and the second is for the sports.

    I would like to give a different "theme css" for each categories when I list them and when I read a specific one.

    I'm not sure if we can do something like the get_header(); where we can add $string in the () to call a different header.

    If you don't understand or you want me to leave more information about my request, please let me know.

    Thx

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    http://codex.wordpress.org/Conditional_Tags

    perhaps a conditional by category?

    Bumping is against forum rules, and very rude... especially 2 in an hour. Plus if you bump, you no longer appear in the unreplied to topics link, so people assume you are being helped.

Topic Closed

This topic has been closed to new replies.

About this Topic