jazzianbutt
Member
Posted 2 years ago #
Hay Friends,
I hope any one would guide me that how to display the summary and the image from custom field in all post when user is browsing by category?
for example look at this site: http://www.wordpressgames.com/games/action/
this guy is only displaying image and text in his category page, the flash file is not displaying.
I want to ask that how to display posts in category page in that format?
I am using the same theme but my full post appears when i browse by category.
Urgent responses are more then welcome.
[moderated--bump removed. Please refrain from bumping as per Forum Rules]
jazzianbutt
Member
Posted 2 years ago #
Thanks MichaelH for your reply,
I am not a coding expert but i tried to replace the_content() with the_excerpt() in my template's archive.php file and it worked when i browse category page, but it caused problem in the index page by showing booth content and excerpt data.
I am not a technical persone, so please help me in simple words and the exact locations where i have to make change.
Many Thanks
Look for category.php in your theme. If you are going to continue to modify a theme's template files, you will want to understand Template Hierarchy.
If you don't have a category.php file in your theme, make a copy of your current archive.php file and name that category.php. Then reverse the changes you made in archive.php.