The tag has no usage guidance.

learn more… | top users | synonyms

2
votes
1answer
426 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
83 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
55 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
329 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
147 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
93 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
16 views

Create front-end input field based on search - auto-complete - select?

I'm trying to create a front-end category input field with auto-complete (search - auto-complete - select). I have around 35000 categories. What's the best way to do it, without slowing down page load ...
0
votes
0answers
18 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
38 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
28 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
91 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
96 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
53 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
100 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 ...