WordPress.org

Ready to get started?Download WordPress

Forums

Print taxomony names (1 post)

  1. moffepoffe
    Member
    Posted 3 years ago #

    Hey,

    ran into a problem where i cannot print my taxomony name in my taxomony.php

    if ( have_posts() )
    		the_post();
    ?>
    
    			<h1 class="page-title">
    <?php
    					printf( __( 'Kategori: %s', 'twentyten' ), '<span>' . single_cat_title( '', false ) . '</span>' );
    				?>			</h1>
    
    <h3>
    <center>
    				<?php echo category_description(); ?>
    			</h3>
    </center>

    Category description works great and prints out the description on the taxomony.

Topic Closed

This topic has been closed to new replies.

About this Topic