• <?php
    /*
    Template Name: cast
    */
    get_header(); ?>
    <div id="sayfa-ic">
    <div class="sayfa-sol">
    		<!-- Kategori Menu Basladi -->
    		<div class="kategori-menu">
    			<i class="fa fa-newspaper-o"></i> <h1>OYUNCULAR</h1>
    		</div>
    		<div class="pix10"></div>
    		<div id="icerik">
    		<!-- Icerik Basladi -->
    <?php //list terms in a given taxonomy using wp_list_categories(also useful as a widget)
    
    		$args = array(
    			'taxonomy' 		=> 'casts',
    			'term_args' => array(
    				'orderby' 		=> 'name',
    				'title_li' 		=> '',
    				'hide_empty' 	=> 0,
    				'parent'		=> 0,
    			),
                            'vega_pagination' => '6',
                            'paged' => $paged
    		);
    		?>
    
    		<?php
    		$terms = apply_filters( 'taxonomy-images-get-terms', '', $args );
    
    		if ( ! empty( $terms ) ):
    		?>
    		<?php foreach( (array) $terms as $term ): ?>
    
    		<div class="oyuncu-k">
    				<a class="resim" href="<?php echo esc_url( get_term_link( $term, $term->taxonomy ) ); ?>" title="<?php echo $term->name; ?>">
    					<?php echo wp_get_attachment_image( $term->image_id, 'full' )?>
    					<span class="isim"><?php echo $term->name; ?></span>
    				</a>
    				<div class="orta">
    					<p class="aciklama">
    						desc
    					</p>
    				</div>
    				<ul class="alt">
    					<li><i class="fa fa fa-eye">&nbsp;</i> <?php echo getPostViews(get_the_ID()); ?></li>
    					<li><i class="fa fa-thumbs-o-up">&nbsp;</i> <?php printLikes(get_the_ID()); ?></li>
    				</ul>
    		</div>
    		<?php endforeach; ?>
    
    		<?php endif; ?>
    		<!-- Icerik Bitti -->
    		<?php if (function_exists('vega_pagination')) vega_pagination(); ?>
    		</div>
    	</div>
    	<?php get_sidebar(); ?>
    </div>
    <?php get_footer(); ?>

    I am trying to archive page, but paging does not work, please help.

    https://ww.wp.xz.cn/plugins/taxonomy-images/

The topic ‘Archive pagination Error’ is closed to new replies.