Tagged Questions
3
votes
1answer
82 views
Click link on plugin/theme page and open the contextual help on a specific tab
I've added a help section using the add_help_tab() function. I'd like to be able to click a link somewhere on the theme/plugin page and have the help panel open at whichever tab I need. Can someone ...
1
vote
0answers
133 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 ...
0
votes
2answers
99 views
Would to use AJAX to get an option from the database and use it in a jquery setup or is there an alternative to consider?
I have a slider in my theme. I have a setting in the options which controls whether that slider is set to "slide" or "fade". This slide/fade setting is in the jquery and of course the options setting ...
0
votes
1answer
388 views
what does $options = get_option('test_theme'); do?
I'm trying to set up theme options so they save with AJAX, I found this tutorial http://return-true.com/2010/01/using-ajax-in-your-wordpress-theme-admin/
it's calling
$options = ...
0
votes
1answer
2k views
How to save Uploaded image in custom option panel?
I'm trying to add a custom option panel to a new template following a tutorial found on NetTuts. I saved all the code for the option panel inside a file called optionpanel.php (LoL) and everything is ...
0
votes
1answer
323 views
How to add drag and drop functionalities to a div inside option panel
Hi to all it's a few days that I'm trying to add some new functions to my theme option-panel, you can see my questions here:
How to add an export function to a custom Option Theme Page
Add a preview ...
1
vote
3answers
445 views
How to load default scripts included with WordPress correctly?
I want to know the correct way to load existing scripts in wp-includes/js/jquery/
Example I want to load jQuery UI Tabs
What I have done for now
function sample_exists_code() {
echo '<script ...