The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
89 views

Inconsistent server code response using HTTP API

I'm using Wordpress http api to get a server response code from youtube api so I check the validity of a video. I do this in a function from my functions.php which processes my post form where I ...
1
vote
1answer
29 views

correct tags for validating input types

I have following types of theme options inputs, which I need to validate. $numbers = "#1234"; $email = "abc@example.com"; $simeple_text = "How's going?"; $code = "<script ...
0
votes
1answer
29 views

Which hook should I use for this scenario regarding the registration process and account/profile update?

I would like to run a PHP script "ONLY" when a user successfully fills out the WordPress Registration form and submits it as well as when a user updates their profile. Here's what I have so far, ...
0
votes
1answer
170 views

WooCommerce Custom Product Validation

I'm attempting to build a membership system in WordPress that utilizes WooCommerce with Gravity Forms and integrates with SalesForce. Can somebody give me some direction on how to properly utilize ...
0
votes
1answer
37 views

Settings api sanatize callback not being triggered

I'm creating a custom settings page for a custom theme however the callbacks for sanatizing the data in the fields are not being called (I put in xdebug breakpoints in them to check). /** ...
0
votes
1answer
84 views

Contact form 7 Plugin

http://www.tahititravel.com.au/site/thepage/ Here I have a form. I am using Contact Form 7 Plugin. I have modified the CSS to suit my Design. But When the form validates my design is ruined How ...
0
votes
1answer
59 views

How to prevent options.php deleting valid existing data from the database

I am setting up a plugin and have used the setting API for the first time to create a form in settings. The data for the plugin is initially created by default when the plugin is activated and stored ...
1
vote
0answers
127 views

Add ALT attribute to Pin It Button image to pass HTML5 validation

I am using the Pinterest "Pin It" Button plugin so I can add to my posts/images. However, part of the Pin In button uses this code: <img border="0" class="pib-count-img" ...
1
vote
0answers
73 views

Only allow site url in text field using wp_kses/wp_filter_nohtml_kses?

I'm working on validation for a theme options page. Is there a built in way to add an argument to wp_kses/wp_filter_nohtml_kses that will allow a specific link to be entered(wrapped in a tags) but ...
1
vote
0answers
195 views

Validating a cloned/repeatable input (jQuery)

I'm trying to create a repeatable field an upload image input with image preview for my Theme Options page and I have the following: function theme_options_validate( $_POST ){ if ...
1
vote
0answers
44 views

Showing errors from processing function on form

I use a function from my functions.php to process a front end post form. I store the errors in the variable $output but need a way to show it on the post form after submit. How can I do that?
1
vote
0answers
342 views

Validating buddypress custom profile fields

I'm using buddypress and I offer users the chance to add links to their social networks (facebook/twitter) by entering the url's into custom profile fields. My issue is that people can;t follow ...
0
votes
0answers
66 views

WordPress theme options settings not saving

I have problem with my theme options settings saving. My settings is to saving to permanently , its just only save when you stay on the theme options page after saving the settings. But when I go to ...
0
votes
0answers
29 views

How to validate datepickers before publish

I have two datepickers in my post: 1. start_date and 2.end_date Basically, I need to check if end_date is greater than start_date before I can proceed to publish. From a previous solution here, I ...
0
votes
0answers
107 views

Remove WordPress default registration client side validation?

Is there a way to remove/disable WordPress default registration client side validation? I dislike the pop alert and would like to add my own client side validation visual to users. Please assist me ...
0
votes
0answers
48 views

Ampersands do not display

I've got a WooCommerce install, running on the latest WordPress version. I'm using the discover theme by antthemes.com. There are four boxes at the bottom of the homepage which allows you to change ...
0
votes
0answers
83 views

Woocommerce shipping plugin: create checkout error based on validation

I'm writing a shipping plugin for Wordpress and I need the ability to display an error to the user and disable the checkout process based on the results of custom validation. I've been using the ...
0
votes
0answers
40 views

Showing registration errors on same user role registration page

I have a custom user role eg. abc123 and I created a different registration page having few more fields than original one at ?action=register which opens at ?action=register&role=abc123 like ...
0
votes
0answers
226 views

Custom Registration Form with Validation

I am trying to create a custom modal registration form, but I'm experiencing difficulties with validating the form. Basically what I have managed to do was to use CSS3 to validate the fields based on ...
0
votes
0answers
42 views

Registration Validation

I have a wordpress website where people register for events. There is one question that I keep getting a validation error for saying that it needs to be filled out before registration can be ...
0
votes
0answers
45 views

RSS Feed not Validating

I have a blog at http://fribly.com using WordPress 3.5.2, it was working fine three days ago then I started having problems with the RSS feed not synching to either Facebook or Twitter. I followed the ...
0
votes
0answers
71 views

Buddypress Extended Profile required fields not validating. Why?

I have a Wordpress site running Buddypress with the Extended Profile add-on activated. I have the "First Name" & "Last Name" set as required fields, however, users can register for the site ...
0
votes
0answers
173 views

gform_validation triggers gform_confirmation with site_url(/form-field-value)

Using Gravity Forms I am trying to put together a validation function that fires a custom confirmation. The custom confirmation needs to redirect to a dynamically built url that's constructed with the ...
0
votes
0answers
254 views

register_setting - validation callback weirdness

I'm working on a plugin and having some issues validating input on its settings page. I'll try to explain as briefly as possible what I'm doing in the plugin file: if (is_admin()) { ...
0
votes
0answers
20 views

What data sanitzation function should be used to store entire source code of webpage?

What is the best data santization function to use when the entire source code of a webpage (head, body elements, etc) are going to be stored in a post meta field? In other words, which function will ...