• Ray

    (@rayswaggestcom)


    Hello everyone,

    I’m trying to find a way to have TAGS show up on my entries.
    For example, if you see this page http://www.swaggest.com/lego-the-simpsons-set/
    you can see the category “live” right under the title. I want to be able to put the TAGS right next to the category.

    My theme (Apollo) allows me to put a tagcloud on my widgets.
    This means my theme is somehow pulling the tags from the tags I add during the post. I just have to find a way to get it onto my posts instead of into a tagcloud instead.

    My single post .php shows this.

    <header><h1 id="post-title"><?php the_title(); ?></h1></header><!-- #post-title -->
    
                    <ul class="meta clr">
    
                         <?php
                         // First category link
                         $category = get_the_category();
                          if( $category[0] ){
                              echo '<a>term_id ).'">'.$category[0]->cat_name.'</a>
    <li>';
                          }
    
                         // Comments link
                         if( comments_open() ) { ?>
                            </li>
    <li></li>

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    I’m assuming if I can make a new line that says “get the tag” with some coding it’ll work!

    Someone please help me!

  • The topic ‘How to have TAGS show on my posts’ is closed to new replies.