Title: calebo's Replies | WordPress.org

---

# calebo

  [  ](https://wordpress.org/support/users/calebo/)

 *   [Profile](https://wordpress.org/support/users/calebo/)
 *   [Topics Started](https://wordpress.org/support/users/calebo/topics/)
 *   [Replies Created](https://wordpress.org/support/users/calebo/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/calebo/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/calebo/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/calebo/engagements/)
 *   [Favorites](https://wordpress.org/support/users/calebo/favorites/)

 Search replies:

## Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Duplicate listing of post under category](https://wordpress.org/support/topic/duplicate-listing-of-post-under-category/)
 *  Thread Starter [calebo](https://wordpress.org/support/users/calebo/)
 * (@calebo)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/duplicate-listing-of-post-under-category/#post-3067794)
 * Unfortunately none of those do what I want, they hard code the category ID into
   the code, I want to make it dynamic in the category.php template so that when
   you visit [http://mysite.com/category/cake](http://mysite.com/category/cake)
   
   It would list all post under the cake category on the page.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to link to category and list post under category](https://wordpress.org/support/topic/how-to-link-category/)
 *  Thread Starter [calebo](https://wordpress.org/support/users/calebo/)
 * (@calebo)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/how-to-link-category/#post-3053098)
 * That won’t work for it, it breaks my current pages which has the same name as
   the category, I just thought of another way to make this work. But I’m not sure
   how to write it in php.
 * `echo "<li><a href=\"".get_category_link($cat_id)."\">".$cat->name."</a>";`
 * Instead of printing the category name, how can I print the blog url follow by
   the blog name in the link field?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to link to category and list post under category](https://wordpress.org/support/topic/how-to-link-category/)
 *  Thread Starter [calebo](https://wordpress.org/support/users/calebo/)
 * (@calebo)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/how-to-link-category/#post-3053091)
 * Ops… is it possible to ‘hack’ the category url to not include the word ‘category’
   in the url? As I’ve created pages according to category names.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to link to category and list post under category](https://wordpress.org/support/topic/how-to-link-category/)
 *  Thread Starter [calebo](https://wordpress.org/support/users/calebo/)
 * (@calebo)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/how-to-link-category/#post-3053089)
 * Thank you so much!

Viewing 4 replies - 1 through 4 (of 4 total)