PHP Classes

File: category.php

Recommend this page to a friend!
  Classes of Victor Andeloci   Project P Wordpress Podcast Theme   category.php   Download  
File: category.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Project P Wordpress Podcast Theme
Publish pages for a podcast in a WordPress site
Author: By
Last change:
Date: 11 months ago
Size: 620 bytes
 

Contents

Class file image Download
<?php
    get_header
();
   
$term = get_queried_object();
?>

<main id="category">
    <div class="container">
        <?php get_template_part('parts/header_info'); ?>
<?php get_template_part('parts/banner_min', null, [
           
'term_name' => $term->name,
           
'term_description' => $term->description
       
]); ?>
<?php get_template_part('elements/nav'); ?>
<?php get_template_part('elements/category_selector'); ?>
<?php get_template_part('parts/last_posts', null, [
           
'category_slug' => $term->slug
       
]); ?>
</div>
</main>

<?php get_footer(); ?>