WordPress.org

Ready to get started?Download WordPress

Forums

Newsletter
[resolved] Theme subject ignored, always displays "Here the email subject" (9 posts)

  1. jbx
    Member
    Posted 1 year ago #

    I wish to make my theme work in a way that the default subject is the first post title. So I started simple by putting something like:

    $theme_options['subject'] = "My Subject";

    However, the email subject always comes up as "Here the email subject".

    I tried it also on the theme-3 which should be doing something similar to what I am trying to do according to the code, but it is also behaving in the same way and the subject is never taken from the theme.

    Should I be using some other option instead of $theme_options['subject']?

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

  2. jbx
    Member
    Posted 1 year ago #

    Sorry to bump this, any idea why I can't override the subject in my theme?

  3. Stefano Lissa
    Member
    Plugin Author

    Posted 1 year ago #

    I'm fixing it on version 3.1.

    Stefano.

  4. jbx
    Member
    Posted 1 year ago #

    OK thanks.
    When do you think you'll be releasing the new version?

  5. Stefano Lissa
    Member
    Plugin Author

    Posted 1 year ago #

    I think tonight, I hope my test has been enough extensive but if you still find bugs, let me know.

    Stefano.

  6. jbx
    Member
    Posted 1 year ago #

    Sure of course. Thanks!

  7. jbx
    Member
    Posted 1 year ago #

    Hi Stefano,

    I just upgraded to version 3.1.1 and tried this again and I am still getting 'Here is the email subject'.

    In my theme I have this line to test it out:

    $theme_options['subject'] = "Weekly Update";

    But it isn't having any effect.

  8. Stefano Lissa
    Member
    Plugin Author

    Posted 1 year ago #

    Sorry, the documentation is faulty. Use $theme_subject='...'; in your theme and it should work!

    Stefano.

  9. jbx
    Member
    Posted 1 year ago #

    Oh, it works now. Thanks!

    You might want to fix the theme-3 that comes with the default installation in your next release, because it uses $theme_options['subject'] so someone following it as an example will get it wrong.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic