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

0
votes
0answers
7 views

Everytime I press Save Settings from a Plugin it redirects to All Settings page

I have developed a settings page for a theme in which I'm working in order to have some options to customize it. Here are all the options and here is the functions.php. I don't know why but when I'm ...
0
votes
0answers
20 views

Enable/disable code in functions.php with options

Is there a way to enable or disable lines of code in a themes functions.php file? Basically I would like to have a page in the admin panel that lists "modules" or separate php files and has the ...
-2
votes
0answers
14 views

Making header fixed in Tesseract theme for all pages? [closed]

I'm constructing a website using the Tesseract theme by Tyler Moore. I want to make the header fixed and 80% opaque for every page of the website. The header for the home page has a slider for ...
-1
votes
0answers
24 views

disable a theme function

so i have this site and i on the front page you can see that there are 2 distinct buttons on the edges after the menu and bellow the picture in the header ..the left button brings up my sidebar ..i ...
0
votes
0answers
15 views

Is it Possible to get the theme textdomain name of random themes?

I haven't found a solution after a few searches about my topic. I hope that I am not making a duplicate post. I am working on a script that will be included with a theme in the theme directory ...
1
vote
0answers
17 views

Redux callback action

I'm very new with Redux. I don't know how to show and hide a textarea using switch (without saving). When my switch turns on, the text input displays and when it turns off, the input hides itself. I ...
0
votes
1answer
40 views

How can I include the js and css file of my custom theme dynamically in header.php

I am creating a simple theme in wordpress.The problem is that number of assets that are present in js and css folder are not same in every case i.e. the number of .css files in css folders may change ...
1
vote
1answer
24 views

Disable Theme API / Front end (for API only environment)

I can't remember in which talk I saw this but there is a codex function to disable the front end altogether. I am not talking about the blank theme as mentioned here: Disable front end to use as CMS ...
1
vote
0answers
11 views

How Can I Create a List of Values to Be Iterated Through via WordPress Customization API?

I currently have a theme with OptionTree installed. It is used to create a list of locations which are then visible in a dropdown in the header of the page. The display code with OptionTree looks like ...
1
vote
1answer
31 views

Redux Framework has an embedded demo. Click here to activate the sample config file

I developed the theme. Redux Framework configuration file located in the theme directory. Himself ReduX Framework I installed from the repository Wordpress using the TGM. But when I install a theme, ...
1
vote
0answers
16 views

How to create a backend for a custom theme?

Let's assume that there are six different pages in a website. Each page is different & only common part is header & footer. So how will you create back end such that most of the website can be ...
0
votes
1answer
24 views

Display user HTML on website

I have a settings page in Wordpress that lets the Admin enter HTML Code. I want to display this code at a specific page on the website using a shortcode. My problem now is that the shortcode displays ...
1
vote
0answers
16 views

Change setting name in Customizer and keep the data

