Friday, November 1, 2013

Wordpress Upload Error after Custom Plugin Installation

Hiiiiiii, This post is all about a wordpress error  which you usually gets when you develop you own customs plugins and uses a jQuery code in the same manner as used in Core PHP.This error is  Actually Wordpress doesn't identifies "$" in your JQuery code, for that you have to use "jQuery" in place of "$" in your javascript code.But in this I'll be telling a standard way of writing Javascript code in Wordpress. The error is shown as below :
Wordpress Upload Error


Steps to Overcome This Wordpress error :

1. Write you Javascript jQuery code in the same standard normal way with "$". But now this jQuery code will be unidentified by wordpress.
2. To make you code identifiable to wordpress, you have to use a very popular wordpress function - "wp_enqueue_script" , with the help of which you can register your jQuery code to Wordpress.

To see the working of wp_enqueue_script() wordpress function, click here .


Hope you like this post……..Please Comment…………!!!!!!!!!





Tags:

0 Responses to “Wordpress Upload Error after Custom Plugin Installation ”

Post a Comment

© 2013 MyCodeStock. All rights reserved.
Designed by SpicyTricks