WordPress.org

Forums

Contact Form 7
Load scripts and styles only when there is shortcode? (5 posts)

  1. B_Dark
    Member
    Posted 2 years ago #

    I use contact form 7 in a multisite. I want the scripts and the styles to load only when there is in a page or a post that have the shortcode and if it is possible, I want them to load in the footer not in the header.

    http://wordpress.org/extend/plugins/contact-form-7/

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 2 years ago #

  3. B_Dark
    Member
    Posted 2 years ago #

    I did step 1. Now, how can I make the script and style appear in specific pages and posts in footer of my wp?

  4. B_Dark
    Member
    Posted 2 years ago #

    how can I make the script and style appear in my footer of my wp only when the shortcode is on a page or a post?

  5. B_Dark
    Member
    Posted 2 years ago #

    i find this can you check and see if is easy to add this ability to your plugin us default?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic