WordPress.org

Forums

Single Pages for Post Formats (3 posts)

  1. pixelrow
    Member
    Posted 2 years ago #

    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.

  2. esmi
    Forum Moderator
    Posted 2 years ago #

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

  3. pixelrow
    Member
    Posted 2 years ago #

    Yep it does work! Neat.... Now I don' t have to mess about with lots of if statements. :-)

Topic Closed

This topic has been closed to new replies.

About this Topic