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

-2
votes
0answers
5 views

How to add Google fonts in the site with OptionTree google-font function?

Can anybody help me with implementing google font in my site options panel using OptionTree? I have added this in the settings array and have the font selection option in the options panel. How do I ...
-1
votes
1answer
56 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.
0
votes
0answers
281 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 ...
1
vote
2answers
789 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 ...
-2
votes
1answer
29 views

Modifying child theme options actually modifies parent theme

I'm using the evolve theme for my Wordpress site. I created a child theme by following the standard instructions (files below). I activated the child theme, and I edited the button shortcodes. The ...
0
votes
0answers
14 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 ...
-3
votes
2answers
37 views

Adding custom theme template to custom post type

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 ...
2
votes
1answer
30 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 ...
1
vote
2answers
42 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
9k 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 ...
-3
votes
0answers
26 views

WordPress Theme Options saving, but going to 'options.php'

My Theme Options are saving correctly, but it is redirecting user to options.php, a blank page. Even if I use an "example code", the submit button is going to the same page. functions.php just ...
0
votes
1answer
23 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 $...
4
votes
1answer
219 views

Best practice (forward compatibility) for theme options

So here is what I'm wondering... You all know about Option-tree and similar frameworks that theme authors are using for their theme option pages. You also all know that since 3.4 WordPress introduced ...
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
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 ...
6
votes
3answers
10k views

How to prevent escaping when saving HTML code in an option value?

I have a Theme Options page where the user can add certain options like Facebook links, etc. One of the options is for some ad code and when saving it as an option it gets escaped over and over again. ...
1
vote
0answers
36 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, ...
1
vote
1answer
757 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
1answer
24 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
41 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
3answers
8k views

[&hellip appearing instead of […]

There is some problem with my wordpress website, instead of [...] I am getting [&hellip everywhere. I have changed the charset to UTF-8 but the problem persists. Any help would be appreciated. ...
0
votes
1answer
15 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
82 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
89 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
42 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
199 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 get_option()...
0
votes
0answers
32 views

Get option selected programmatically

I am building a theme options page which will auto activate WooCommcerce. The users will also import demo content which will contain WC pages like Cart, Checkout, My Account and Shop. In the theme ...
0
votes
1answer
23 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
114 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, ...
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
135 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
22 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
64 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
1answer
38 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
66 views

trying to figure out how to use more that one image upload in the same section in theme customizer

i am trying to figure out how to use more that one image upload in the same section in theme customizer. the function is new WP_Customize_Image_Control. when you try to get the path of the image you ...
0
votes
0answers
17 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
62 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
47 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
47 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
1answer
108 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, ...
2
votes
0answers
13 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 ...
0
votes
0answers
64 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 ...
0
votes
1answer
26 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
2answers
154 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 ...
5
votes
1answer
3k views

How To Add New Option Types To Option Tree?

I am using option tree in theme mode and child theme mode and I am trying to add new option types. The new option types will be based off of the post-select option type, but will only list posts from ...
0
votes
1answer
37 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 ...