The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
403 views

How do I setup nested repeatable option fields?

I'm trying to wrap my head around how to create a set of option fields that should be able to repeat for as many times as possible. But I'm having a hard time to figure out how to proceed. Currently ...
0
votes
1answer
70 views

Input with pattern not working

On the admin widgets.php page I am trying to setup a pattern on an input to only allow digits. If I enter an invalid character like a non-digit it still accepts it and when I save the Widget with an ...
0
votes
1answer
52 views

Name Input from widget displays Sidebar name instead of saved data

I wasn't sure how to title this question,so I apologize. Let me first state that I have no experience with this type of code but I really need to this feature for my website, so I appreciate all the ...
0
votes
1answer
308 views

Wordpress Widget plugin and input file

I am writing a widget plugin; and I want to insert an input tag:<input type="file"> to browse for a pattern in my widget plugin admin panel; but I have problem to save its value(address of the ...
0
votes
1answer
145 views

add new input field like category?

I want to create another input field like the categories. Whenever user posts a new question I want to have another drop down of locations associated with that particular question, like categories ...
1
vote
0answers
88 views

Send attachments via wp_mail from temporary folder

Is it possible to send attachment via wp_mail, using temporary file, instad of uploading them to any actual folder on server? For example: <input type="file" name="file"> $attachment[] = ...
0
votes
0answers
14 views

How to sanitize an input array to save in options?

I want to santize a category IDs list before updating it, how this should be done. This is how I'm doing: $categories = get_categories(array('hide_empty'=> 0)); foreach($categories as $category) { ...
0
votes
0answers
23 views

upload custom field in nav menu

I want to add image uploader for each menu element in appearance menu i have created a new walker class Walker_Nav_Menu_Edit_Custom extends Walker_Nav_Menu {} can't paste the walker here beacuse ...
0
votes
0answers
26 views

Use custom parameters from URL for page

I want get users input from url for example http://myweb.wordpress.com/userdata/{userId}/{filesId} I need values of userId and filesId to be used in my page to show content based on these values.
0
votes
0answers
68 views

Add Tags to Post from Multiselect form field

I create for my project Frontend submisson form. And want allow user before posting select Tags for post from dropdown list. List of Tags I call: <select name="post_tags" id="post_tags" ...
0
votes
0answers
85 views

Simple email input store in database

I'm trying to build a really simple form to store email adresses in the wp database for future newsletter purposes. What I have is just a single email input: <form method="POST"> <input ...
0
votes
0answers
46 views

Input box in text Widget not working WordPress

I am working on a plugin for countdown timer for WordPress. Found a tutorial here. have implemented everything stepwise. but the input box in the Timer Widget does not allow to input date, hours, ...
0
votes
0answers
13 views

Form clears on focus

I have this form for in the admin, and it auto fills the next fields, which are similar to this one, via Ajax. That works fine, however, after pressing tab to go to the next input field, it clears ...
0
votes
0answers
99 views

wp_usermeta key problem

I am trying to add a meta key to wp_usermeta but it does not work at all. The key would get value from a checkbox. I used the code from Wordpress codex tutorial and it's not adding anything. I will ...
0
votes
0answers
18 views

Passing input value into name of input

I'm trying to get the value from two input fields and pass them as the name in a form. In my code, I am hardcoding the value of the price range in for testing purposes. echo 'PRICE ...