Post thumbnail
-
Hi!
I have a question.
Is it possible to get post photo and category to email?
-
Hello…
I just need simple answer. If it is possible please write me how. If not, ok.
Maybe I wrote something wrong…I need to include a featured image in the mail between title and excerpt and I need to put category of post above title. Is it possible?
Hi there, i am currently adding custom filters to make the plugin more extensible. So yes, it looks like that is going to be possible in the next version.
Thanks,
DanielHow long does it take ?
I do not hide that really, really need it, so maybe you have a quick hook to write in class-subscribe.php? I’m trying to add something from 3 days and I can’t get any category and image 🙁
I am hoping to have the time to release a new version during this weekend.
Ok, I will wait.
I have to run my page on monday and it is the last thing which i have to do.Hello!
Thanks for new version of the plugin. It’s great!
I have a problem with hook for featured image… I don’t know where to put it.
I tried a lot of options but it’s still nothing.Please help!
I have this code in email message, but i don’t know where to put a function:
<?php add_action( 'stc_after_message_title','my_stc_after_message_title', $email['post_id'], $email['subscriber_id'] ); ?>I did it 🙂
Nevermind 🙂Great!
Can I have the last question?
Is it possible to display post category in email?Sure, here is an example to print out the post categories after the email content.
function my_stc_after_message_content( $post_id ){ $categories = get_the_category( $post_id ); ?> <?php if(! empty( $categories ) ) : ?> <?php _e( 'Categories: ' ) ?> <ul> <?php foreach( $categories as $category ) :?> <li><?php echo $category->name; ?></li> <?php endforeach; ?> </ul> <?php endif; ?> <?php } add_action( 'stc_after_message_content', 'my_stc_after_message_content', 10, 2 );Thank you very very much 🙂 It’s awesome!
Does your plugin can get an author of post and date when post was published?Please answer.. 🙁
I’ll donate you.. I swear 🙁Ok. I did it alone
The topic ‘Post thumbnail’ is closed to new replies.