Support » Plugin: MailPoet Newsletters » Date of post

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author MailPoet


    Hi Stevem,

    Unfortunately there’s no way to insert the date of the post on our editor, I’m sorry, seems like we missed this feature :_(

    In fact I found a simple workaround by hijacking the Author field. I realise that this is not a permanent solution since it will disappear at the next update. But I hope that that update will offer a date of post option.

    Just one line needs editing in wysija-newsletters/helpers/articles.php. On line 237 replace
    $content .= $author_name;
    $content .= "<em>".$author_name." on ".get_the_time('Y-m-d' , $post['ID'])."</em>";

    Clearly ‘Y-m-d’ can be replaced by any format including the current option get_option( 'date_format' )

    I also put Posted by instead of Author: when editing the Newsletter template. The result is
    Posted by xxx on 2014-06-20

    Is there any timeframe when this feature will be added? I do not want to hack the plugin code …

    Plugin Author MailPoet


    No, we’re in the middle of a plugin rewrite and we don’t have a timeframe for when this feature will be done, I’m sorry!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Date of post’ is closed to new replies.