Skip to:
Content
Pages
Categories
Search
Top
Bottom

Templates and custom post types

  • @dmx09

    Participant

    Hi all,
    I am trying to figure out how to style a single forum page differently to the main forum pages. I know I can do a conditional statement so say when on this page, do this, however I think there might be an easier way.

    Can I use the usual naming & hierarchy structure used by WordPress? ie; when I have a custom post type named ‘movies’ I can use a template for this page called ‘single-movies.php’.

    Can I do something like this perhaps?
    forum-my-forum-name.php
    or bbpress-my-forum-name.php

    I’ve tried but didn’t seem to work for me so maybe I’m missing something fundamental.

    Thanks in advance.

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Skip to toolbar