WordPress.org

Ready to get started?Download WordPress

Forums

Subscribe2
[resolved] Post link not in right place in digest mail (5 posts)

  1. Aphrodite
    Member
    Posted 2 years ago #

    hi !

    8.1 solved many issues but there is still this one :

    Here is the code of digest :

    {BLOGNAME} a posté un nouvel article, 
    
    {POST}
    Vous pouvez voir le nouvel article à l'adresse
    {PERMALINK}
    <br /><br />

    BUT the post link still appears BEFORE the post content. just under 'blogname' posted a new post

    any tip ?

    http://wordpress.org/extend/plugins/subscribe2/

  2. mattyrob
    Member
    Plugin Author

    Posted 2 years ago #

    @Aphrodite,

    If you look in Subscribe2->Settings at the list of keywords you should see that some of them indicate that they are only for per-post emails or only for digest emails while some are common to both notification types.

    {PERMALINK} is only for per-post emails which is why it is not working for you as you are expecting in digest emails.

  3. Aphrodite
    Member
    Posted 2 years ago #

    mmmmm ok so the code is not correct. Will have a look on that :)

    thanks !

  4. Aphrodite
    Member
    Posted 2 years ago #

    Ok, but there is NO text area to setup the digest mail.

    So what can i do for it to be clean ?

  5. mattyrob
    Member
    Plugin Author

    Posted 2 years ago #

    @Aphrodite,

    The same template is used to set up the digest email as is used to set up the per-post email. You have less direct control though as the post content has to be concatenated into a string for sending. Allowing customisation of the order in a loop is something beyond my PHP capabilities.

    If you want to amend this yourself you need to edit the code in the subscribe2_cron() function in the classes/class-s2-core.php file.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags