WordPress.org

Ready to get started?Download WordPress

Forums

TPG Get Posts
[resolved] list of titles with thumbnails (5 posts)

  1. Joy
    Member
    Posted 1 year ago #

    Looking at the code and options, I don't see a way to get a list of titles with thumbnails (no content or excerpt).
    Did I miss it?

    http://wordpress.org/extend/plugins/tpg-get-posts/

  2. cswaim
    Member
    Plugin Author

    Posted 1 year ago #

    Not sure if the plugin will do that but try these options

    tpg_get_posts show_meta="false" thumbnail_size="medium" show_byline="false" shorten_content="c0" text_ellipsis='' more_link_text=''

    Post back if this works to let everyone know. thanks

  3. Joy
    Member
    Posted 1 year ago #

    That did work, but it's not very intuitive.
    When I was in the code, I noticed that the case where excerpt=false still returns the post -- the same as when the excerpt=true but is empty.

  4. Joy
    Member
    Posted 1 year ago #

    Oh yeah, and I don't see a way to specify a class on the thumbnail. It is defaulting in the code to alignleft with no way to get rid of that. Can you default to a tgp class instead of a WordPress required class since I don't want to change the definition of alignleft?
    And is there an option to not load your stylesheet?
    One more thing, it sort of defeats the purpose wrapping an image in a class if you use a div. Could you use a span instead?

  5. cswaim
    Member
    Plugin Author

    Posted 1 year ago #

    See the changes in release 2.1. Several of your comments are addressed.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.