I'm trying to create a WordPress plug-in by myself, but are there any recommended sites, books, etc. for reference?
I tried to search the site myself, but I found only the main site for local creation.
I want to know mainly
・ There is explanation from basic part to registration method to official site
(I want to know the procedure for paid plug-ins)
・ I want to import jquery in the plug-in
How to prevent collision when already loaded by another plug-in
-
Answer # 1
-
Answer # 2
See formula for registration
To avoid conflicts with other plugins
Through loading jQuery etc. using the built-in WP and using wp_enqueue_script
The function name should have a plugin-specific prefix
Create a separate namespaceThe constants, classes, and functions that are likely to collide
Declare after checking existence
Related articles
- i want to use jquery plugin "readmorejs" for wordpress
- web server - how to create a wordpress site in spanish
- php - can't update plugin in wordpress admin screen
- i am using the wordpress plugin "smash balloon social post feed" (formerly custom facebook feed), but the image is no
- wordpress - is it possible to create an english version of the website in the same domain?
- php - i don't know how to load and use jquery in my own wordpress theme
- wordpress plugin really simple csv importer does not import post_tags properly
- redirected to https even if the wordpress redirect plugin is disabled
- email - wordpress plugin wp mail smtp does not connect to host
- jquery - i want to create a slider whose content animates only once at the slide timing
- if you do "insert link" of tablepress of wordpress plugin, it will be displayed twice
- can wordpress create a question site like yahoo chiebukuro?
- slider jquery plugin "jquery lightslider" is not displayed when uploaded to the server
- jquery - i want to use the asynchronous transition plugin installed with npm with vscode
- jquery plugin - send datepicker form
- javascript - i want to create a switching tab using jquery
- php - wordpress plugin i want to limit the number of times i repeat smart custom fields
- i want to create an archive with wordpress (php) tags
- html - introducing jquery plug-in "vegas2", characters are broken
- jquery plugin - slick cannot be implemented
- jquery : How to update cart after increasing product quantity in WordPress
- where can i touch php? ?? (wordpress)
- php - i want to output the page number 01 02 03 with pagination paginate_links
- how to make the article list called by php into a cocoon theme blog card type
- php - [wordpress] about jquery errors
- javascript - flexslider doesn't work on smartphones and tablets
- php - [jquery] about ajax communication outside the management screen
- javascript - after completing the inquiry form, the button will be able to be able to send
- jquery doesn't work on wordpress
- javascript - i want to use the js code published on another site, but i get an error
I have forgotten whether js has been imported, but the book "Bible of WordPress plugin development that dramatically increases the scalability of the site" is from the creation of a very simple plugin to the registration of the official directory It seemed to be listed.