Wordpress 2.3 tags question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Snake Doctor
    I'm Lenny2 Bitch
    • Mar 2001
    • 13449

    #1

    Wordpress 2.3 tags question

    Has anyone been able to get
    <p><?php the_tags(); ?></p>
    to work on their blogs?

    I've put this code just about everywhere on the post template I can think of, and it won't display the tags.

    I've got the most popular tags displayed in the sidebar, but I can't seem to get them to display on individual posts.

    Thanks in advance for your help.
    sig too big
  • V_RocKs
    Damn Right I Kiss Ass!
    • Nov 2003
    • 32449

    #2
    You will need a plugin. The posts are converted to remove such things.

    http://dev.wp-plugins.org/wiki/RunPHP

    Comment

    • starpimps
      Confirmed User
      • Sep 2006
      • 6954

      #3
      hrmn if you are putting it in the post template it should show up in only the post url : www.site.com/the-post/

      if you want it to show on the main page also add it in index.php template
      between <div id=post> (or something along those lines)

      try this code

      <?php the_tags('Tags:', ' ', ''); ?>
      Teen Porn Models / Solo Girls

      Comment

      • Snake Doctor
        I'm Lenny2 Bitch
        • Mar 2001
        • 13449

        #4
        I got it.

        You have to replace this
        <?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>

        with this
        <?php if ($posts) : foreach ($posts as $post) : the_post(); ?>

        in order to display the tags on your template.
        sig too big

        Comment

        Working...