Including Category Name?
-
Hello, i am currently using the below source in conjunction with FeedWordPress to display a site image to coincide with each post generated. The only issue is creating a sufficient unique variable for all categories to assertain.
<div style=”float:right;”><img class=”catimage” alt=”<?php the_syndication_source(); ?>” src=”wp-images/icons/<?php the_category(‘ <span class=”posted”>and</span>’) ?>.gif” hspace=”6″ /></div>
Currently, all i want is to know how to display the category name of a post in clear text without the additional “https://www.staff-lounge.com/blocks/category/%categoryname/” title=”View all posts in %categoryname” rel=”category tag”>%categoryname” information, just the %categoryname would do fine please ??
- The topic ‘Including Category Name?’ is closed to new replies.