Hi,
I’m already using %POST_CONTENT%, but all I get is the Post Description (in my case, Product Description). No featured image is added to the emails.
You mention a second method using a filter. I’m afraid this is beyond my capabilities. Is there a code I can add to .php functions? Would it be too much to ask for you to share the code?
Sorry for the newbie questions.
Thank you!
I’ve just posted an update to Email Users which adds a new substitution keywork – %POST_FEATURED_IMAGE%. See if this will address what you are trying to accomplish.
Featured images are also known as “post thumbnails” and WordPress supports several sizes and a theme can then define additional sizes. What I’ve implemented is the “default” size which is usually set by the theme. I believe if the theme doesn’t set the default size, WordPress will return the thumbnail size. I am using get_the_post_thumbnail() to get the image.
-
This reply was modified 8 years, 3 months ago by
Mike Walsh.
WOW, Mike! This is magnificent support! Worked like a charm.
It seems my theme returns a full size thumbnail, but it’s very easy to manually adjust the image to medium size before sending out the emails.
Congratulations for this awesome plugin and thank you so much for all your help.
Kind regards,
Luís