New answers tagged

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 ...
Greg Burkett's user avatar
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?') ===...
franksysgfx's user avatar
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 ...
Ingo Steinke's user avatar
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 ...
AkshatLive's user avatar

Top 50 recent answers are included