Title: andybarabash's Replies | WordPress.org

---

# andybarabash

  [  ](https://wordpress.org/support/users/andybarabash/)

 *   [Profile](https://wordpress.org/support/users/andybarabash/)
 *   [Topics Started](https://wordpress.org/support/users/andybarabash/topics/)
 *   [Replies Created](https://wordpress.org/support/users/andybarabash/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/andybarabash/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/andybarabash/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/andybarabash/engagements/)
 *   [Favorites](https://wordpress.org/support/users/andybarabash/favorites/)

 Search replies:

## Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PWA — easy way to Progressive Web App] Add to home screen missing](https://wordpress.org/support/topic/add-to-home-screen-missing-2/)
 *  Thread Starter [andybarabash](https://wordpress.org/support/users/andybarabash/)
 * (@andybarabash)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/add-to-home-screen-missing-2/#post-15884585)
 * Hello Marcin, thank you a lot!
    With 1.5.0 there’s now a place in settings where
   I can control A2HS settings, and the “add to home screen” prompt shows, at least
   in Google Chrome on Mac. Can’t test it on an Android phone right now.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PWA — easy way to Progressive Web App] Add to home screen missing](https://wordpress.org/support/topic/add-to-home-screen-missing-2/)
 *  Thread Starter [andybarabash](https://wordpress.org/support/users/andybarabash/)
 * (@andybarabash)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/add-to-home-screen-missing-2/#post-15883518)
 * Hello, thank you for your reply.
    I don’t see any “add to home” button on the
   demo with “foxes” you’ve sent me. So does it mean – there’s basically no such
   button when using your plugin? How can I be sure it’s the same for all devices
   and OS (Android etc.)? Or it can still be visible on some configurations? If 
   so – how does it look?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Postie] Add “From” field into post content](https://wordpress.org/support/topic/add-from-field-into-post-content/)
 *  Thread Starter [andybarabash](https://wordpress.org/support/users/andybarabash/)
 * (@andybarabash)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/add-from-field-into-post-content/page/2/#post-8534940)
 * I just didn’t notice there was the update.
    Looks like it solved the problem.
   I updated the plugin and now it works! Thank you a lot! 🙂
 * Hope this thread might be helpful for other Postie users.
    -  This reply was modified 9 years, 5 months ago by [andybarabash](https://wordpress.org/support/users/andybarabash/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Postie] Add “From” field into post content](https://wordpress.org/support/topic/add-from-field-into-post-content/)
 *  Thread Starter [andybarabash](https://wordpress.org/support/users/andybarabash/)
 * (@andybarabash)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/add-from-field-into-post-content/#post-8534581)
 * Here’s what I have inside filterPostie.php
 *     ```
       <?php 
       add_filter(‘postie_post_before’, ‘my_postie_post_before’, 10, 2);
   
       function my_postie_post_before($post,$headers) {
       $from = $headers[‘from’][‘mailbox’] . "@" . $headers[‘from’][‘host’];
   
       $content = $post[‘post_content’];
   
       $newcontent = "<p>Sent from: " . $from . "<br></p>". $content;
   
       $post[‘post_content’] = $newcontent;
       return $post;
       }
   
       ?>
       ```
   
 * I put _echo “in my\_postie\_post\_before”;_ instead of the _function my\_postie\
   _post\_before {…}_ part
    -  This reply was modified 9 years, 5 months ago by [andybarabash](https://wordpress.org/support/users/andybarabash/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Postie] Add “From” field into post content](https://wordpress.org/support/topic/add-from-field-into-post-content/)
 *  Thread Starter [andybarabash](https://wordpress.org/support/users/andybarabash/)
 * (@andybarabash)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/add-from-field-into-post-content/#post-8533116)
 * Checked this, the filter is being called:
    ⌊postie⌉
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Postie] Add “From” field into post content](https://wordpress.org/support/topic/add-from-field-into-post-content/)
 *  Thread Starter [andybarabash](https://wordpress.org/support/users/andybarabash/)
 * (@andybarabash)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/add-from-field-into-post-content/#post-8529262)
 * I modified the code, here’s how it looks now:
 *     ```
       <?php 
       add_filter(‘postie_post_before’, ‘my_postie_post_before’, 10, 2);
       function my_postie_post_before($post,$headers) {
       $from = $headers[‘from’][‘mailbox’] . "@" . $headers[‘from’][‘host’];
   
       $content = $post[‘post_content’];
   
       $newcontent = "<p>Sent from: " . $from . "<br></p>". $content;
   
       $post[‘post_content’] = $newcontent;
       return $post;
       }
   
       ?>
       ```
   
 * But still doesn’t work. Nothing is shown in posts except for email content.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Postie] Add “From” field into post content](https://wordpress.org/support/topic/add-from-field-into-post-content/)
 *  Thread Starter [andybarabash](https://wordpress.org/support/users/andybarabash/)
 * (@andybarabash)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/add-from-field-into-post-content/#post-8528235)
 * Thank you a lot! This really helps.
    I’ve updated my filterPostie.php file (and
   Postie sees it in debug mode), but unfortunately nothing changes when it comes
   to publishing new posts from emails 🙁 So, a line with ‘From’ email does not 
   show up.
 * My filterPostie.php now looks like this:
 *     ```
       <?php 
       add_filter(‘postie_post_before’, ‘my_postie_post_before’, 10, 2);
       function my_postie_post_before($post,$headers) {
       $from = $headers[‘from’][‘mailbox’];
   
       $content = $post[‘post_content’];
   
       $newcontent = "<p>Sent from: $from <br></p> $content"; 
   
       $post[‘post_content’] = $newcontent;
       return $post;
       }
   
       ?>
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Postie] Add “From” field into post content](https://wordpress.org/support/topic/add-from-field-into-post-content/)
 *  Thread Starter [andybarabash](https://wordpress.org/support/users/andybarabash/)
 * (@andybarabash)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/add-from-field-into-post-content/#post-8523265)
 * Thanks for the info, but I’m afraid I’m still not getting this.
    I created a 
   a file called FilterPostie.php, and added the filter there:
 *     ```
       <?php 
       function my_postie_post_function($post) {
           //do something here like update $post['post_content']
           return $post;
       }
   
       add_filter('postie_post_before', 'my_postie_post_before', 10, 2);
   
       function my_postie_post_before($post, $headers) {
           //Do something
           return $post;
       }
   
       ?>
       ```
   
 * Seems like now I just need to (1) introduce $email parameter somewhere and (2)
   add it to the post content (so that the first line of the post is “Sent from:
   $email”, and starting from the second line there goes email content). Am I right?
   What should I do next?
    Sorry for all these questions, I’m not a programmer at
   all.
    -  This reply was modified 9 years, 5 months ago by [andybarabash](https://wordpress.org/support/users/andybarabash/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Postie] Posite doesn’t work with Yahoo mail](https://wordpress.org/support/topic/posite-doesnt-work-with-yahoo-mail/)
 *  Thread Starter [andybarabash](https://wordpress.org/support/users/andybarabash/)
 * (@andybarabash)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/posite-doesnt-work-with-yahoo-mail/#post-8261726)
 * I’m not sure what I did exactly, but after several hours of attempts it finally
   works!
    Thank you for this awesome plugin.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Map My Posts] Target not working](https://wordpress.org/support/topic/target-not-working/)
 *  [andybarabash](https://wordpress.org/support/users/andybarabash/)
 * (@andybarabash)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/target-not-working/#post-7447853)
 * Same problem. All links in Geochart open in new windows no matter what I choose
   as Link Target.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Oblique] How to activate Infinite scroll?](https://wordpress.org/support/topic/how-to-activate-infinite-scroll-1/)
 *  [andybarabash](https://wordpress.org/support/users/andybarabash/)
 * (@andybarabash)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/how-to-activate-infinite-scroll-1/#post-6302914)
 * > I almost had something working with the Ajax load more plugin but could not
   > figure out how to replicate the theme’s format in the repeater template.
 * Same problem here.. can anyone help?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Oblique] Menu always visible in the header](https://wordpress.org/support/topic/menu-always-visible-in-the-header/)
 *  [andybarabash](https://wordpress.org/support/users/andybarabash/)
 * (@andybarabash)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/menu-always-visible-in-the-header/#post-6734135)
 * This is what I need, too. Up!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Video Gallery – YouTube Gallery & Responsive Video Playlist] Grab post thumbnail from video](https://wordpress.org/support/topic/grab-post-thumbnail-from-video/)
 *  Thread Starter [andybarabash](https://wordpress.org/support/users/andybarabash/)
 * (@andybarabash)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/grab-post-thumbnail-from-video/#post-7469499)
 * One update: I found a plugin which automatically searches for video thumbnails
   and makes them featured images for the post.
    However, it asks for:
 * > the name of the custom field where your embed code or video URL is stored.
 * Can you please tell me in which custom field your plugin stores embedded videos,
   or full video URL?
    I tried _emd\_video\_key_, but it didn’t work.

Viewing 13 replies - 1 through 13 (of 13 total)