Hi Derek,
In your category.php page, replace
<?php the_post(); ?>
with
<?php the_excerpt(); ?>
See the excerpt for details.
Hey, thanks for the help, but I looked at category.php and couldn’t find the tag you mentioned. Its in wp-includes, right?
Hey, thanks for the help, but I looked at category.php and couldn’t find the tag you mentioned. Its in wp-includes, right?
no. you are supposed to be looking at the category.php that is inside your current theme’s directory.
if you dont have one, you will need to create one in order to accomplish what you are asking how to do.
I don’t have a category.php in my theme. Any ideas?
You can just go ahead and create one:
http://codex.wordpress.org/Category_Templates
Don’t worry, its not too painful π
I have none of the files listed except for the index.php, the fourth one on the list. This is the code from my index.php. Any problems?
————————-
[Moderated: Too much code. Please consider placing the code in a text file on your site with a link here -or- use a pastebin service such as http://wordpress.pastebin.ca. Thanks!]
Just go ahead and copy it to category.php and run amuck π
There is no category.php, though.
Here is the code again, this time in a text file: http://www.nccg.info/indexphp.txt
Create a new file called category.php and copy/paste all of the code from index.php into it. That template will now be used to list categories. Then, change the_post() to the_excerpt();
I did precisely that and it made my category pages (in this screen shot, my “Update Log” category) look like this:
http://www.nccg.info/categoryerror.jpg
Is there any way I can perhaps pay someone to fix the problem and if so, what would it cost?
Hi Derek,
Try this: http://wordpress.pastebin.ca./705414
Save this page as category.php – upload it and see how you go…
Yes, it works! Thanks, I owe you one! So what exactly did you do? π
No problem – just compare what you have now with what you posted here:
http://www.nccg.info/indexphp.txt
Glad to help.