WordPress.org

Support

Support » How-To and Troubleshooting » Single Pages for Post Formats

Single Pages for Post Formats

  • Can you have separate single files for each post format. For example

    Content-Single-Audio.php and etc. If not what are the alternatives.

    I am only using the toolbox theme.

Viewing 2 replies - 1 through 2 (of 2 total)
  • esmi

    @esmi

    Forum Moderator

    In theory, yes – although I’ve not tried using something like get_template_part( 'content-single', get_post_format() ); myself.

    Yep it does work! Neat…. Now I don’ t have to mess about with lots of if statements. 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Single Pages for Post Formats’ is closed to new replies.
Skip to toolbar