• So is it possible to enqueue styles and scripts onto the Coming Soon page? I am looking to utilize the gravity forms plugin but need to be able to enqueue the javascript and css that normally gets loaded.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author NiteoThemes

    (@niteo)

    Well well. You can insert custom CSS in the settings and also Javascript directly to content or instead / part of custom Analytics JS code under SEO tab.

    Thread Starter WP CMS Ninja

    (@billiardgreg)

    Wasn’t able to do it, Kept getting a cross site scripting message on save even though the files are within the local website. It is also because it removes <scripts> tags when this is how the includes are happening. So do I need to copy the source of these files into the SEO tab or is there a way to possibly on an action called within your plugin to then enqueue these scripts?

    Plugin Author NiteoThemes

    (@niteo)

    Yes, SEO tab is not meant to enqueue external scripts, so you would need to copy the source code in there for now.

    I am planning to include couple of do_actions() in next update which can developers use for hooking their own code, including external scripts.

    Would that be helpful?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Enqueue css and scripts?’ is closed to new replies.