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

-3
votes
0answers
11 views

Improving my themes search feature

I have installed a theme point finder from theme forest. The search feature only searches the Title or tag of a post. I also downloaded relevanssi which would normally fix that in Wordpress but it is ...
0
votes
0answers
17 views

How can I execute a custom function using the form fields when I save a theme options page?

Sorry for the clumsy title. I don't know the mechanism I'm looking for so it's hard to create a good title. I have a Theme Options page with several fields and it works fine. However, I would like ...
-4
votes
2answers
39 views

Adding custom theme template to custom post type [duplicate]

I've created a new custom post type called MemberPost and want it to follow a slightly different template to my main index (which is where main news is kept). I've created a custom post type and ...
1
vote
2answers
47 views

Update problem with update_option() in combination with register_setting()

Intro I have a settings page which includes a setting with a more complicated callback function to save. Save data To save the data I use the register_setting() function with a custom sanitize ...
0
votes
1answer
27 views

get_option in header.php not returning value from customizer

I've set up a new section in the customizer called Social Links, under which I've set up an option and text field control called Facebook. Here's the code in my functions.php: // SOCIAL LINKS $...
6
votes
4answers
290 views

What WP folder can I use to write files to?

I am working on a theme that uses dynamic in head CSS and gives admin an option to also place the same in a file. Problem is that I am not sure what WP folder is always writable. I originally added ...
1
vote
0answers
37 views

Following Web Performance Optimization techniques to output static and dynamic css

I have always felt the way styles are handled in WordPress is not optimal regarding the web performance optimization (WPO) techniques that are related to css. From a theme developer point of view, ...
0
votes
1answer
27 views

Option page's form doesn't work

I have two option pages: General Options > MyOptionPage1 and CustomPostType > MyOptionPage2 Both have a form, but the after clicking Save in second option page I land in the 404 page. Here is ...
0
votes
2answers
47 views

How to add Sidebar and Full width option in post editor

If a user is editing a page, they have the option to choose any page template for that page through the edit screen. Wordpress does not have that option for posts. I installed the Sparkling theme and ...
-2
votes
1answer
33 views

Add some fields in page setting

I'm developing a theme and I want to add some fields in page setting , like this What must I use ?
0
votes
1answer
46 views

Moving wordpress site from one machine into another

How to transfer wordpress complete site from one machine into another? i try many times but it missing rev slider , widgets , metapost need help pls
0
votes
1answer
16 views

Customizer_register theme options not saving

I'm trying to add a phone field to a theme's customizer, so far, I was able to add the field in the customize page, but for some reasons, it won't save, whenever I save and went back to check it, the ...
1
vote
1answer
95 views

Cannot update WordPress General Settings Site Title and Tagline

I have a WordPress 4.4.2 installation with no SEO plugins at all. The plugins that I do have activated are WooCommerce, WooCommerce Multilingual, and WPML. I am unable to update the Site Title and ...
0
votes
2answers
93 views

Displaying theme options in css

I am literally pulling my hair out trying to figure this out. I have been at it for almost 12 hours now. Being new to PHP and theme development I am having a hard time understanding how to get ...
0
votes
0answers
16 views

How to create some “theme settings” page in admin?

I'm using today some PHP constants in my functions.php to define default info about my company, as follows: define('COPYRIGHT', 'copyright_text'); define('CONTACT_EMAIL', 'oi [arroba] studiosolo.net')...
0
votes
1answer
43 views

How to use WP Theme Option: Custom_Backgrounds on specific element?

I want to use the WP Theme option Custom_Backgrounds on a specific div. By default it adds it to the body and I dont see a way of changing this. Does anyone know how?
0
votes
1answer
27 views

WP Page Options Array

I'm creating a page options which contain some multiple checkboxes with specific values. Here is a snippet of my checkboxes form code: <label>Global Checkboxes</label> <input ...
1
vote
3answers
118 views

Does uninstalling a Wordpress theme delete its database values?

Does uninstalling a Wordpress theme delete its database values? I have a site that has lost some styling, and even after restoring a file backup (from 15/2/2016) and database backup from 19/2/2016, ...
-1
votes
1answer
70 views

Retrieve uploaded image attibutes value from option tree theme options

I'm using option tree for my theme options page. But I can't retrieve uploaded images attribute like alternative text, description,caption etc. How can I do that.
3
votes
2answers
58 views

Theme option : having the ability to select among several predefined headers

I'm in the process of creating my first theme, and I'm using Quark as a starter theme. I would like the theme to have various options, one being header selection. (let's say 5 different headers - ...
1
vote
2answers
136 views

Cannot find the code for “Edit This” link in posts in a specific theme

I cannot for the life of me find the code for this particular item: Usually in other themes there's the link "Edit" on the front page and post page to directly go to edit the post in admin panel. ...
0
votes
1answer
14 views

Echo content based on current tabbed page in theme options

How I can echo some content based on current tab in my theme options. My tabbed theme option page has these tabs TAB1, TAB2, TAB3 I want to display a message on TAB2. The theme options page slug is /...
0
votes
0answers
23 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
73 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 ...
0
votes
0answers
20 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
66 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
49 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
51 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 ...
2
votes
0answers
14 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
132 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
1answer
31 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
29 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 ...
2
votes
1answer
32 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
178 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
39 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
133 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
21 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 theme_options_init(...
0
votes
1answer
39 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
218 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
47 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
184 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
1answer
17 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
39 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
321 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
49 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
192 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
21 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
30 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
74 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
126 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 ...