Support » Fixing WordPress » 「get_the_term_list」 get not URL's

  • I used this WP theme”Workz”

    Go to the next page by clicking the Recent Work image.

    I’d like to “Category” without a link.

    This WP’s PHP is as

    			//get terms
    			$terms = get_the_term_list( get_the_ID(), 'portfolio_cats' );

    taxonomy-portfolio_cats.php is as

     * @package WordPress
     * @subpackage workz Theme
    <?php get_header(); ?>
    <div id="page-heading">
            $term =	$wp_query->queried_object;
            echo '<h1 class="page-title">'.$term->name.'</h1>';
    <?php if (have_posts()) : ?>
    	<div class="post full-width clearfix">
        <div id="portfolio-description">
        	 <?php echo category_description( ); ?>
        <div id="portfolio-wrap" class="clearfix">
            while (have_posts()) : the_post();
            //get portfolio thumbnail
            $thumbail = wp_get_attachment_image_src(get_post_thumbnail_id(), 'portfolio-thumb');
            <?php if ( has_post_thumbnail() ) {  ?>
     		<div class="portfolio-item">
    		<a>" title="<?php the_title(); ?>"><img src="<?php echo $thumbail[0]; ?>" height="<?php echo $thumbail[2]; ?>" width="<?php echo $thumbail[1]; ?>" alt="<?php echo the_title(); ?>" /></a>
    		<h2><a>" title="<?php the_title(); ?>"><?php echo the_title(); ?></a></h2>
            <?php } ?>
            <?php endwhile; ?>
    	<?php if (function_exists("pagination")) { pagination($additional_loop->max_num_pages); } wp_reset_query(); ?>
    	<?php endif; ?>
    <?php get_footer(); ?>

    [please mark any posted code – – the above is partly corrupted by the forum parser]

    Please give me some advice.

  • The topic ‘「get_the_term_list」 get not URL's’ is closed to new replies.