You can place the code in the header.php file within the head section,
but after the jquery.js file. However, if you only need this code on
one page, you could just place it in that page within script tags. As
long as you are using $(document).ready(function(), it doesn't matter
where it is placed
Also, you can use this pattern to use $ inside a closure:
(function($) {
// ... all your jQuery code using a $ in here
})(jQuery);
- Richard
On Wed, Feb 4, 2009 at 3:04 AM, MH1988 wrote:
>
> I finally found some documentation regardng this. It seems that using
> jQuery inconjuction with Word
I finally found some documentation regardng this. It seems that using
jQuery inconjuction with Wordpress is fine however, you must use
jQuery () instead of $. Further details also suggest that Wordpress
won't register a jQuery plugin.
On Feb 4, 6:43 pm, MH1988 wrote:
> Oh, thank you for respondi
Oh, thank you for responding back. I didn't think I would get a reply
at all.
The problem I am having seems to be that jQuery + the jQuery Cycle
plugin with simple fade and prev/next transitions does not work at
all. My main reason for using it is I would like to include it in each
Wordpress post
Is jQuery working at all? I've noticed that WordPress can be very
intrusive when you put javascript in posts. When I would first write a
post with js embedded it would work, but the instant I edited it online
the "helpful" editor textbox would reformat my js and break it.
If you want your galle
Can you elaborate on "having problems"?
On Feb 3, 8:57 am, MH1988 wrote:
> I am having problems using jquery with wordpress. I would like to use
> the simple gallery plugin but it will not fade in/out my images. Help?
6 matches
Mail list logo