0
votes
1answer
33 views

Not getting the Correct JSON response from Ajax Request

I am trying to save data from backend with ajax. But its returning data in HTML as well. But i want only JSON data. ////////////////////////////////// // Do Ajax Request to ...
0
votes
1answer
17 views

using jquery serialize in ajax operation for plugin

I am writing a plugin with dynamic no. of input fields in form. To submit form via ajax, I have used jquery serialize() function. $(".submit").submit(function( event ) { ...
0
votes
0answers
20 views

Infinite scroll on sidebar widget

I am trying to add an infinite scroll functionality to a website i am building, but i want to add it to a sidebar widget. I have a widget that shows a list of recent posts, and i would like to add an ...
0
votes
1answer
43 views

ajax request not returning the result

i am using custom plugin to display the values on the wordpress admin side.. My Jquery html file is <script type='text/javascript'> jQuery(document).ready(function(){ ...
0
votes
1answer
41 views

How do I convince this button to do something when it is clicked?

I'm trying to use ajax to give me an alert when I click a button. Eventually I want it to do some form validation, but for now I would be happy just to see the alert. I've read the docs and about a ...
1
vote
0answers
69 views

Using color picker in plugin, does input attribute order matter?

I'm trying to use the WP color picker in a plugin admin menu and it doesn't seem to be doing anything at all. I'm following the directions here: ...
0
votes
0answers
30 views

Ajax not working in Wordpress but works fine elsewhere?

I'm using an image gallery plugin with WP theme twentyfourteen. I embedded a submit field in one of the plugin's files which executes just before the gallery is loaded and sorts the images. All the ...
0
votes
1answer
124 views

Form isn't inserting data into database with ajax plugin

I've been working at this for weeks without success. I've figured out problem after problem with the code, but none of the corrections seem to fix my core problem. The form doesn't insert anything ...
0
votes
0answers
44 views

Like/Dislike Bar not working when updating

I'm trying to integrate Like/Dislike Bar in a Wordpress plugin . It Works Properly when total page reload/refresh . But whentime Like/Dislike Bar refresh from ajax that time its not working . This is ...
0
votes
0answers
55 views

How to use Shortcode Plugin with AJAX loading?

I'm using Wordpress 3.9.1 and a Theme that utilizes AJAX loading. (the site is here: http://phoenixwave.com/test/ ) I've installed a plugin to add more shortcode abilities. Problem is, once a page ...
0
votes
1answer
44 views

Ajax Call in page theme not working?

Ok, i am VERY new to wordpress (2 Hours new). I am creating a page template, which works fine, but this is the issue i am having: In the template.php file, i have this code: <script ...
0
votes
0answers
62 views

jQuery Ajax: re-executing plugin on success, when plugin function is NOT known beforehand

I'm a WordPress theme developer and I've building an ajaxified theme having structure like this ... <body> <div id="site-header"> content here </div> <div ...
0
votes
1answer
67 views

display user input using ajax in wordpress

I want to display user input with ajax . but still is executed function fail in js file. I dont know where the problem might be. I read http://codex.wordpress.org/AJAX_in_Plugins and I saw ...
1
vote
0answers
39 views

Voting comparison plugin gets stuck in a loop, stops generating new votes

Edit: cut down the text drastically, sorry about that! For some users, at some point it will suddenly stop loading new votes for them, either looping the same one over and over or the same set of ...
0
votes
1answer
64 views

Ajax, jQuery and Wordpress

I'm having trouble getting AJAX and jQuery to work with WP, and wondering if someone can point me in the right direction. I have a form, and I want to pass the data from the form to a PHP function, ...
0
votes
1answer
46 views

subscriber can edit and delete their comments while logged on

I want subscribers can edit and delete their own comments on the post of my site anytime while logged on only. Can anybody please explain me how to do it. I used the Editable comments plugin, it does ...
0
votes
0answers
104 views

How to handle cookies from a WordPress plugin on a cached page?

I'm attempting to write a plugin that can work with cookies on a WordPress site that uses page caching (why?). I've been following this tutorial on Esanctuary.net. I'm trying to write to the ...
0
votes
0answers
43 views

Ajax Auto Complete Convert All Plural Text To Singular

I am trying to create a wordpress search plugin that if you enter a text or keyword term, it would automatically convert any plural text to singular text e.g. "dogs" will become "dog" I am already ...
0
votes
0answers
36 views

Plugin constructor called multiple times

I have plugin with the following structure - class emailPlg { static $tableName; static $pluginDbVersion = 1.0; function __construct() { global $wpdb; ...
0
votes
0answers
44 views

Hyperlink to execute PHP

Below is code that will add a column called Printed to Gravity Forms and display a green or red dot representing if the form has been printed. If the form has not been printed, I am trying to a) ...
0
votes
2answers
209 views

Loading by Ajax a plugin that also uses Ajax

I'm having problems with some "contact form" plugins whose use Ajax. The problem is that I use Ajax to call the plugin. Then the plugin is loaded, but when I try to submit the form, I'm redirected to ...
0
votes
1answer
17 views

How to get site homepage from plugin?

I am creating a plugin that has a preview, kind of like the theme customizer preview. It displays the users site in an Iframe. The issue is that I can't seem to be able to get the users homepage using ...
0
votes
0answers
105 views

Contact Form loaded with Ajax

I'm loading Contact Form plugin with an Ajax request. It is correctly loaded, but when trying to submit the form, I get a blank page with a 0 as unique response. I'm guessing it has something to do ...
0
votes
1answer
174 views

how to call ajax on frontend of wordpress

In my plugin folder I have two file 1. hello-ajax.php 2. myajax.js and by shortcode I add this form on frontend <form id="theForm" method="post"> <input id="name" name="name" value = ...
1
vote
1answer
76 views

Wordpress Plugin Page is Loading in Admin Content Container Instead of Separate Page

I am creating a wordpress plugin that has it's own UI. It looks like a standard web application, so everything that is done within the plugin is handled in this UI instead of integrating it with the ...
0
votes
1answer
109 views

How to load a plugin when doing an Ajax call? [duplicate]

I have posted this question: How to use shortcodes on a widget sidebar when doing an ajax call?, with no answers. Now I want to ask a more specific question. The problem seems to be that the ...
0
votes
0answers
41 views

Ajax Not Working If The Handler is Located Outside Plugin Submenu Page Function

I am using wordpress ajax to trigger a submission. I located the submission code in the submenu page, because of it is have conflict with the function in plugin main page. The problem here is, I ...
0
votes
0answers
95 views

How can I include scripts in a jquery loaded page, for a jquery wordpress widget?

Iam writing a wordpress widget with the following pages 1) I have master page (master.php) - is the main plugin page - Loads a second page (slave.php) with jQuery 2) The slave page - has php, ...
0
votes
1answer
28 views

Build and ajax plugin not work

I have this code on a plugin function ajaxp_init(){ /* * registro del script */ wp_deregister_script( 'jquery' ); wp_register_script( 'jquery', ...
0
votes
1answer
44 views

Admin-ajax.php is dying “0” without processing function

I am trying to learn how to process AJAX requests in Wordpress the correct way. To do this I am adapting this tutorial to create a super simple AJAX request to place the ID of a post (from a link) ...
2
votes
1answer
538 views

Ajax with jQuery UI dialog not working

I am trying to update my custom database table when changes are made in a dialog box. The script for the dialog box and ajax call is as follows - jQuery(document).ready(function($){ $("td > ...
2
votes
2answers
152 views

Adding callback function for wp_ajax_ has no effect

I was trying to add one more callback function to the WordPress AJAX action woocommerce_apply_coupon. This action is defined in the WooCommerce plugin, I want to add my own callback function to this ...
0
votes
1answer
97 views

Wordpress plugin ajax post parameter

i have problem. I don't know why but my paramters from form don't pass too aad_process_ajax(). My code from functions and jquery: Function with my form: function aad_render_admin() { ?> ...
0
votes
0answers
23 views

Translate Post Content

I'm running a blog with lots of images and some descriptions written in Italian, most foreign visitors complain that they do not understand what's written, I've lost many of them.. I was thinking to ...
0
votes
1answer
947 views

Loading shortcode with ajax

I'm trying to load a slideshow if the browser is a certain screen size - i.e. I don't want the slideshow to load on smaller, mobile screens. The slideshow plugin provides a shortcode: <?php echo ...
0
votes
1answer
270 views

Create WordPress posts from JSON array using plugin in admin

I'm writing a WordPress plugin that I'd like to do the following: Add a WordPress plugin admin page that contains a button When you click the button, it loads an array of JSON objects from a file, ...
0
votes
0answers
55 views

Use WordPress Ajax in Plugin

I trying to create a wordpress sample plugin with ajax base. I read out the tutorial and did plugin(is not working) Because i am new to ajax. Here is the code i tried is of form data in a ajax way. ...
0
votes
0answers
266 views

admin panel save option with ajax

I create custom options in the admin panel but I have some difficulties to save it with ajax. I can't get the php script with action variable in ajax script. Here all my scripts: in functions.php : ...
6
votes
1answer
566 views

How to load wp_editor via AJAX

Does anyone know how o load wp_editor via AJAX in WordPress? My markup and editor is getting loaded properly but editor controls are not getting loaded properly, it may be because Javascript is not ...
0
votes
2answers
1k views

Check if email address exists front end with AJAX in a plugin

I am pulling my hair out trying to figure this out. I have followed the wordpress codex here for AJAX: http://codex.wordpress.org/AJAX_in_Plugins All I keep returning is 0, I never get a 1. Any idea ...
-1
votes
1answer
2k views

How can items be programatically removed from Woocommerce shopping cart

How can items be programatically removed from Woocommerce shopping cart without refreshing the page - ie using AJAX?
-1
votes
1answer
595 views

Advanced Ajax Page Loader and Masonry Grid

I am using Advanced Ajax Page Loader Plugin together with Masonry. Both work, however Maonry doesn't get applied once new content is loaded via ajax. You can see it here ...
0
votes
1answer
375 views

Shortcode in AJAX popup

I am trying to use a shortcode from Ultimate Facebook plugin to display a FB connect button in an AJAX popup and can't seem to get it work properly. I searched and used the solution given by djb in ...
0
votes
1answer
280 views

PHP script from functions php is loaded via admin-ajax to div…and the result is 0, not the desired content

I wish to use accordion menu http://wordpress.org/plugins/jquery-vertical-accordion-menu/ via function that is loading different menu based on page template. What is more, I wish to ajaxify that ...
1
vote
0answers
582 views

Contact Form 7 conflict with Advanced Ajax Page Loader plugin

I am using Advanced Ajax Page Loader plugin form loading my pages. One of the pages contains Contact Form 7. When the page loads, it shows fine but when I try to submit the form, contact form 7 ...
1
vote
0answers
100 views

Ajax : Call undefined function plugin_function() … can't call any plugin function

I use a Ajax query to show some content, but I can't use any of my plugins functions. Javascript : $('#load_more').click(function() { var data = { action: 'load_more', id: ...
0
votes
1answer
69 views

Capturing POST data

I am trying to modify the Member Status Plugin so that the status are based on the data saved on a custom database table. Basically I wanted to change the administration menu with a form that can ...
-1
votes
1answer
590 views

How to create load more button without a plugin?

I'm using Jobroller Apptheme, it will show the first 10 jobs list in the home page with pagination which allows to go next page. But I would like to create a load more button instead of normal ...
0
votes
1answer
135 views

jQuery AJAX call not executing in Plugin

I've been working on a class for my free plugins that outputs a "Donate" form. The "No thanks" dismissal link hides the form and runs an AJAX call to update a WP Option keeping track of the ...
1
vote
0answers
204 views

wordpress file upload with ajax when site is ajaxyfi

I am getting problem in upload any file. My word press site is using Ajax Page Loader Plugin.So page is not refreshing when the form is submitting.. I am not getting any value in PHP code in ...