The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
30 views

Use wp_enqueue_scripts from included php file

I've got a realy hair pulling problem here. I've started cleaning up a plugin i've made and sort some of the functions in diffrent files. but i've got a problem with wp_enqueue_scripts. when i ...
0
votes
1answer
75 views

wp wp_register_script function results type parameter missing

I used the following code wp_register_script('jquery', get_bloginfo('template_directory').'/js/jquery.js', false, '',false); wp_enqueue_script('jquery'); It includes the script as ...
0
votes
1answer
111 views

can't access dashboard and showing forbidden page

i cant access my dashboard. after i make true the wp-debug it shows the following error. Notice: wp_register_script was called incorrectly. Scripts and styles should not be registered or enqueued ...
0
votes
1answer
133 views

Child Theme - what is the scope of overwriting files?

I noticed that creating twentythirteen-child/archive.php overwrites twentythirteen/archive.php but creating twentythirteen-child/shortcodes/drop-cap/drop-cap.php does not overwrite ...
0
votes
0answers
18 views

Why would javascript files be included in header on one site, but not others?

Why might some javascript files be included in the head section on one site, but in the footer of hundreds of other similar sites? I have several different multisite Wordpress installations on my ...
0
votes
0answers
37 views

how to change the wp register page url from www.site.com/register-2 to www.site.com/register

I was playing around with buddy press and had to create and delete the register page before i found the register page properly on my site. I want to keep my site clean and now when I create a new ...
0
votes
0answers
61 views

Enqueue a <script> block into <head>

I'm building a plugin that uses a shortcode to display a map and list of locations. Part of displaying that list of locations requires a handlebars.js template. That template exists as a script block ...
0
votes
0answers
34 views

custom script not loading at admin pages

I want to load a custom script on the admin pages. Seems simple right. Still, for some reason the script is not loading. I've tried putting this in my themes functions: add_action( ...
0
votes
0answers
148 views

A data field is not inserting into database table from custom registration form

My registration form working fine. All data inserting into database table but "About/Bio" field not inserting into database table. Please help me out <?php function registration_form( ...
0
votes
0answers
65 views

How do I get my theme scripts to load in a custom theme built from Bootstrap

I have created my own theme, pretty much from scratch, using Bootstrap 3.x. If just refer to the scripts from my footer.php file, it works. However, if I try to do it the right way, using ...
0
votes
0answers
769 views

wp_enqueue_script() doesn't work with AJAX

My problem is: I made an AJAX call using this code wp_enqueue_script( 'prefix-myscript-name', plugins_url( 'js/ajaxcall.js', __FILE__ ) ); I made the call and the AJAX just going fine. I used this ...