WordPress.org

Forums

Contact Form 7
Not fluent in PHP: how to do this? (1 post)

  1. leopardman
    Member
    Posted 1 year ago #

    If I want to load the script and css ONLY on pages where I actually have the contact form, I found this page that tells me how to go about it.

    Yet, I am not great in PHP, and am not sure how to do the below:

    "Note that wpcf7_enqueue_scripts() and wpcf7_enqueue_styles() must be called before wp_head() is called."

    How do I call the enqueue scripts and enqueue styles before the wp_head is called?

    Thanks!

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

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

Tags