Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 95984

FunnyBiscuit on "[Theme: Mantra] How to use magazine layout in a specific category?"

$
0
0

I don't understand this part:

<?php
/* Include the Post-Format-specific template for the content.
* If you want to overload this in a child theme then include a file
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
*/
get_template_part( 'content', get_post_format() );
?>

I'm trying to use magazine layout to a specific category. And I'm already created a "category-[ID].php" file to use for special category layout.

When I change to the magazine layout through the Mantra setting panel but everything will become magazine layout, I know this is related to this code:"get_template_part( 'content', get_post_format() );"
But how am I supports to change this code to make magazine layout display in a specific category only???? Please help


Viewing all articles
Browse latest Browse all 95984

Trending Articles