problems with categories posting in posts & loop
-
i’m currently working on my design portfolio. i made a custom template for it but i’m using twentyten’s code skeleton (like the loop.php). everything works except my categories in the main page and single pages are messed up.
you can check https://amadeus.cobangbang.com/portfolio/ & https://amadeus.cobangbang.com/the-printing-place/
if you look at the main page the first entry “the printing place” under it it says “web”. but if you hover it the link actually goes to the category identity. that post actually categorized under identity and web. so it should actually be showing both categories and linked properly. this happens also to “that friday thing” which is filed under 3 categories.
i’ve also put the category code in the single page to see if it would have the same results. which it does.
this is the code i used in the loop which basically i took from the twentyten code:
<?php if ( count( get_the_category() ) ) : ?> <p class="cat-links filter"> <?php printf( __( '%2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-cat-links', get_the_category_list( ', ' ) ); ?> </p> <?php endif; ?>
i hope someone can help me out. thanks!
- The topic ‘problems with categories posting in posts & loop’ is closed to new replies.