| name | language | licence |
|---|---|---|
| Better more link | PHP | BSD |
| WORDPRESS SHORTCODE | PHP | BSD |
| WORDPRESS INCLUDE PAGE CONTENT | PHP | BSD |
| WORDPRESS EXCLUDE CAT FROM FRONTPAGE | PHP | BSD |
| Change The Default Wordpress Excerpt [...] | PHP | BSD |
| Wordpress Page Loop | PHP | BSD |
| Wordpress: Page With Content From Only A Particular Category | PHP | BSD |
| LOADING JAVASCRIPT LIBRARIES IN WORDPRESS GENERATED PAGE | PHP | BSD |
< 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 >
language: PHP
licence: BSD
LOADING JAVASCRIPT LIBRARIES IN WORDPRESS GENERATED PAGE
options: view full snippet • send to code collector
//Load jQuery into WordPress generated pages, the wpenqueuescript function can be used in plugins as well. OR Add and load a new script that depends on jQuery (this will also cause it to load jQuery into the page as well).
<?php wp_enqueue_script('jquery'); ?>
<?php wp_enqueue_script('jquery'); ?>
<?php wp_enqueue_script('newscript','/wp-content/plugins/someplugin/js/newscript.js',array('jquery'),'1.0' ); ?>



library
buttons (3)
wp (93)