Themes create the public (front-end) interface for a WordPress site.

learn more… | top users | synonyms

2
votes
0answers
24 views

Theme unit test data Foreign fonts come in garbled on my machine

Having just tried out the Theme Unit Test Data from the WordPress.org Codex, I noticed that some of the body text doesn't import properly on my set up which is a Mac running Mavericks. The effect is ...
2
votes
0answers
132 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 ...
1
vote
0answers
19 views

Add custom buttons with custom actions in Edit Post screen in WordPress?

I am creating something for a client and I have a Class that I created with a Custom Post Type called 'PuSH Feeds' and when the user adds a new post and publishes it they can then click on one of two ...
1
vote
0answers
9 views

Override customizer values on a per-menu base

suppose I have a few options in the theme customizer, and I might want to show for example 5 different categories listing menus in the site. In the customizer I can set options for all of those, ...
1
vote
0answers
60 views

WordPress Filtering Custom Post Type by Metadata and Search Heirachy

I have a custom Post Type called cptMovie which has two Custom Field (Metadata) "Language" and "Box office" assigned to it. I also have a Custom Taxonomy called movieTax with 4 tax Terms "Action", ...
1
vote
0answers
33 views

Theme Inspector “X-Ray”

I looked around and sadly didn't find anything answering this, and I'm almost 100% sure that it doesn't exist but I figured I'd ask this active community. I work in a Rails environment as a Front-End ...
1
vote
0answers
43 views

Limit number of users a role can create

Just wondering if there is a way to limit the amount of users a specific role can create? For example, if Editors can create new accounts, I only want them to be able to create 20, and then they ...
1
vote
0answers
27 views

How to make theme elements customizable in wordpress?

In Wordpress there's a menu option called 'Appeareances'. I want to add (e.g.) a submenu 'header' there and then be able to customize the header from within wordpress (administration page). From what ...
1
vote
0answers
45 views

Acivate all themes multisite wide automatically

I have a multi-site running locally. And it annoys me that I have to activate themes individually until I can use them on the sites. I am super admin, what is the reason WordPress handles plugins ...
1
vote
0answers
60 views

How to modify default controls in Wordpress theme customizer

I'm trying modify the default control in the wordpress theme customizer specifically the action for the close button. By default clicking it will make you go back to the themes page, but I want it to ...
1
vote
0answers
46 views

Plugin templates vs Parent Theme

I've been building a plugin using a WooCommerce like template system, where the plugin houses the default templates, but allows for overriding via a template folder in your active theme. It just ...
1
vote
0answers
39 views

Filter categories used with Custom Structure Permalink

I'm using a "Custom Structure" permalink setting: http://mysite.com/%category%/%postname%/ However, when the post belongs to uncategorized, or to more than one category, this produces unwanted URL ...
1
vote
0answers
42 views

Is it possible to visually group items on the theme customizer?

My theme customizer is getting bigger and I think from an UX perspective would be nice to visually group some similar items. Is there way to do that? Something like put a divider or playing with CSS ...
1
vote
0answers
44 views

Selectively update themes in WordPress multisite

I have been running a WordPress multisite installation for a few years, and every time WordPress releases an update (from x.y.z to x.y or x.y.z to x.y.z) there is always a chance that one of the ...
1
vote
0answers
83 views

How to add custom meta box under Gallery Settings in the “Edit Gallery” popup

I am developing a theme. I want to add option for the user to choose the type of the gallery which he is adding. Will it be a slider, masonry gallery or some other type. I cannot figure it out how ...
1
vote
0answers
241 views

Adding Custom Product Attribute and Variable in WooCommerce Programatically

Can you please let me know how I can add Custom Product Attribute and Variable in WooCommerce Programatically? I know this easy to be done in Woocommerce GUI but I need to do this through ...
1
vote
0answers
133 views

Need help setting default setting value for radio button in theme customizer

I need help figuring out how the radio button saves it's value in the theme settings. In my theme I added Radio buttons in the theme customizer. So far they are working great. Although I have one ...
1
vote
0answers
135 views

Dropdown filter by custom field

I have a problem: I need to add a filter associated to a Custom Field. I installed the plugin "Advanced Custom Fields" and I created a field type "date picker" with key "Fecha-de-Estreno", until here ...
1
vote
0answers
77 views

Is it possible to make *.js and folders visible in theme-editor

I just created a file test.js in the folder of my own child-theme. Unfortunately it is not visible in the Theme editor. How can I make it visible? And is it possible to make folders visible?
1
vote
0answers
335 views

Adding wp_enqueue_media(); causes problem

I want to add the media uploader in the theme options page. If I add following code in the options page, the media uploader works fine there, but it creates problem in the standard posts featured ...
1
vote
0answers
444 views

Getting jquery to work with custom theme

I am trying to get some jquery plugins to work with my custom theme. Up until now I was doing this: function my_scripts_method() { wp_deregister_script( 'jquery' ); wp_register_script( 'jquery', ...
1
vote
0answers
76 views

Getting php_network_getaddress error : No such host is known?

I am working on wordpress theme on my localhost. I started receiving this error. Its is very annoying and i have no idea to resolve this thing.
1
vote
0answers
396 views

Single page site with history.js

I'm developing a single page site that shows each page on the front page, like so: *-----------------* | Home | ...
1
vote
0answers
245 views

HTML added to editor when deleting shortcodes in Chrome browser

Example: [shortcode1][/shortcode1] [shortcode2][/shortcode2] In the above example, using the google chrome web browser, while in visual mode in the post editor, highlight shortcode 1 by ...
1
vote
0answers
112 views

Theme's window.open call goes to “Page Not Found”

I have a theme that has an uploader utility that opens in a popup window from the theme options page. Basically I have a button labeled "Upload" which has an onclick handler that calls window.open to ...
1
vote
0answers
46 views

Trackbacks not displaying

I'm building a new theme and I'm just working through the Theme Unit Test requirements in the Codex. I'm stuck on the Many Trackbacks test. My theme doesn't show any Trackbacks but for the test post ...
1
vote
0answers
61 views

gallery option is not available in media upload box in costum theme option page

Hi everyone I am creating a theme in which I have to created a sponsor upload image gallery on the admin panel in theme option page and its slide show on the front panel for this I follow tutorial to ...
1
vote
0answers
287 views

Nested comments in WordPress theme

I'm creating own theme to WordPress. Got problem with nested comments. I have enabled option in admin panel for two levels. And what next? I've read a lot of net articles but nothing helpful. I want ...
0
votes
0answers
23 views

Fully editable footer

I'm making a theme from scratch and I want to add a footer with editable stuff like copyright / social network / About author excerpt / some link. I looked around on google but I find answer who say ...
0
votes
0answers
23 views

Let users to add any number of input fields in the theme option page

I've been creating a custom settings page for my own theme according to this article. What I want to know is how to let users to add any number of input fields. Just like this image I have ...
0
votes
0answers
22 views

Iframes are not being showed in customized theme

I've build a customized theme with the client website layout based in twentyten but none of the iframes are being showed. An example can be seen in ...
0
votes
0answers
15 views

Display backend function to frontend?

Hello senior developers i have a problem to display to fontend.. //register settings function theme_settings_init(){ register_setting( 'theme_settings', 'theme_settings' ); } //add ...
0
votes
0answers
7 views

Execute upgrade-theme with coding

I'm executing some functions remotely from xmlprc with wordpress. I would like to run upgrade-theme remotely for theme that I develop. Assume that wp knows there is new version of theme. ...
0
votes
0answers
19 views

Single page of CPT

I'm trying to create a single page of a CPT. My cpt: <?php // CONVENZIONI CPT + TAXONOMY function cpt_convenzioni() { $labels = array( 'name' => _x( 'Convenzioni', ...
0
votes
0answers
12 views

Custom upload option get an error. (WordPress)

I have successfully created front-end upload option for the users. By following this tutorial. But, When I upload the images it's getting an error. I had enough to goggling now. Below is my codes, ...
0
votes
0answers
17 views

Allow users to label or classify or group posts accoring to their own criteria

Is it possible to allow individual users to group posts according to their own personal classifications. Say one user wanted to class groups by read and unread ... or 'to read' or 'shared' etc. ...
0
votes
0answers
11 views

User autonomous tags for custom post types

Is it possible to create a taxonomy ( or other ) system such that each user on a WordPress system could have an autonomous tag setup which they could use to order custom posts. For instance: There ...
0
votes
0answers
54 views

How to Use WordPress Color Picker API in Custom Post Type Metabox

I have a Custom Post Type called "Banner" which has a custom Meta box with two advanced fields "Title" (text Field) and "Color" (color Picker). Can you please let me know how to use the WP Color ...
0
votes
0answers
25 views

Custom text in header.php as page of edit field

I been creating a template from scratch in wordpress and now I have a template header with a image in it a text/ subheader text. And below that all some info text. What I want is that I can change ...
0
votes
0answers
25 views

Seeing multiple CSS versions

I've tried Googling this, but I've no idea how to fix this. I am not versioning my CSS and yet I constantly see this versioned CSS and it makes all the styles show up twice and it's really frustrating ...
0
votes
0answers
19 views

Mix and matching themes?

Okay, so I have a bit of an issue. I have customized a theme for someone, but they have decided they would like to use a different theme (I suppose for what the theme itself has to offer), but they ...
0
votes
0answers
21 views

How do I add a New-Post widget to my primary sidebar?

I am trying to modify the twentyfourteen theme by simplifying and deleting most of its widgets. I have done this successfully for the toolbar, but one of the widgets I would like to keep is the one ...
0
votes
0answers
31 views

How to display different content on page based on parameters sent for index.php

I have created a novice WordPress theme. On the main page that is structured based on index.php (not index.php of the site root, but rather index.php within my theme folder). The problem I have is as ...
0
votes
0answers
54 views

Link (by categories) to the first and last posts in custom post type

Link (by categories) to the first and last posts in custom post type For a new theme, I created a “story” custom post type. The main content has a different style than the blogging part, with ...
0
votes
0answers
10 views

How to add a blog feed to a custom main page?

I would like to add a blog feed to a 4-section main page; header, content, blog feed and footer. I'm using WP 4.0 and a child theme for the TwentyFourteen theme. I'm unsure wether I should place the ...
0
votes
0answers
26 views

If it is a top level category show children otherwise show sibling categories

I found a great piece of code for my category.php file to list categories for a specific taxonomy (not tested). BUT - how can I change the code (or achieve it) to show the default Wordpress categories ...
0
votes
0answers
78 views

Issue on Counting CPT's Under Taxonomy Term

I am using this code to count number of Custom Post Type $tax_terms = get_terms($tax, $args); foreach ($tax_terms as $tax_term) { echo '<li>' . '<a href="' . ...
0
votes
0answers
64 views

Not Able to Display Metabox Saved Checkbox and Selected option After Save/ Update

am using this code to create a Metabox for CPT. Now I am able to view the updateded / saved Text input on post but the Checkbox and selected options return null after save or update. Can you please ...
0
votes
0answers
51 views

Editing attributes of ul and div by wp_nav_menu

According to documentation of codex site, the code $defaults = array( 'theme_location' => 'header-menu', 'container' => 'div', 'container_class' => 'navCtrl', ...
0
votes
0answers
44 views

How to avoid Ajax in wordpress theme in making mulitple request?

here is my function that make request, When ever page loads this scripts makes multiple request in front end making web site load very slow. function enqueue_scripts_styles_init() { ...