The theme-options tag has no wiki summary.
2
votes
1answer
18 views
Best practice way to implement custom sections into a WordPress theme
I'm having trouble figuring out the best way to implement custom sections in a WordPress theme. For example I'm making a theme that will have four featured sections on the homepage. These sections ...
0
votes
1answer
24 views
Consequences if using PHP include TEMPLATEPATH?
I have created a Theme Options page using Settings API so now I need to style it using CSS.
Instead using function like this inside functions.php
function mytheme_add_init() {
if ( is_admin() ) {
...
0
votes
0answers
27 views
Custom widgets in theme option page
I'm trying to create a simple theme options page that uses widgets to change the layout of content on the front page.
I started off by using meta boxes not realizing that the position is based on ...
0
votes
0answers
7 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 ...
0
votes
1answer
28 views
Creating Theme Options Page
I was creating a theme options page based on a tutorial by Tom McFarlin at TutsPlus and I'm a little stuck. I can't understand where the code goes bad here, because it doesn't allow me to access the ...
0
votes
0answers
13 views
Bring up the media uploader on click
In my theme's options page. I want to have a textfield where a user can enter a http path to an image.
and
have a button beside it which brings up the media uploader (library) where a user can ...
0
votes
0answers
26 views
Multiple homepage layouts as selected by user from theme options
I am working on a theme which will enable users to select multiple layouts from the theme options panel.
What I did so far is to create multiple theme files, depending on each theme, put it in a ...
-1
votes
0answers
10 views
Print print wp_dropdown_categories value from admin?
I create a category list (use wp_dropdown_categories) on theme option page, allow user choose the category to show on website. But I dont know how to get the wp_dropdown_categories value from the ...
0
votes
1answer
27 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 ...
0
votes
1answer
32 views
Wordpress theme options framework, I can't read them in my templates
I successfully created my theme options page using this framework:
https://github.com/devinsays/options-framework-theme
The problems Is that when, for example, I try to load the Option: 'logo_image'
...
-1
votes
0answers
24 views
theme options panel [closed]
plz i need help to create simple options for a theme
this an example :
in theme i have this code
<div id="ticker-wrapper" class="no-js">
<ul id="js-news" class="js-hidden">
<?php ...
0
votes
1answer
35 views
Not able to call class in NHP framework
I have downloaded fresh framework and installed on my local server. I copied options folder and nhp-options.php inside my theme directory. Then I called the class globally by
global $NHP_Options;
...
2
votes
0answers
52 views
Is it safe to post form data via Ajax to the settings api? Am I missing something?
In my Wordpress Admin, I have my theme options set-up using the Settings API. I am trying to save the theme options form using Ajax so that the page does not refresh. The only thing i needed to add ...
-2
votes
1answer
25 views
Theme Options Page (Customizer or not?) [closed]
Add theme options to theme CUSTOMIZER or by creating a section in admin menu? Which way is better in your opinion?
0
votes
1answer
37 views
How to check if a categoryID exists in a theme options page
I have tried to make a theme options page (starting with a sample theme options page from themeshaper) and I want to check if a comma separated list of categories is valid. Remove duplicates, remove ...
1
vote
1answer
26 views
Is it possible to save more than one image to an option?
The following code allows you to upload multiple images but only one is saved to the option. Can multiple images be saved to the option as an array or would I have to create separate controls?
...
0
votes
1answer
44 views
wp_deregister_script was called incorrectly
So apparently I am now allowed to do the following in the admin, ON my theme options page and only ON my theme options pages:
public function load_admin_jquery(){
...
1
vote
0answers
39 views
Getting Theme element into plugins page editor in wp admin
I'm having a hardtime integrating a theme editing element (in default page/post editor in wp-admin) into page/post editor made by the plugin BU Versions.
Basicly I need this theme element
to ...
0
votes
0answers
34 views
How to backup custom admin panel's settings?
I saw in some premium themes the feature where you can backup the theme's custom settings.
The backup file's content is:
YWlsLmNvbSI7czoxMToic3VjY2Vzc19tc2ciO3M6MTAyOiJUaGFutZSwgyZ etc....
How ...
0
votes
0answers
25 views
Theme Options, Check box not unchanging
Every Option in my theme option will save, weather you enter text, delete text, click a radio box or even check box. How ever, once check boxes are clicked they do not seem to un-check.
I have ...
0
votes
2answers
71 views
Color Options from Theme Customizer API not returning via get_theme_mod()
I am working with the Theme Customizer API and am going crazy trying to find the stored values. The values successfully save and update on the front-end, so they are obviously registered ...
0
votes
0answers
24 views
Self Made Theme not showing up in Avaliable theme options [closed]
I made a custom theme in my local wordpress. I added a style.css in the folder and an index.php. I also added a Images folder. But my theme is not showing up in avaliable themes! What can be the ...
0
votes
0answers
58 views
Custom Theme Options page permission issue
I've created a custom theme options page for my theme. I've added the manage_options and edit_theme_options capabilities to the editor role and those are definitely working properly. I can save items ...
2
votes
1answer
40 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 ...
0
votes
1answer
22 views
Is there an action for save_menu and/or update_menu?
I want to "save" my menus into transients. I want to update those when there's been any changes to the menus via the admin custom menus. I've looked for an action but can't see to find anything. ...
0
votes
2answers
119 views
Settings API - save multiple tabs at once
In the attached screenshot you can see the structure of the theme options we are working with. There are 8 tabs and for each tab, we have created custom fields using code similar to what can be seen ...
1
vote
2answers
43 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 ...
0
votes
0answers
21 views
After added two section to theme options, I can't save the content
I added a section for my options, everything works fine. I added a new section (social) and after that I can't save the content of the "General Options" form. The business section is working. Where is ...
0
votes
1answer
42 views
How to support special characters in text field?
When i put special characters in text field on wordpress themes option then it's gonna add some slash characters Like if I put
It's
then its show
It\'s.
How i solve that?
0
votes
0answers
80 views
How to use Redux Framework checkbox option and Checkbox to hide below?
Can anyone tell me How to use Redux Framework checkbox option and checkbox to hide below option on my themes?
If I try …
if ( isset($options['opt_ID'] ) ) {
<?php echo $options['opt_ID']; ?>
}
...
0
votes
2answers
61 views
Cannot modify headers
I absolutely hate this error. And do not understand it at all.
So this is my code, what you want to focus on is the foreach loop:
public function reset_theme_options(){
...
2
votes
1answer
80 views
Adding a description to theme customizer controls
How could I add a description to $wp_customize->add_control? I've found I really need to include a short description on some of the controls but it doesn't look like it's possible.
I noticed you ...
0
votes
1answer
108 views
Theme Options - localhost to new url
Im having this issue that happens to me each time i work on a website.
On every project i start working locally and once im done i export my Database and search replace all localhost url's to the ...
0
votes
1answer
64 views
Notice: Undefined index: in options-framework.php
I am generating the following notice in the options-framework.php.
Notice: Undefined index: in options-framework.php
I believe it is something to do with sanitization, but do not know how to resolve ...
0
votes
1answer
52 views
Notice: Trying to get property of non-object in options.php
I am generating the following notice in my options.php when testing my theme in wp_debug mode.
I can see where the problem is but do not know how to fix this issue?
It seems the non object is being ...
0
votes
1answer
112 views
Create /archive page in Wordpress Theme
I'm trying to create a Wordpress theme, and I'm having a little difficulty with creating an easily accessible archives page.
First off, I'm not referring just to the standard archive.php in the ...
-1
votes
1answer
79 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
67 views
Cannot query custom post type taxonomy from theme options array
I am having no luck with querying a custom post type taxonomy from an array in theme options.
My full code is below, would be grateful for some feedback to get it working correctly as I cannot get ...
0
votes
1answer
105 views
Problem with query_posts for a custom taxonomy in theme options
I am having some issues with querying the output of custom taxonomies in my theme options.
I have included what I think are the necessaries below.
Many thanks for your help in advance.
// Pull all ...
0
votes
1answer
54 views
How do I display a full post, not just an excerpt?
I am a newbie, so apologies in advance if my terminology is off. I have purchased a theme (WP SmartStart) and I would like the posts in the blog to display fully, not just as excerpts. I read previous ...
0
votes
2answers
47 views
Custom post types problem
I have in my blog around 2k+ posts in 15 categories and around 1k tags. The problem now is that the website I bought the theme from decided to upgrade/update their themes infrastructure and now I need ...
0
votes
1answer
35 views
The content not wrapped in paragraph tags with get_page_by_title()
I am using $page = get_page_by_title('name'); to get the contents of a page. When I echo $page->post_content; none of the content is wrapped in p tags like it is when run threw the normal ...
0
votes
0answers
26 views
Returning Options in Extended Class
I'm creating an admin interface with meta boxes, and want to create a system that allows me to easily add options to each meta box through a series of classes.
The problem I'm having is outputting ...
1
vote
1answer
143 views
Location of theme options page menu icon
Hi this may look a little silly question but can someone let me know where is the location for theme_path? is it inside my own theme or very top level of the directory?
'menu_icon' => theme_path ...
3
votes
1answer
55 views
Outputting results from select box option in options panel
I'm trying to figure out how to get the results from a select box option and apply them to my theme. When I use a text input or color picker it works fine. But when I use a select box, nothing is ...
0
votes
2answers
316 views
Upload images - Theme options
I'm using this great [tuts+ tutorial][1] for creating theme options page. It works great for me be beause I need to change background images of divs via css. It works great with one image but I dont ...
0
votes
1answer
29 views
Apply custom names for generic custom taxonomy name?
Hello, this is more of a 'is it possible' type question. Keep in mind, I am no php master by any means, but can generally figure things out : )
Say i have a wordpress site that is for displaying menu ...
0
votes
1answer
83 views
How to get functions.php to talk to options.php
I am using Options Framework to build a list of theme options (using code from the theme, not the plugin).
I have a colour picker as an option, and I can set and call this colour okay.
I'd like to ...
5
votes
2answers
555 views
What are the advantages and disadvantages of Option Tree over the Customization API?
I'm relatively new to WordPress theme development, and I had to create a theme with options available. I did a Google search to see what are the possibilities, and I read articles about such, and read ...
0
votes
1answer
74 views
Link blogname and blogdescription to the Options Framework
I'm putting together a Theme Options page, where the user(s) I'm building this for would like to be able to edit a few settings directly from this page, including of which - the Site Title and ...


