Tag Info

New answers tagged

0

This solution is based on a couple of WPMU Dev plugins: PopUp Pro and Mailchimp Integration. If you are WPMU Dev member then download and install them either from their Project pages or via the WPMU Dev dashboard in your WordPress admin interface. Most of the effort is in creating a custom style for the popup. The Mailchimp Integration plugin simply provides ...


0

By default the user can only edit their comments for the first 5 minutes. After that, the user is not able to edit their comment. If you want to change this time period, then this plugin allows you to do so using a filter. Simply add the following code in your theme’s functions.php file or in a site-specific plugin like this: add_filter( 'sce_comment_time', ...


-1

Its an issue with your CSS. It looks like you need to decrease the padding of the text box and/or reduce the increase the height of the same. Is your site live somewhere?


0

Inside the widget ensure a unique name for the submit button: <button type="submit" name="widget_submit">Submit</button> In functions.php: function wpse20150815_processing_widget() { if( !isset( $_POST['widget_submit'] ) ) return; //set an array for storing errors $errors = array(); //process form data, and store errors ...


0

If you are doing this via Ajax then after getting the response, you can redirect via JavaScript window.location.href = 'url to be redirected to';


0

Here is some generic js you could use to accomplish this. This code is intentionally generic, so you will need to make it work for your scenario. You can load up your various states and hide them with the 'js-display-toggle' class. When the appropriate country is chosen from 'base' select menu, then you remove the toggle class and show those state. ...


1

As suspected, Wordpress was treating the button as type="submit" fixed by doing: <button type="button" onClick="addProperty()">Add property</button>


0

I can't comment so I post an answer. Solution here: https://wordpress.org/support/topic/can-you-stop-wp_login_form-redirecting-to-wp-login-on-fail?replies=13


0

Solved the problem thanks to the guidance of @shanebp: The issue was how the data was being called through PHP and ajax. Instead of using the name attribute in the input field, I used var_dump to see what $_POST was outputting and found that the array created (formdata) in jQuery was what $_POST was retrieving. Instead of using the name attribute, I had to ...



Top 50 recent answers are included