Browsing Category

Wordpress Ajax

WordPress REST API custom endpoint for method POST

I am currently working on a project which requires a WordPress website and a simple REST api. I discovered that WordPress has its own REST

How to cache Ajax Response in WordPress?

I am using two div(s). In the first div, all the WordPress users are shown on a page, with “ADD” Button Option. By adding Users,

wordpress ajax does not activate callback function

I’m struggling mightily with this for a couple of days already, so any help is most welcome. Not my first time setting up Ajax with

Use ajax to load more content in category post widget, but post duplication issue whenever same widget is used twice in widget section

I am developing a WordPress magazine theme, and I have a category post widget for the homepage where posts are filtered with category and total

Append <option> on the fly using AJAX and select it without refreshing page

I have a select form, to which I add a new option on the fly using jQuery. After a new option is created, I want

Effectively adding in a load more button, my current one does not work

On my front page I have a load more button appear after every 14 posts. I have an example below of the desired layout. The

load .php file in div with ajax (wordpress)

I have a script that shows a box after i clicked a download link in my single page (this works). I also want it to

update image src using ajax and Php function

i want to change my image on click function using ajax in wordpress: my code is here: JS: jQuery(".swatchinput label").click(function(){ var mycolor = jQuery(this).attr("data-option"); var

Buddypress Upload Avatar Ajax bug

I am usig: Buddypress Upload Avatar Ajax plugin. When I’m going to crop give me a JQuery problem. How can I fix? https://drive.google.com/open?id=0B4b1uxZA2ILNQ0JHTVk5UTFfclU What is

WooCommerce – Modify the price of a product only for a particular customer if it enters a promotional code and add it to the cart?

Is it possible to programmatically modify the price of a product only for a particular customer if it enters a promotional code and add it

WordPress Custom Menu Loaded From External Site

We are currently trying to share a flyout menu across all of our sites, and so we have an endpoint set up on the main

Pass variables through AJAX to woocommerce_before_calculate_totals

Good afternoon, I need to pass variables using AJAX to the next function in the “functions.php” of my template. add_action( 'woocommerce_before_calculate_totals', 'woocommerce_pj_update_price', 99 ); function

WordPress Jquery Ajax form progress bar loading quickly before showing response

jQuery('.progress', form).css('width', '0'); jQuery.ajax({ xhr: function () { var xhr = new window.XMLHttpRequest(); xhr.upload.addEventListener("progress", function (evt) { if (evt.lengthComputable) { var percentComplete = evt.loaded /

WordPress Jquery Ajax form progress bar loading quickly after showing response

jQuery('.progress', form).css('width', '0'); jQuery.ajax({ xhr: function () { var xhr = new window.XMLHttpRequest(); xhr.addEventListener("progress", function (evt) { if (evt.lengthComputable) { var percentComplete = evt.loaded /

wordpress form ajax + save form in bdd

I have a probleme with a dev from one day so i post here. Maybe someoine have a solution. I created à custom contact form

wordpress plugin jquery ajax call to function not working

JQuery Code: jQuery("#dmhsc-form").on("submit", function () { var form = this; if (jQuery("input[name='url']", form).val() == "") { jQuery("div[id='results']", form).html('<div class="not-available">Please, Enter site address.</div>'); return false; }

Back to Top 145132 wordpress questions, 32 Wordpress answers.
Wordpress related, All rights reserved
Powered by Creative Advertising