WordPress.org

Support

Support » How-To and Troubleshooting » Get-Category-format

Get-Category-format

Viewing 1 replies (of 1 total)
  • The code that makes print the post content is:

    <?php

    $format = get_post_format();
    get_template_part( “formats/”.$format );

    if($format == “”)
    get_template_part( “formats/standard” );

    ?>

Viewing 1 replies (of 1 total)
  • The topic ‘Get-Category-format’ is closed to new replies.
Skip to toolbar