I created a theme while back when I was new to Customizer API and for some weird reasons I named theme settings as: $wp_customize->add_setting('thefunk_theme_options[header_color] Instead of just ...
2
votes
2answers
53 views

Theme options WP Editor

My text editor in Theme Options doesn't have font color option. How can I add that? I've searched around the web, but no luck. On regular pages and posts I can see the font color option. I'm using ...
0
votes
1answer
23 views

How can I create a rearrangeable list of items like OptionTree offers with the Theme Customization API?

I have a theme that currently uses OptionTree, I'd like to move to the WP Theme Customizer API. In OptionTree I can have a list of items that can be edited and drag and drop rearranged. Is there a ...
0
votes
2answers
48 views

Add a page outside of the current theme?

Is it possible to add a page that is totally blank and doesn't use any components of the site's theme? Or is the best way to do that to upload it separately to the web server outside of WordPress?
0
votes
0answers
15 views

Image upload on theme option page

I've found this script for adding some theme options in wordpress. add_action( 'admin_init', 'theme_options_init' ); add_action( 'admin_menu', 'theme_options_add_page' ); function ...
0
votes
1answer
33 views

Undefined index: custom_sidebars

I am implementing custom sidebars on a theme I am developing. Everything works fine when I add new custom sidebars. However, when if I remove these new added custom sidebars I get the error Undefined ...
0
votes
1answer
49 views

Internal error 500 accessing Theme > Customize

We have created a basic custom theme for WordPress. When trying to access Appearance > Customize from the backend we receive an internal error 500. I have checked the error logs and cannot find ...
0
votes
0answers
43 views

Create new sidebars trough admin post/page metabox

I have this bit to register sidebars dynamically: function my_custom_sidebars() { $sidebars = get_option('my_theme_sidebars'); // get all the sidebars names if ( ! empty($sidebars) ) { // add a ...
0
votes
1answer
56 views

Option Tree integration of Custom CSS

I would love to integrate Custom CSS field from my Option Tree plugin to the code, but if I try to integrate them following way into functions.php, it ends up with Fatal error: Call to undefined ...
0
votes
0answers
11 views

How to create more than 3 screens in OptimizePress 2.0?

I want to create a landing page on OptimizePress and I have trouble in creating structure of landing page. Can’t create more than 3 screens in my small project, in constructor all good but in the ...
0
votes
1answer
15 views

What should I use to store options for a single blog on a network site?

When a user signs up they create a blog. I want to let them set an option that is specific to that blog. When they save that option should I use update_option(), update_user_option(), ...
0
votes
0answers
28 views

Theme Customizier sanitize_callback not working

I have a theme option to set the slider speed. The sanitize_callback function is not working. I would like the function to set the speed to 4000ms if a non numeric character is entered. function ...
0
votes
0answers
129 views

Getting Redux Framework Warning

I am working on a WordPress project which is using Redux Framework. I am getting error. Redux Framework Warning select2-css CDN unavailable. Some controls may not render properly. Please wait a ...
0
votes
1answer
34 views

Warning: call_user_func() expects parameter 1 to be a valid callback

This my code: $array_theme_options = array( array( 'id' => 'facebook_url', 'title' => 'Facebook Profile Url', 'callback' => 'display_facebook_element', ...
0
votes
2answers
136 views

after_setup_theme, global variable and Theme Customizer

I am using a global variable that is defining in a function runs in after_setup_theme. This variable is not getting update changes in Theme Customizer. Let me explain this with an example: ...
0
votes
0answers
15 views

How to expose theme customization to public?

Usually on theme demo, it has gear icon on top left side. Clicking the icon reveal theme customization such as layout, color, font, & background image preset. How can I make that feature? or any ...
0
votes
1answer
18 views

using Options Framework - can “theme-textdomain” domain be changed?

I'm using the Options Framework in a new theme. I would like to use the theme name as the domain for the localization functions such as __() and esc_attr(). But the localisation functions in the ...
0
votes
0answers
29 views

Textarea is not working for html content in backend theme option

I have used vafpress framework for manage theme option and metaboxes all had gone well but now i have an issue on textarea option. I have used textarea type for booking section and it is not ...
2
votes
1answer
63 views

Wordpress site migration addvice

I have created my WordPress site with purchased theme from themeforest locally in Bitnami. I've made a couple of pages using visual composer plugin changed some settings in theme options and created a ...
0
votes
1answer
38 views

Delete Transient when clicking 'Save Changes' on options page

I have an options page setup for a ticker tape on a theme I am working on. It has a number of options such as Title, number of posts to display and what categories to display posts from. I have also ...
0
votes
0answers
104 views

Adding a meta box fields to child theme options page

I created a custom options page for may theme using this code: add_action( 'admin_menu', 'jrl_add_admin_menu' ); function jrl_add_admin_menu() { add_menu_page('Options', 'Options', ...
0
votes
0answers
49 views

display specific redux options section for non-admin

i have redux framework options in my theme and i'am asked if i can display specific section of options to non-admin users this is snippet code Redux::setSection( $opt_name, array( 'title' => ...
0
votes
2answers
16 views

SAving PHP in custom wordpress option field

I have created a custom admin page, which has a bunch of option fields available. One of them I use to enter some HTML code, and I was wondering if it was possible to also add php into that field, for ...
1
vote
1answer
51 views

max_input_vars: how many am I using?

I'm processing a large amount of Options in a Wordpress theme. I want to ensure I keep below the default 1000 before hitting a max_input_vars error. Is there a way to test how many 'input_vars' I'm ...
0
votes
0answers
73 views

How to upload theme: Option Tree WordPress Theme Check Error

I am having a little problem uploading my theme to wordpress as the initial theme check fails with the below error.. I have integrated Option Tree into my team. But WordPress doesn't accept until the ...
0
votes
2answers
58 views

Wordpress Theme Settings Page

I'm having a hard time getting my 'Hello World' to display on the theme page I created. It all at least appears to be correct (but obviously isn't) - what am I missing here? // Add Theme Options to ...
0
votes
0answers
81 views

How to create a “menu item” on the theme customize screen?

My question is, how do I create a menu item as seen below but on the theme's menu customize page? "Theme Menu Options" Show's up here, But it does not show up here, Here is the code I used to ...
0
votes
0answers
43 views

How do I handle styling between SASS and theme options?

I've been looking into leveraging SASS to handle styling my themes and the thought of storing various styles in variable to be used across the site is really helpful! Eg. I am able to store the ...
1
vote
1answer
32 views

How to disable wordpress from overload my stylesheet styles with customizer styles

I realized that, the customizer's styles are default highest priority because they are somewhat embedded into the page. I want to store ALL styles in my .scss file which using SASS to manage CSS and ...
0
votes
0answers
38 views

Displaying multiple custom meta fields on the fronted

I am trying to simplify how I display multiple metabox entries on my front page through a custom theme panel. As of right now I have a custom panel called explore which is programmed in my custom ...
0
votes
0answers
16 views

Settings API Tabs overriding each other and not saving

I am using the Settings API to create custom options as well as tabbed navigation to organize those options on the screen. All the tabs use the same option group, but each tab is saved under its own ...
0
votes
0answers
39 views

Using Customizer value in an external PHP file inside a theme

I'm working on a theme for a company and they don't want the users to touch the code at all. So as I love, they asked me to use Customizer API. Now, there's a PHP file in the theme which we don't ...
0
votes
0answers
17 views

Theme settings are not shown on the settings page Help

My problem is that my changes are not displayed on the Theme settings page. Can anyone help me? The site is Materialize-wordpress.com Here is the code: <?php add_action( 'admin_init', ...
0
votes
0answers
57 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
28 views

How Can I Register Menus and Widgets Conditionally Based on Theme Options/Settings?

I have theme options/settings page and options/settings fields set as outlined here: ...
0
votes
1answer
47 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
39 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
22 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 ...