Tagged Questions
0
votes
1answer
19 views
How do I capture the selected option and pass in sending the registration form?
I'm customizing the WordPress registration form, and I need to display an list of options from a select on form submission.
I was using the following code to capture the selected option of the ...
0
votes
1answer
161 views
Page Options Saving But Not Updating In Backend
I have created a custom options page for a slider that you can upload slides to. Everything works great except when trying to save the data. It will get saved and I can use it on the front end. But ...
0
votes
1answer
376 views
The Correct Way to Use Nonce Field without Settings API
I'm trying to create an admin option page without the Settings API for some reasons. Then if I do so, I've heard that I need to use nonces for security. I'd like to know the correct way to use them.
...
0
votes
2answers
2k views
Contact form 7 select box different value-text then content-text in option
DSoes anyone know how I can set a different valute in the select-options in contact form 7 plugin? Here is an HTML example of what I'm trying to do
<selct>
<option value="1">My ...
1
vote
1answer
224 views
Settings API erases itself?
I have two forms created using Settings API, and when I save one of them the other one gets erased and vice versa.
Here's the whole code so you could paste it into your functions.php file and see ...
1
vote
1answer
604 views
Multiple options pages validation for a plugin
I am writing a plugin and I decided to have multiple pages for different options of the plugin (for clarity's sake). Doing a single option was a piece of cake, but I'm encountering difficulties when ...
2
votes
1answer
601 views
How to add multiple checkbox elements to media attachments?
Based on solved question from:
How to add a checkbox element to attachments editor with example
Theres an example of multiple Checkboxes, for example: Colors, patterns, etc... A grouped list but ...
0
votes
4answers
2k views
How to verify this checkbox is checked?
Actually I want to include a file if the checkbox is checked
<?php
$checked = get_option('automatic') ? "checked='checked'" : "";
echo "<input type='checkbox' name='automatic' $checked />";
...
0
votes
1answer
324 views
How to add a new variable to blog creation form?
I'm trying to add a new INPUT field to the blog creation form on Buddypress. Adding the front-end element is the easy part. I'm having some hard time trying to save it.
The variable is a string, and ...