New answers tagged jquery
4
votes
Accepted
add_post_meta when jQuery button is clicked
WordPress Ajax to the rescue! You'll need to open up a function in WordPress that can be called via a javascript function, which is what the WP Ajax API was built for. It's a bit of a multi-step ...
0
votes
Add confirmation popup on “Move to Trash”
function confirm_delete_popup() {
global $pagenow;
// Verifica si estás en una página que comienza con "edit.php"
if ($pagenow === 'edit.php' || strpos($pagenow, 'edit.php?') ===...
0
votes
RequireJS in custom theme. Working Example
You can use require (commonJS modules) or import/export (ESM), and you can even mix both in the same project ("hybrid package" based on sub-folders). You will need a build tool to handle ...
0
votes
load wordpress events into full calendar jquery
Certainly, integrating custom post type events into the FullCalendar jQuery plugin can be a bit tricky but definitely achievable. Here's a step-by-step approach to help you get started:
Query Custom ...
Top 50 recent answers are included
Related Tags
jquery × 2362ajax × 592
javascript × 539
php × 378
plugins × 241
wp-enqueue-script × 187
functions × 167
plugin-development × 165
theme-development × 104
css × 85
jquery-ui × 79
forms × 64
html × 62
wp-admin × 59
customization × 57
woocommerce-offtopic × 57
posts × 53
custom-post-types × 48
widgets × 45
wp-query × 44
menus × 41
shortcode × 40
metabox × 38
uploads × 36
admin × 36