Home Forums Newsletter Plugin Support newsletter_get_post_image

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #9906
    sroux
    Participant

    Hi,

    I’de like to modify this function newsletter_get_post_image which is called from my theme (based on theme.php).

    Where can I find it?

    I’d like to change its behavior by retrieving post image/thumbnail only if a post thumbnail has been defined!

    #9907
    Stefano
    Keymaster

    On includes/module.php but you can pass on an alternative image as fourth parameter.

    Bye, Stefano.

    #9934
    sroux
    Participant

    Hi Stefano,

    Thanks for your help! it works great thanks for your help.

    newsletter_get_post_image($post- />ID,”,’http://www.blabla.com/wp-content/extensions/newsletter/feed/themes/blabla/images/noimage.png’)

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.