Wordpress - Showing A Post's Tag On Home Page

Discussion in 'PHP' started by pickagun, Sep 14, 2008.

  1. #1
    Yes I've tried
    <?php the_tags(); ?>
    Code (markup):
    Nothing shows up on the home page. It shows on the single post, though.

    Halp. What code do I put to get the post's tag(s) and show it/them on the front page (preferably at the top before the post title)?
     
    pickagun, Sep 14, 2008 IP
  2. Gold_Hunter

    Gold_Hunter Active Member

    Messages:
    147
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    63
    #2
    look at AllinoneSEOpack plugin. That plugin can use latest post tag as meta keywords on home page
     
    Gold_Hunter, Sep 16, 2008 IP
  3. mehdi

    mehdi Peon

    Messages:
    258
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #3
    have you tried:
    
    <?php while(have_posts()) : the_post() ?>
        	<?php the_tags(); ?>
    <?php endwhile; ?>
    
    PHP:
     
    mehdi, Sep 16, 2008 IP