Various issues
-
Hello,
Great tool, thanx.
Just a few issues:Including an image in the email, ie: featured thumb, post-thumbnail, results in sending the full uncut image.
fix = file:
plugins/simple-subscribe/libs/SimpleSubscribe/Email.php
line: 348;
Html::el('td style="width: 30%"')->setHtml(wp_get_attachment_image(get_post_thumbnail_id($post->ID), 'simpleSubscribeEmail')))
change to:
Html::el('td style="width: 30%"')->setHtml(wp_get_attachment_image(get_post_thumbnail_id($post->ID), 'thumbnail')))
If simpleSubscribeEmail is an image size, please don’t. This plugin does not need to be creating image sizes.
Issue with the shortcode:
result fails to respect the post content order, ie:
if post content = text – image – simple subscribe shortcode.
the response = simple subscribe shortcode – text – imageThis is a result of your shortcode function, if it ends with a return,
it should end with: return do_shortcode($output)
I think that might be the issue. Test this yourself, maybe it’s my setup.HTH
- The topic ‘Various issues’ is closed to new replies.