WordPress.org

Ready to get started?Download WordPress

Forums

TPG Get Posts
[resolved] How to remove thumbnail (5 posts)

  1. kristii143
    Member
    Posted 9 months ago #

    How do I remove the thumbnail from the default? I've added the command

    post_thumbnail=false

    and tried

    post_thumbnail=none

    neither have worked.... I basically know nothing about code.

    Thanks!

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

  2. kristii143
    Member
    Posted 9 months ago #

    this is the actual code i have included on my homepage

    [tpg_get_posts fields="title,byline,content,metadata" numberposts=3
    field_classes="post_title=tpg-title-class,post_content=tpg-content-class,post_metadata=tpg-metadata-class, post_byline=tpg-byline-class,post_thumbnail=false"]

  3. kristii143
    Member
    Posted 9 months ago #

  4. cswaim
    Member
    Plugin Author

    Posted 9 months ago #

    there is a syntax error in your shortcode and missing option:
    change
    ....post_byline=tpg-byline-class,post_thumbnail=false"]
    to
    ....post_byline=tpg-byline-class" thumbnail_size="none"]

    you really don't need the fields or field_class options if you are not overriding the defaults, try:

    [tpg_get_posts numberposts=3 thumbnail_size="none"]

  5. kristii143
    Member
    Posted 9 months ago #

    woo! thank you for your help :-) i searched for hours all over the internet...

Reply

You must log in to post.

About this Plugin

About this Topic