I originally made this post, thinking that my problem was specific to the Ninja Forms plugin (the original post was obviously put on hold, for being off-topic). My reason for thinking so, was that WordPress' native gallery shortcode was working correctly, but it would seem that the issue affects all plugin shortcodes.

As this is no longer an issue with a specific plugin, but WordPress's ability to execute plugin shortcodes -- --, I've taken the liberty to assume that it is now considered on-topic.

Even with an empty functions.php file and the following as my only code, the issue still persists.

  if (have_posts()) : while (have_posts()) : the_post();

When inspecting the page, this appears to output some of what it's supposed to, in the form of a script or div, but it's as if the plugins are never rendered, despite being initialized.

I've been stuck here for a few days now, so if anyone could give me a push in the right direction, that would be amazing!

Note: I apologize if this is still considered to be off-topic. In case it is, please disregard this post.

  • does your theme have wp_head() and wp_footer()?
    – Michael
    Dec 19, 2016 at 17:39

2 Answers 2


As was pointed out by Michael, I had been missing the wp_head() and wp_footer() functions.

To anyone who might be in the same boat as I, you can have a look at the function references here (head) and here (footer).

Thank you, to anyone who took their time to help me out, even if all they did was read the question. I'm glad we reached a conclusion so quickly!


You should try to active the default wordpress theme like twenty eleven or like that and then see if the problem persist ?

If it is still there can you show a URL of your site so that I can have a look at it. Also please add the shortcode in that page which URL you are sharing with me.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.