Title: [Plugin: Another WordPress Classifieds Plugin] Add support for wp_enqueue_scripts
Last modified: August 20, 2016

---

# [Plugin: Another WordPress Classifieds Plugin] Add support for wp_enqueue_scripts

 *  Resolved [ahuggins](https://wordpress.org/support/users/ahuggins/)
 * (@ahuggins)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-another-wordpress-classifieds-plugin-add-support-for-wp_enqueue_scripts/)
 * Hi, I would like to suggest a relatively minor code change that would support
   the enqueue_scripts function.
 * Basically on line 243 of awpcp.php, if you change:
    `wp_print_scripts`
 * To
 * `wp_enqueue_scripts`
 * Then theme editors or site editors that know what they are doing can turn off
   AWPCP scripts/styles from loading on every page of their site.
 * If there is a conflict of some type, mention it in the comments and I’ll see 
   if I can figure it out. There is a way to load the scripts conditionally so that
   jQuery can be loaded first if that is an issue.
 * For the way my site is set up it doesn’t seem to cause a conflict but doing this
   would save an http request on all other pages/single pages.
 * Thanks, and let me know if anything causes problems.
 * [http://wordpress.org/extend/plugins/another-wordpress-classifieds-plugin/](http://wordpress.org/extend/plugins/another-wordpress-classifieds-plugin/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [AWP Classifieds Team](https://wordpress.org/support/users/awpcp/)
 * (@awpcp)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-another-wordpress-classifieds-plugin-add-support-for-wp_enqueue_scripts/#post-2850043)
 * Great suggestion, we’ll check it out and if it’s OK, we’ll put it in shortly.
   Thanks.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Another WordPress Classifieds Plugin] Add support for wp_enqueue_scripts’
is closed to new replies.

 * ![](https://ps.w.org/another-wordpress-classifieds-plugin/assets/icon-256x256.
   png?rev=2944356)
 * [AWP Classifieds](https://wordpress.org/plugins/another-wordpress-classifieds-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/another-wordpress-classifieds-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/another-wordpress-classifieds-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/another-wordpress-classifieds-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/another-wordpress-classifieds-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/another-wordpress-classifieds-plugin/reviews/)

## Tags

 * [awpcp](https://wordpress.org/support/topic-tag/awpcp/)
 * [improvement](https://wordpress.org/support/topic-tag/improvement/)
 * [wp_enqueue_scripts](https://wordpress.org/support/topic-tag/wp_enqueue_scripts/)

 * 1 reply
 * 2 participants
 * Last reply from: [AWP Classifieds Team](https://wordpress.org/support/users/awpcp/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-another-wordpress-classifieds-plugin-add-support-for-wp_enqueue_scripts/#post-2850043)
 * Status: resolved