Need help? Check out our Support site, then

Loop to display the custom taxonomy

  1. I created the custom post type with the name "portfolio" and also created taxonomies.
    but when I loop the custom post at the page "portfolio-page.php"
    it's only appear the_content() without taxonomies.
    I used these codes


    The loop which taxonomies didn't appear
    <!--?php<br /> $args = array( 'post_type' =--> 'portfolio', 'posts_per_page' => 10 );<br /> $loop = new WP_Query( $args );<br /> while ( $loop->have_posts() ) : $loop->the_post();<br /> the_title();<br /> echo '<div class="entry-content">';<br /> the_content();<br /> echo '</div>';<br /> endwhile;<br /> ?>

    then I try this one again , but it doesn't appear
    <!--?php the_terms( $post--->ID, 'my_taxonomy_slug', 'Portfolio Category : ', ' <span style="color:#000">/</span> ', '' ); ?>

    I don't know what's wrong with me . if someone would guide me ,, thanks in advance

    The blog I need help with is

  2. What is the URL of the blog you're doing this on? is clearly not it, as we don't have access to the php of blogs.

  3. sorry , I didn't mean with this one >>

    I'm trying my project at localhost . In a few week I'm going launch it.

  4. because some forum are not active as here, even I ask or post the topic.
    no one answer me :(

  5. You are even less likely to get an answer here, these forums are for .com users who don't have access to php.

  6. You need to be at WordPress.ORG for help with that. It's not a WordPress.COM blog.

Topic Closed

This topic has been closed to new replies.

About this Topic