Theme Options allow a Theme author to give users the chance to change certain Theme features such as color and layout. The Theme Options Screen is only available if the active theme supports a Theme Options ability. In addition, this screen will likely be different for each Theme that enables and ...

learn more… | top users | synonyms

1
vote
1answer
372 views

How to extend customize control types to list pages

I have: I'm currently using $wp_customize to add options to the customize theme area. My Goal: My goal is to extend $wp_customize so that I can display a list of available pages as checkboxes. I've ...
1
vote
1answer
206 views

How to extend parent theme sections and settings to Options Tree

I am developing a child theme based on a theme that use Option Tree for it's options. Is it possible to add a new section with my child theme settings to the already defined sections by parent theme ...
1
vote
1answer
494 views

Shortcode are not working in Option tree textarea

I am using option tree. In textarea, i place shortcode [layerslider id="1"] its not working, i also found same post replied by plugin author allow shortcodes in textarea in option tree applied ...
0
votes
0answers
21 views

Display Custom Post Types depending on checked radiobutton

I have created this option page for custom post types: add_action('admin_menu', 'add_global_custom_options'); add_theme_support( 'post-formats', array( 'Random', 'Order', 'Category' ) ); function ...
0
votes
1answer
12 views
0
votes
2answers
1k views

Display and hide content using checkbox in Options Framework Theme

I am currently using Options Framework Theme for making WordPress options panel. I created a checkbox in admin panel by this code in options.php $options[] = array( 'name' => __('Input Checkbox ...
0
votes
1answer
19 views

Category select options for plugin settings

I am using Aqua page builder and I want to incorporate dropdown catagory select field for that. <?php $my_options = array ('one' => 'My Pony','two' => 'His Pony'); echo ...
0
votes
1answer
27 views

Build Form on Dashboard

I want to create custom form on my 'Theme Options' Basically, I already build this : /* == THEME OPTIONS == */ // This tells WordPress to call the function named "setup_theme_admin_menus" // when ...
0
votes
0answers
19 views

Option data is not overwritten in option table

I am new to WordPress theme customizations and I am stuck at one point: I have to create a header drag and drop option, with 3 types: Logo Logo + Search Logo + Icon The code ...
0
votes
1answer
6k views

How to add “Template” option in page attributes panel?

I am new in WordPress. In my theme, I do not have "Template" option in 'Page Attributes panel'. I want to add this option. I tried to solve this problem from the following post. But It did not work ...
1
vote
1answer
883 views

Error: options page not found

This error is really well known and every where I look its either I am not doing: <form method="post" action="options.php"> or I am not registering my options, which is not the case as seen ...
0
votes
1answer
55 views

Theme Options Page - User Updates Logo

I'm a newbie to WordPress Development so bear with me. Site: https://wordpress-portfolio-zacnespral21.c9.io/ On the site above I would like to add an option in the themes options page for the user ...
0
votes
0answers
17 views

Set widget class & page assignment in theme options

Is there a way to list all widgets by the sidebar in the backend eg in a theme option panl to set a class and the assignment to pages? Like this... I use for theme options redux framework. i hope ...
0
votes
0answers
12 views

Coding color opacity options in theme options admin panel

I wanted to give the user the ability to change the opacity of a navigation menu background color from the theme options admin panel. I have already been able to achieve giving the user a color ...
1
vote
1answer
50 views

How to create dependent field in Customizer?

I am trying to have dependent field in Customizer. One field is checkbox Enable Custom Excerpt Length. Another is text field Custom Excerpt Length. I want to implement contextual field using ...
0
votes
1answer
14 views

How to make a hyperlink conditional according to whether you are logged in or not

one of the sections on my home page has a hyperlinked header. I have a multi-user site so I would like that header to take the user to a specific shop category (product-category/aktiviteter/) if they ...
-1
votes
1answer
34 views

Multiple instances of Redux WP Framework [closed]

Is it possible to have multiple instances of Redux WP framework? Not subpages, i need multiple separate instances since 10+ subpages with tons of options is really really slow.
2
votes
1answer
1k views

How to make alert for new version on theme options?

Let say my theme host on my server. User download my theme and use it. Now I want notify @ alert for new version of my theme. Example to show "New version has been release. Please download at ..." ...
0
votes
2answers
48 views

Generating dynamic css into custom file [closed]

This is about running code on wordpress . The given code runs properly outside wordpress but when I put it on theme functions file it does not do anything. ob_start(); require('dynamic-css.php'); ...
0
votes
0answers
7 views

Is there any better way to reach get the options value with depth 3

This is how I am getting the option result right now: <?php $options_list = get_option( 'my_custom_fields_options', 'no value exists' ); $practice_areas = ...
0
votes
0answers
38 views

Change theme layout via “Appearance Customize Screen” on per user basis

I have added some options to the "customizer screen" in the appearance settings on the dashboard of my Wordpress Child theme. All works well by specifying additional headers and theme color options in ...
0
votes
1answer
32 views

How add built-in textarea in theme development?

How can I add built-in textarea instead simple textarea in Wordpress v4 like when I hit Post -> Add new in theme development? I need to add it to theme options page ...
1
vote
0answers
21 views

Getting the ID of header image, even when set to random

I was looking for a solution to reliably get the ID of the header image, either the user had choose a single or a random image. The only way i've found to do this relies on accessing a Wordpress's ...
0
votes
1answer
85 views

How to get DB options format without saving? [closed]

Using Unyson framework. I am getting theme options form data saved to a file. Was able to do that via ajax and JSON.stringify(form values in json format) problem I have is that the form data ...
0
votes
0answers
25 views

Filter the options page sections output

I have not found a way around this. It seems Wordpress does not offer this in the settings API. I have created a wordpress options page. I have attached options sections to the page. And then I have ...
0
votes
0answers
29 views

Dropdown pages in Settings API

I am working with theme option. There is dropdown option like this. 'memory' => array( 'type' => 'select', 'label' => __('Memory', 'fw'), ...
2
votes
1answer
25 views

Is there a way to activate different theme for specified users? [closed]

I'm looking to allow beta testing of a theme on WordPress site in production. I was thinking of a plugin to check if WordPress user has been selected for beta phase, and if this evaluates to true ...
1
vote
2answers
304 views

Additional custom header image

Has anyone seen a way to add a new header_image to a theme? I need to add two configurable images in a theme. It doesn't really matter if it gets added as a new "Header" admin theme menu or if it's ...
0
votes
0answers
70 views

Dropdown list of Tags, Posts, Custom taxonomies in Options panel

I've been working with WordPress Settings API to create an options page for a plugin. Everything is fine except for displaying select dropdown lists and checkbox lists for WordPress tags, posts and ...
0
votes
1answer
27 views

Theme options are they necessary

So I have decided to use wordpress for a site. But just as I begun I realized that I might need options. Things as simple as logo, favicon and possibly some parallax settings. Is it necessary to have ...
0
votes
0answers
16 views

Updating a dashboard option from a page template

I know how to create a dashboard option, set a value to it in the dashboard, and retrieve this value from a page template. But is it possible to update this value not from the dashboard but from a ...
0
votes
1answer
201 views

Google font doesn't show in theme option

I have implemented the following tutorial in my theme's option panel. http://wptheming.com/2012/06/loading-google-fonts-from-theme-options/ Every thing is working fine. But in the themeoption panel ...
0
votes
1answer
2k views

“No Data Received” error in Chrome every time i try to update the theme functions file

Under Appearance --> Editor --> functions.php ( Theme functions ), whenever i try to modify a piece of code in it and click Update, i get this "No Data Received" error in Chrome. I never get this ...
0
votes
2answers
72 views

Setting field not saving on front-end

I'm creating a theme option page and i try to display the values of two input in my front end : function register_my_header() { register_setting( 'header_options', 'header_options'); } ...
0
votes
1answer
164 views

Bring page from sub menu to admin menu in option tree

When option tree is installed the page "theme options" show under appearance. I want to bring it to top level menu item. i did a deep search and so far I found is: ot_theme_options_parent_slug ...
1
vote
1answer
432 views

Theme Options page not showing up in admin menu

I'm currently developing a WordPress theme and would like it to have a preferences pane in order to specify the user's Google Analytics tracking code for example. Following the instructions I got on ...
1
vote
1answer
110 views

What's the proper way to include inlined javascript-source?

I'm making a theme where I'm including a javascript-lib which wants to be loaded/instrumented with a potion of generated code at document.ready()-time. Generated because some theme-options are ...
2
votes
3answers
1k views

How to export/import theme customizer settings?

I am wondering if it is possible to export theme customizer settings(theme_mods) to be imported into another install of the same theme. I know that the settings are saved into the database so I am ...
2
votes
1answer
111 views

Using jQuery to retrieve customizer value

I am trying to use jQuery to retrieve a theme options (customizer) value: $wp_customize->add_setting( 'header_fixed', array( 'default' => true, ) ); ...
0
votes
1answer
101 views

How to give site owner the ability to change to footer text via theme options (1 post)

I'm working on Settings API recently. Now I can add my theme options item in admin menu.I can register my settings and create my section and fields. And I think I can get the options using ...
0
votes
1answer
104 views

Let user to add input fields on theme option page

I'm creating a Theme Option page for my own wordpress theme and I've been trying to create something like this on my option page It means my user(admin) can add any number of input fields (in this ...
1
vote
1answer
26 views

making available just some parts of theme option

I'm just starting to understand and learn about how Wordpress works. Now i'm trying to build a simple website (6 pages, gallery, slideshow) by using a downloaded from wordpress.org. The theme that I'm ...
0
votes
0answers
250 views

How To Display Value from Theme Options Field in Front End Template?

I put this code into my functions.php https://gist.github.com/corvannoorloos/4703066 and it work nice. Now I want to display value from Sample Select Options filed in some front-end templates. How ...
0
votes
0answers
94 views

How to add a new menu item in “Twenty fourteen” theme?

I've created two menus inside of my theme's functions.php file: register_nav_menus( array( 'primary' => __( 'Top primary menu', 'twentyfourteen' ), 'secondary' => __( 'Secondary menu in ...
0
votes
1answer
318 views

How to reset (clear) theme settings

I'd like to reset (clear) theme settings (from customizer) while activating theme. For example a theme by default has red menu, links and links on hover. I use something like this: function ...
0
votes
1answer
38 views

Changing the layout of a custom options page

I've followed the guide here to create a custom options page for my theme using add_options_page. By default, these are arranged as a list: Ideally, I'd want these options arranged in a grid with ...
0
votes
0answers
89 views

theme_mod and option type in WP_Customize_Manager's add setting API

The WP_Customize_Manager's add setting API support the type argument: type Optional. Specifies the TYPE of setting this is. Options are 'option' or 'theme_mod' (defaults to 'theme_mod') What is the ...
0
votes
2answers
162 views

Calling an custom field from theme option at the frontend

I am having trouble calling a field and displaying its content at the frontend from a custom theme option page. This is the code I am using to display my custom theme option at the backend ...
0
votes
0answers
53 views

Using get_option on radio buttons

I'm really stuck with this one! I have an options page where I presently take some data from input fields. E.g: <input type="email" name="mail" value="<?php echo get_option('email'); ...
7
votes
3answers
2k views

get_option() vs get_theme_mod(): Why is one slower?

I've been using get_theme_mod() for some time in various projects of mine. I decided to take advantage of the Theme Customization API in WordPress v3.4 once it was available as I felt it was an ...