WordPress.org

Support

Support » Themes and Templates » Possible to have 2 styles of single.php?

Possible to have 2 styles of single.php?

  • adejones
    Member

    @adejones

    Hi everyone
    I have a page with a feed of posts from one category, when clicking the permalink of one post it goes to the full post using single.php (obviously).

    I am then going to have another page with a different feed of posts from a different category and I want these full posts (once clicked in to) to have a different style/layout, but this would also be using single.php

    How is it possible to have two different types of single post for the two different categories because obviously there is only one single.php?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Possible to have 2 styles of single.php?’ is closed to new replies.