post slug?

by Sunny on July 29th, 2010
No notes
Syntax: PHP
Show lines - Hide lines - Show in textbox - Download
<?php 
foreach((get_the_category()) as $category) { 
    echo '<a href="http://xxx.com/forum/' . $category->category_nicename . '/" alt="' . $category->cat_name . '" />'; 
} 
?>Forum</a>

Leave a Reply

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

Subscribe to this comment feed via RSS