WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Category Post specific single.php (3 posts)

  1. Georg Kevin Paquet
    Member
    Posted 5 years ago #

    Hi,

    I'm right now having quite a problem and I need help.
    We all know that most themes are having a single.php file to display single posts, if not, then they have a index.php file to do that sometimes.
    My problem is that, I would like to show a different single post style for a specific category.

    Let's say for example, all regular posts have the single post file shown as usual
    While I want posts from another category to for example, display advertisements or a specific text.

    Help would be very much appreciated,

    Thanks,

  2. Chris_K
    Member
    Posted 5 years ago #

  3. Georg Kevin Paquet
    Member
    Posted 5 years ago #

    Yes, it helps, actually that was one of the sources someone gave me on a WP mailing list, thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic