Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.


I would like the thumbnail to appear before the title of the post here. I have tried making a list-category-posts folder right under my theme folder, with a new template file called thumb-before-title.php. The only thing I changed from default.php was I placed the

//Post Thumbnail $lcp_display_output .= $this->get_thumbnail($single);

right after "Start a list item for each post..." and right before "Show the title and link..."

I then added template=thumb-before-title to my shortcode, but I get an empty page. If I add template=thumb-before-title.php, I get a page of posts, but the thumbnail still appears after the title.

I have tried several other ways to make this work, all to no avail.

What do you suggest? Thank you so very much!

share|improve this question
Could you put the whole thumb-before-title.php file? So we could see how the variable $lcp_display_output is build? –  Webord Feb 25 '12 at 5:04
voted you up . . . . . –  wordpress Feb 25 '12 at 7:24

1 Answer 1

I'm not quite sure why your template changes aren't taking -- it looks like you're doing what you should. If you'd like to fix the problem via CSS, adding these rules to your styles.css file would make that page look nice:

.lcp_catlist li {
    margin: 0;
    list-style: none;
.lcp_catlist li img {
    margin: 5px 10px;
    float: left;
share|improve this answer
You Rock!!! Guess I should have gone CSS to start with. I was trying to call the img a thumbnail or post_thumbnail, not getting it right. You got rid of the list style too. This is such a relief. Thank you for your help. –  Christy Eller Feb 27 '12 at 22:38
Unfortunately, that messed up the formatting around the images in the content of the posts called on my home page: news-test.gnome.org I tried messing with the margin to fix that, but can't get it right. Any suggestions? Can we call it something besides img? –  Christy Eller Feb 27 '12 at 22:57
Hmm... if you just need it on that page you could use the Custom CSS plugin: wordpress.org/extend/plugins/safecss –  Nate Cook Feb 27 '12 at 23:40

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.