zedzedzed / table-of-contents-plus

https://wordpress.org/plugins/table-of-contents-plus/
GNU General Public License v2.0
53 stars 27 forks source link

Investigate enqueueing of scripts & styles #81

Closed zedzedzed closed 9 years ago

zedzedzed commented 9 years ago

Reported by michael on 15 Mar 2013 07:10 UTC Reports suggest that the current method is not compatible.

Maybe the newer versions have changed the way?

http://dublue.com/plugins/toc/comment-page-3/#comment-1677 http://wordpress.org/support/topic/correctly-enqueue-scripts?replies=2

zedzedzed commented 9 years ago

Comment by michael on 16 Mar 2013 12:20 UTC WordPress 3.3 improved the css/script enqueuing, see http://scribu.net/wordpress/conditional-script-loading-revisited.html

zedzedzed commented 9 years ago

Comment by michael on 17 Mar 2013 03:20 UTC More info at http://wpcandy.com/teaches/how-to-load-scripts-in-wordpress-themes/

zedzedzed commented 9 years ago

Comment by michael on 17 Mar 2013 04:28 UTC In [changeset:"213"]:

re #86
zedzedzed commented 9 years ago

Comment by michael on 17 Mar 2013 05:06 UTC In [changeset:"214"]:

re #86
no more need for init
zedzedzed commented 9 years ago

Modified by michael on 17 Mar 2013 05:07 UTC

zedzedzed commented 9 years ago

Modified by michael on 21 Mar 2013 13:00 UTC