Viewing 2 replies - 1 through 2 (of 2 total)
  • Tim Nash

    (@tnash)

    Spam hunter

    Without looking at the code or the site I will go out on a limb and say one of your shortcodes is not using the Shortcode API and is trying to do it’s own regex which due to a change in the way the Shortcode API works in recent versions of WordPress means that some badly coded plugins and themes shortcodes fail (the good news is that it means malicious users can no longer trick your site into doing bad things).

    so first step, update to the latest plugins and theme if you haven’t already done so, the next step is to track down which offending shortcode is causing the issue. I’m going to generalise here and while their are some excellent theme developers out there, if your theme provides shortcodes that would be where I would start.

    Once you have worked out which is causing the issues contact the developers, it seems you have already reached out to the theme developers so if it is the themes shortcode causing issue, you might want to look for an alternate plugin that offers the same functionality or consider a new theme.

    Thread Starter beingngang

    (@beingngang)

    Thank you for your reply, it turns out they had to use return and not echo to display the output. I fixed it. Thanks again.

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

The topic ‘shortcode within shortcode problem’ is closed to new replies.