Support » Plugin: AWPCP - Classifieds Plugin » [Plugin: Another WordPress Classifieds Plugin] Add support for wp_enqueue_scripts

  • Resolved ahuggins


    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:



    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.

Viewing 1 replies (of 1 total)
  • Plugin Author awpcp


    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.