1. Because the archive.php template is using thh_excerpt instead of the_content – and the excerpt by default takes away the html markup.
2. Open the archive.php in a text editor and delete the call for the_excerpt.
The Loop in Action: Excerpts Only should help with item #2. Basically, remove all the_excerpt() bits.
Damn you guys are quick – I’ll give it a try …
Works a treat – thanks guys :o)
thanks for the follow-up. It’s always nice to know that our suggestions worked!
OK, another question following on from yesterday’s…
If you check out my site (http://www.GreatBlighty.com), scroll to the bottom of the category list and you’ll find ‘Photography’. If you click on that you’ll see that I am now getting a nice list of post titles. What would be really nice is if the system could generate a small thumb nail of the pictures contained within the actual posts in this category list.
I can see this could get complicated though as obviously the posts themselves have thumbnail versions of the images already. The category list thumbnails would have to be even smaller – a fixed size even. All of this would be applicable to the Photography category only. So any ideas with this? Or any other suggestions / better ways of doing this?
I’d take a look at the Category Templates in the Codex. Including the proper template tags in it might get the result you want. I am not sure about the details but probably you’ll figure out with some help.
I had a look at the link you gave. I can see that for my Photography category I have to create a category-xx.php file within the current theme directory. I see that there is a hierachy of files that the program looks at first namely:
category-xx.php
category.php
archive.php
index.php
So I’ve looked to see what category number ‘Photography’ is and copy the archive.php file to a new file category-85.php. I then tried putting in some unique ‘sticky-text’ as the information on the link tells you to, but it is not being displayed? As per my previous comments above, I removed <?php the_excerpt(); ?> from archive.php which worked fine. Now though, even though I’ve created this new category-85.php file it is not displaying anything different in this particular category to any other. Any ideas? Once I’ve got this cracked I know its then a simple case of editing this file specifically to get my thumb nail images to display (which I am still no nearer to working out how to do this by the way) …
In addition, if the system will create thumbnails (albeit by manual selection as to their size) then I would of thought that it would be possible to hard code the upload process to always create an additional thumbnail for the category listing that was of a fixed size, e.g. 100 x 100 pixels?
Would be grateful if someone would comment on this question …
I think I can help a little. I’ve been using a plugin called WPicasa. It works with Picasa 2. You create an extract from Picasa which you upload to an albums folder. Instead of a long-winded description here, please look at my site http://www.jwurster.us/wordpress/.
I have a Photographs category like you. I also just created a Page to call this Category.
WPicasa can be found at beaucollins.com/wpicasa/.
jim
I think this may do it – thanks for you’re response Jim :o)
There’s also another plugin called WP-Picasa-Gallery that may be an alternative.
I got WP-Picasa-Gallery to work. It may be more appropriate to what you want. It displays all the images that you uploaded in the post. WPicasa just shows the 1st image. Check out my site for examples.
jim http://www.jwurster.us/wordpress/