Support » Plugin: TPG Get Posts » Featured Image

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author cswaim


    I am not sure what you are asking about, can you provide some context – like how are you using the plugin, shortcode or link to a page.

    here have a look
    this is the website

    as you can see the test is the one using tpg posts
    i want the image to be displayed resized…

    Thank you

    Plugin Author cswaim


    The format of the image over the title & text is not available at this time. The two formats available at this time are the standard post with the image below the by-line and in the premium version a magazine layout where title,and content are next to the image.

    The size of the image is controlled with the thumbnail_size= parameter. See the doc for the various options.

    I am updating the plugin and may offer the featured image format but I will need to look at the impact to the other changes.

    ok got it.. thank you but two question
    how can i make the thumbnail one exact size…
    two how can i get only the 2nd latest post or the third latest post

    Plugin Author cswaim


    your theme may set different sizes for thumbnails and you should be able to use any of those sizes specified by the theme. My examples and doc only reference the standard, default wp. You can find the sizes supported by your them in functions.php add_image_size function.

    To pull the 2nd/3rd post, use the offset parameter see the for WP_query it discusses how the offset works, but in general something like numberposts=1 offset=2

    I am targeting an update to be released in mid to late August which will address some of these issues.

    ok got it thank yo so much!!!!
    another quick question how should i change the read more link to a button like this

    thank you

    You’d probably have to edit your theme to change the more button to a link

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Featured Image’ is closed to new replies.