0
votes
1answer
35 views

Deactivate a plugin on wp version

I've creating a theme options page at the moment and was playing around with this function deactivate_plugins() I'm running wordpress 3.8.3 so running this code in my plugin should uninstall it. ...
0
votes
0answers
42 views

Creating custom theme options page

I am creating a theme for a client and it has a custom front page that has a slider and displays the services they offer. I am looking to add an options page where the client can easily update the ...
0
votes
1answer
36 views

theme options not saving

I've created a really simple theme settings page to just enable my user to add some social media links. However when I input some data and save the fields the text vanish's and doesn't seem to save. ...
0
votes
2answers
49 views

Who To Create Option Page For This Simple Plugin

I know how to write WordPress plugins but I have no idea how we could create an option page for our plugin. I read lot of tutorials but I still have no idea about creating option pages. So just for ...
0
votes
0answers
40 views

Calling information from my theme options page

I'm setting up a theme options page, I used it on a previous theme and thought i could easily just copy it over to the new one. <?php $options = get_option( 'sample_theme_options' ); ?> ...
-1
votes
1answer
154 views

Options.php loop won't show!

I'm creating an options panel for a theme on my localhost that's stored within the options.php file. My options panel will have two main loops. The first is to list the different sections and the ...
0
votes
1answer
39 views

Wordpress Options Page Theory Question

I created an options page and it is functioning perfectly, but I am not sure I understand how it functions. It's cool I got it to work but I was hoping someone could help explain why it works. Here ...
0
votes
0answers
29 views

Problem outputing my theme options

If you take a look at my code you can see I've tried outputing the options stored within the settings fields and sections I've created. Its my first time developing a theme-options page of this ...
0
votes
1answer
51 views

Turn get_posts as string into an array for use in theme admin options

I am trying to add a drop down list of all posts into a theme admin section...without forklifting the theme code. I need to pass the post title and id into the 'options'=>array() like so: ...
2
votes
1answer
191 views

How can one utilize a variable as a callback function name for add_settings_field

I'm trying to cut down on the amount of code that is in my theme options function. I'm adding my settings like so: add_settings_field($k,$v,$callback,$the_options,$the_group,$args); This works for ...
1
vote
2answers
215 views

Image rotation fails to regenerate custom sized thumbnail

I'm using custom image dimensions in functions.php like this: add_image_size( 'custom-size-thumbnail', 120, 120, true ); I uploaded some pictures with wrong orientation, so I used "edit" options to ...
1
vote
1answer
433 views

Choose To Display Post Views With An Options Panel

I have post views enabled and I'm attempting to make an options panel option to allow users to choose if they would like to display post views in each post. If they choose 'Yes," then they will be ...
0
votes
1answer
706 views

Set WordPress Default Template

I'm using the Options Framework Theme to put together my options page and would just like to know how would I set up/call the Default Template - for whichever one the user has selected. For example, ...
1
vote
1answer
234 views

Simple custom theme option not being saved

I'm not a web developer and have been following a tutorial on how to add options to a simple self-written theme. In functions.php I've added the following code: <?php $themename = "Theme Name"; ...
0
votes
2answers
139 views

Custom options page for themes

I used this nettuts tutorial to create an options panel. What I'm trying to figure out how to do and have been unsuccessful doing so far (I keep "breaking" the code/getting a server error) when I try ...
1
vote
2answers
641 views

Theme Options: If There is No Input, Don't Display?

I have built a custom options panel which allows site owners to enter their social profiles. I then use the second code to make the links appear in the theme. When no link is entered in the 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 ...
1
vote
1answer
473 views

How to add an export function to a custom Option Theme Page

I'm creating a new Wordpress template and I have a question: I've added a custom Option Page to my new template (you can see what I'm doing Here and Here) but now I would like to add a new function. ...
3
votes
2answers
783 views

Modify CSS via Theme Control Panel

Hi to all I'm trying to create an advanced control panel for my first Wordpress template but I'm not able to add a function that I will need. The function that I'm trying to add is the possibility to ...
0
votes
2answers
309 views

Hiding Google Analytics code based on theme options

I'm doing up a WordPress theme at the moment, and I want users to be able to add Google Analytics to their site by just adding their tracking code -- you know, the UA-20149670-1 -type number thing. ...
0
votes
1answer
235 views

How to add or delete default value theme options while activate and deactivate theme

I want to add & reset default value for my theme options while activate and deactivate a theme More clearly something like this if(theme active) add_option(); // add new option to the theme ...