[SOLVED] Plugin stripping content?

edited March 2014 in Newsletter plugin
Hi.

Latest version of Wordpress - 3.8.1, and of the plugin - 4.1.2.

We're using the Gonzo theme from Themeforest:

http://www.olliemccarthy.com/themes/gonzo/

The theme uses php loop modules to display content on the page.  (see the smaller columns below the featured slider and the two large "world press" and "games" posts in the demo above.)

We chose the newsletter plugin because it specifically said you could send a page as a newsletter - here's our page:

http://redsedan.com/weekly-newsletter/

The body content is being ignored completely, and replaced with

[loop category=person-profile module=n numposts=1 ]

[loop category=newsletter module=o numposts=5]

Which are the shortcodes used to display content on the page.

We're not using any theme, and have shut off the newsletter plugin CSS as well.

Help?

Thanks!


Comments

  • 7 Comments sorted by
  • Vote Up0Vote Down
    I should add that this has only started happening recently.  Previous tests, the content came through perfectly.
  • Vote Up0Vote Down
    Thank you for your messages.

    So basically the shortcodes remain unparsed in the newsletter content, is that right?

    I look forward to your response.
  • Vote Up0Vote Down
    Exactly!

    Thanks much.
  • Vote Up0Vote Down
    Thank you for your response.

    It is possible that the theme only registers the shortcodes on the front-end. We often see themes and plugins using !is_admin() to register shortcodes so that they aren't unnecessarily registered in the admin panel where they are not needed. Can you check if this could be it?

    If you're not sure, we can investigate for you. Then you can open a ticket with a link and WordPress login details and we'll check for you if that's the case. You can open a ticket here: http://tribulant.com/support/

    I look forward to your response.

    All the best,
    Antonie
  • Vote Up0Vote Down
    Not sure where to even look for it - I opened a ticket:

    #390443

    It's a little time sensitive, because we're supposed to move and launch the site in 2 days.  Any help would be GREATLY appreciated.

    Thanks!
  • Vote Up0Vote Down
    Thank you for your response.

    We received your ticket, checked and my suspicion was correct.
    See this: http://goo.gl/9mZ3Aw . This is in the functions.php file of your theme.
    See how it uses the !is_admin() to only register the shortcode when not in admin ie... on the front-end only.

    The theme only registers the shortcode when not in admin.
    Since the Newsletter plugin runs and executes in admin, the shortcodes need to be registered there.

    I've changed the code for you, please try it out again.
  • Vote Up0Vote Down
    I emailed you back. :)
Sign In or Register to comment.