Skip to content

January 28, 2009

4

WordPress Tags and Category Codes

Since WordPress 2.6 and 2.7, wordpress has automatically put tags by default (besides category which has been there since the very beginning). But not every wordpress themes / templates has tags readily installed. If your beloved wordpress themes has not included the tags codes yet, here’s the simple way to install the tags codes. Oh btw, it’s for self-hosted wordpress only:

1. After login, click Appearance -> Editor -> Single.php (for Wp 2.7)
2. Copy and paste this code above or below post code (in line with “Category” or above “Comments”:


<p><?php the_tags(); ?></p>

3. Save the change. Done.

Notes: If you like, you may change the “Category” position as well.

Find this code in single.php:

<p><?php the_category(', ') ?></p>

Cut and paste wherever you want it to be. Remember to Save the change.

4 Comments Post a comment
  1. Jan 28 2009

    wah keren abiezzz nih kang fatih, thanks for share ilmunya yah

    Reply
  2. Jan 28 2009

    makasih Om, atas infonya, ntar kalo Moy lagi mod ke wordpress, mau juga tuh naro tag seperti Om anjurkan

    Reply
  3. Jan 28 2009

    nanti ku coba yah , pastinya bermanfaat…

    Reply
  4. Jan 29 2009

    It’s a nice information to share according to important function on tag that to make easy search engine recognize a certain article or blog.

    Reply
  5. Feb 2 2009

    good info :)

    Reply

Share your thoughts, post a comment.

(required)
(required)

Note: HTML is allowed. Your email address will never be published.

Subscribe to comments