AnonSec Team
Server IP : 10.1.204.1  /  Your IP : 216.73.216.250
Web Server : Apache/2.4.66 (Debian)
System : Linux madang-bd97cb958-x26ms 6.8.0-78-generic #78-Ubuntu SMP PREEMPT_DYNAMIC Tue Aug 12 11:28:09 UTC 2025 aarch64
User : root ( 0)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : OFF
Directory (0755) :  /var/www/html/wp-content/themes/madang/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /var/www/html/wp-content/themes/madang/category.php
<?php
/**
 * The template for displaying Tag pages
 *
 * Used to display archive-type pages for posts in a tag.
 *
 * @link https://codex.wordpress.org/Template_Hierarchy
 *
 * @package Madang
 */

get_header(); ?>

<div id="primary" class="site-content content-wrapper topofset">
    <div id="main" class="container content_search" >

        <header class="page-header">
        <h1 class="page-title text-light"><?php $cat = get_query_var('cat'); $current_cat = get_category($cat); printf( esc_html__( 'Search Results for category: %s', 'madang' ), '<span>' . $current_cat->name . '</span>' ); ?></h1>
        </header><!-- .page-header -->

        <?php
        $paged = get_query_var('paged') ? get_query_var('paged') : 1;
        $args = array(
                      'post_status'     => 'publish',
                      'post_type'       => 'post',
                      'posts_per_page'  => get_option( 'posts_per_page' ),
                      'cat'             => $cat,
                      'paged'           => $paged
                      );

        $tag_query = new WP_Query( $args );
        while ( $tag_query->have_posts() ) : $tag_query->the_post();

            get_template_part( 'template-parts/content', 'tag' );

        endwhile;
            
        wp_reset_postdata();
        ?>

        <!-- menu pegination -->
        <div class="row pagination-cont">
            <div class="col-xs-12 col-sm-12 text-center menu-pegination wow fadeInUp">

                <?php  madang_product_pagination( $tag_query, get_pagenum_link( 999999999 ) );  ?>

            </div>
        </div>
        <!-- menu pegination ends-->
    </div><!-- #main -->
</div><!-- #primary -->
<?php get_footer();

AnonSec - 2021