[SOLVED] How can I show thumbnails in excerpts
Using Wordpress 321 and Atahualpa 371
I'm trying to show thumbnails before the excerpts but I can't get it to work. I'm not sure I understand how it works. I read other posts about this but it didn't help me. In Configure Excerpts, I have selected Only Excerpts everywhere. In the Post Thumbnails section, I have set Thumbnails Width and Height to 150 and Crop to No. Post Thumbnail CSS is set to the default: float: left; border: 0; padding: 0; background: none; margin: 0 10px 5px 0; In Post Thumbnails / Post Thumbnail CSS, it says: Quote:
Thanks for your help Jules |
I think it's to do with the 'Stripping' of HTML tags.
I believe that in the Configure Excerpts Options page you need to add <img> and possible <div> in the 'Dont strip these tags' section - I believe you can go as far as adding <div class='post-bodycopy'> to not strip that specific <div> |
A post thumbnail is what shows when you add a featured image via the featured image box in the right hand column of a post.
To style this thumbnail you use the Post Thumbnail CSS box in that section of the theme options. |
Hey ! It works... Thanks a lot Larry.
Without a formal manual, some things are difficult to find. This is one of them. Your explanation solved the problem immediately. See here: http://julesgobeil.com/wpfr2/ Thanks Jules Problem solved ! |
All times are GMT -6. The time now is 07:47 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.