• Resolved ragez

    (@ragez)


    All right guys i need a little help. You know how when you click a category in wordpress and you get to the category page it automatically shows all the post well is there a way i can have it show the links to the post in that category instead of the post? Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • I believe what you’re looking for is to edit the loop on your category page template and remove the the_content() echo in the loop. Replace it with something like <a href="<?php the_permalink() ?>"><?php the_title() ?></a> or something similar.

    Thread Starter ragez

    (@ragez)

    kinda a noob at editing stuff like this any other way to do it?

    You may be able to find a plugin that will provide you with a tag or something to use. Either way, you’re going to have to find some way to override the default behavior of whatever template you’re using.

    Thread Starter ragez

    (@ragez)

    i tried to edit the category-template.php but didnt find the the_content on notepad what do i do

    You will want to edit the proper template in your theme folder (e.g. the WordPress Default theme resides in wp-content/themes/default folder).

    Review Template Hierarchy to understand what template your theme uses for a Category Template and then modify that file as suggested above.

    Thread Starter ragez

    (@ragez)

    You Guys were very helpful i got it working thank you very much!!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Post As Links in Cateorgies’ is closed to new replies.