WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: List category posts] Images showing in list category posts (8 posts)

  1. lenaluna
    Member
    Posted 5 years ago #

    The plugin is working perfectly! thanx much!

    I have one question; is it possible to show thumbnail/images in the posts with this plugin? Now it is only showing excerpt or text content.

    any suggestions?
    thanx

  2. blago
    Member
    Posted 4 years ago #

    yes; I am using a thumbnails plugin (WP Post Thumbnail) and List Category Post and a custom template for displaying thumbnails. For the img source, you could use something like get_post_meta($single->ID, 'gallery_tmb', true) - and gallery_tmb would be the metatag for your thumb.

    The plugin isn't working totally perfect, tho'- make sure you back-up your template, as mine got deleted when I upgraded the plugin... AND its variable $cat_link_string renders a broken html end-tag: <a/> ought to be </a>, of course.

  3. liviuf
    Member
    Posted 4 years ago #

    i'm also interested on displaying images in the excerpt. I installed the |thumbnail-for-excerpts" plugin which automatically adds thumbnails to excerpts and it works in search page etc, but not on the posts list generated by List-category-posts.
    LCP only shows the excerpt text, not the thumbnail... how to do it?:D

  4. nathanmckenna
    Member
    Posted 4 years ago #

    I would also love to know how to this.
    I have a page called "projects" and want it to list all the posts with the category "projects", and show the thumbnail images.

    Please help! :)

  5. muaythai
    Member
    Posted 4 years ago #

    I'm trying to do the exact same thing- show thumbs for the list that LCP generates. Anybody?

  6. cripplepotatoehoe
    Member
    Posted 4 years ago #

    same here, anybody?

  7. gmotola
    Member
    Posted 4 years ago #

    Indeed, same here. I'd like to be able to change the template of the default so that the plugin pulls the thumbnail and displays it along side the post name so that it is more in line with the templates I am using on my site. You can see where I'm using the plugin here; http://gabriellemotola.com/members-only-area/
    I couldn't find any support online as to how to put what code where in the default.php template or indeed in the plugin itself (I am pretty new to PHP but It seems that code has to be in the plugin which is then called by the template?)

    Does anyone know how to make a new template with thumbnail support and more advanced layout features for this marvellously clever plugin which has saved the day? (just awaiting it to look a little better)

  8. nicole2009
    Member
    Posted 4 years ago #

    Did anyone find out how to do this (use the plugin with thumbnails)?

Topic Closed

This topic has been closed to new replies.

About this Topic