Are the jQuery docs applicable to WordPress?

Posted about 1 year ago by Cody Bishop

Post a topic
Answered
C
Cody Bishop

We are looking to have the option for a user on a product page to click a UI element in the product design tool and upload their images from a 3rd party library API.


Are the jQuery API documents applicable to modifying the WordPress code?

0 Votes

FPD Helper

FPD Helper posted 12 months ago Best Answer

Hello Cody Bishop,


Yes, jQuery can be used to modify WordPress code as long as the jQuery library is properly enqueued in WordPress. The jQuery API documents can be used as a reference for working with jQuery in WordPress. However, it's important to note that jQuery is just one of many JavaScript libraries available, and there may be other libraries or WordPress-specific functions that are better suited for certain tasks.


It's also important to follow WordPress coding standards and best practices when modifying WordPress code to ensure compatibility with future updates and to avoid conflicts with other plugins and themes. If you're not familiar with WordPress development, it may be helpful to consult the official WordPress Developer Handbook or seek guidance from the WordPress community.


Thanks

0 Votes


1 Comments

FPD Helper

FPD Helper posted 12 months ago Answer

Hello Cody Bishop,


Yes, jQuery can be used to modify WordPress code as long as the jQuery library is properly enqueued in WordPress. The jQuery API documents can be used as a reference for working with jQuery in WordPress. However, it's important to note that jQuery is just one of many JavaScript libraries available, and there may be other libraries or WordPress-specific functions that are better suited for certain tasks.


It's also important to follow WordPress coding standards and best practices when modifying WordPress code to ensure compatibility with future updates and to avoid conflicts with other plugins and themes. If you're not familiar with WordPress development, it may be helpful to consult the official WordPress Developer Handbook or seek guidance from the WordPress community.


Thanks

0 Votes

Login or Sign up to post a comment