A WordPress Theme is a collection of files that work together to produce a graphical interface with an underlying unifying design for a blog.

learn more… | top users | synonyms (2)

1
vote
1answer
443 views

What are non-printable characters doing in my theme?

* REQUIRED: Non-printable characters were found in the 'functions.php' file. You may want to check this file for errors. What are non-printable characters and how can I correct it?
1
vote
2answers
709 views

How do you get thumbnails to show up in the admin edit post?

I tried to add thumbnail support to my theme add_theme_support( 'post-thumbnails' ); set_post_thumbnail_size(133, 133, true); add_theme_support( 'post-thumbnails', array( 'post' ) ); ...
1
vote
1answer
409 views

How to set a single theme directory on a multisite blog?

Some days ago I've upgraded my single-site WP installation to support a multi-site WP website. So I've created two new sites and set the same theme I was using on my single WP blog before. But ...
1
vote
4answers
399 views

wordpress theme backend admin only

Does anyone know of a theme that completely removes all uses and aspects of the frontend. So the sole use of the site will be in the admin section. to use as a portal for something like a school or ...
1
vote
1answer
3k views

how to add custom fields in page

I am still new to Wordpress and I want to insert a featured content gallery into a Wordpress page. I tried to do it myself, but it wanted me to use custom fields. Where can I add custom fields, is ...
1
vote
2answers
1k views

Add a series of checkboxes to theme options

Hi I made a theme options by this tutorial This options have multicheck type by checkboxes. I don't know how to make it work. I'm try to exclude page using this multicheck. This is my array with ...
1
vote
1answer
9k views

Adding a Template to the Page Attributes Panel for both Posts and Pages?

I would like to keep my main theme as the active theme, but allow users to select a slightly different layout via the "Page/Post Attributes" panel. Ideally, I'd like to store this layout under my main ...
1
vote
1answer
146 views

Wordpress Theme Development Seemingly Awful Partitioning of Includes?

I just finished a tutorial that told me to create my header.php without closing a tag at the bottom of the included file. Now while I realize that in anyone of the parent files which includes ...
1
vote
1answer
345 views

Why do Trackbacks/Pingbacks not appear below my posts/pages?

My wordpress required me to check some Trackbacks and I checked and accepted them. They are listed in the comment administration and I activated "allow Trackbacks/Pingbacks on this page" on the ...
1
vote
1answer
34 views

Getting headers property from WP_Theme object

Using wp_get_theme returns an object holding the properties of the current theme. The headers property contains any array of information I wish to access. I can access the other properties using ...
1
vote
2answers
30 views

How to Know if a Plugin can be used with my Theme [closed]

I am new to wordpress & I am using a paid theme on my site www.freelancepulp.com I want to know how I can identify if a plugin is good suit for my theme or not? I had to remove all the plugins on ...
1
vote
1answer
44 views

Parallax WordPress theme without hardcoding - possible?

I want to develop my first Parallax WordPress theme, just for the fun of learning this stuff. I found this snippet: http://jsfiddle.net/cse_tushar/Dxtyu/141/ It lets the user click on a menu item ...
1
vote
1answer
99 views

What's the proper way to include inlined javascript-source?

I'm making a theme where I'm including a javascript-lib which wants to be loaded/instrumented with a potion of generated code at document.ready()-time. Generated because some theme-options are ...
1
vote
1answer
248 views

Embedded Videos (PB) - Not Available

I am using this link to create a wordpress website VIDEO At minute 53 the guy is using "Embedded Videos (PB)" widget in order to embedd a youtube video. (By the way he is using Page Builder). Problem ...
1
vote
2answers
78 views

Hide default “Recent Comments” Widget if there are no comments yet

Is there a way to hide the widget completely if there are no comments yet? I was thinking about maybe adding a php function to my functions.php file - is that a possible way? If so, can someone ...
1
vote
1answer
27 views

How to understand a specific bit of Wordpress syntax

I am changing a theme in Wordpress, and in an earlier theme, there was something like this that added a an email signup widget to the page: [green_tick_1_list width="100%"] But in the new theme ...
1
vote
1answer
37 views

How to know if user choose to show full post or excerpt?

I've seen there is a setting to choose whether to see full posts or excerpts on feed. However I'm using a theme that doesn't seem to support this functionality (it always show the full post). For this ...
1
vote
1answer
1k views

How to add favicon to my site - in both front end and admin panel

How can I add favicon to my WordPress site in both front end, and admin panel. I've tried many ways, but failed. I know, to show favicon the code is: <link rel="shortcut icon" ...
1
vote
1answer
162 views

First post of each category

I'm trying to create a simple loop, that gets the latest post of 3 selected categories. I've searched for something similar to learn from, but most are overly complex. At the moment, I have: ...
1
vote
2answers
2k views

woocommerce Add custom field set like billing fields

I am working on E-commerce functions where i require to Add custom fieldset as Profile Fields the fields in it are as billing Below are the Fields that is needed in My Check out and signup form ...
1
vote
2answers
211 views

Which hook callback has priority if both plugin and theme use the same hook?

If a theme and a plugin uses the same action hook, for example comment_form is used by both theme and plugin. Then , which one will be called first? the function associated with the theme's hook or ...
1
vote
1answer
575 views

How to move theme directory but not plugins/uploads out of WordPress root directory?

I am trying to set up a few local multisite installs that will share the same themes folder, but have separate upload and plugin folders that will be in the usual places in wp-content. UPDATED: ...
1
vote
1answer
39 views

Set multiple templates per post

In Joomla! articles can use multiple templates. I could only put ath the end of url ?template=templatename and article uses the template "templatename". Is this possible in Wordpress?
1
vote
1answer
65 views

How to remove comment link title attribute?

When I hover over any post's comment link, I see the title: "Comment on Post Title". How can I remove it? I could not find this text in the theme. Edit: Here's the source which generates the comments ...
1
vote
1answer
403 views

why does bones theme call the_excerpt function with parameters?

I have been triying to localize a wordpress site which uses Bones as the theme. In the theme's search.php, there is a line that goes: <?php the_excerpt('<span class="read-more">' . __('Read ...
1
vote
1answer
224 views

How can I let templates choose which stylesheets are enqueued?

My theme's functions.php hooks into wp_enqueue_scripts to register a couple of stylesheets that are used by various site pages. Here's a simplified version of my configuration: ...
1
vote
2answers
104 views

How does a Child Theme works?

I created a child theme and installed it but I don't know how exactly it works! For example, in the parent theme I have the code below: .header { margin-top: 10px; margin-bottom: 10px; ...
1
vote
1answer
414 views

Animated gif for a thumbs

I need to insert an animated gif for a feature image but I don't understand if is possible. Right now when I try to upload a gif, wordpress create automatically a gif single frame. Is it possible ...
1
vote
2answers
2k views

Undefined offset: 0 in > […] /wp-includes/capabilities.php on line 1067

Hey i get this error messages on my localhost setup, but only with the genesis framework enabled, wordpress twentyeleven works fine. This does happen when i want to create a new post. If i refresh the ...
1
vote
2answers
565 views

variables in translatable text

I am adding a list of suggested plugins to my theme using TGM Plugin Activation - https://github.com/thomasgriffin/TGM-Plugin-Activation/ However, when I run theme check, about 40 or so ...
1
vote
1answer
3k views

Calling widget via function in themes files (hard code)

Finally I finished to write my widget, and now want to call it using function inside themes php files. My widget looks like this: function reg_custom_widget() { ...
1
vote
1answer
211 views

Should a child theme share the same theme options row as the parent, or should it have it's own options row?

I'm developing a theme which uses the NHP Theme Options Framework to add some theme options. Naturally, the theme options framework creates a single row in the database to store the theme's options ...
1
vote
2answers
129 views

How do i structure my theme folder to avoid one huge list of files

When working with a worpress site with lots of custom post types and lots of page templates, my theme folder is looking messy. What are the accepted best practices to organise code files in WordPress? ...
1
vote
2answers
80 views

Posts vs. Pages

Okay so I've spent the last few weeks (on my spare time outside of work) creating a site for a client with a custom built theme. This is my first use of wordpress and the site can be seen here at ...
1
vote
1answer
142 views

Generating the ogp tags in theme

I use to generate the ogp tags in themes I code but this commercial one is beyond my knowledge. The client want to share a page but any image option shows up. Instead of a taxonomy-name.php template ...
1
vote
3answers
250 views

Removing feeds from header using a function?

I want to remove the default RSS feed, which I can successfully do by adding this in functions.php file. remove_action( 'wp_head', 'feed_links', 2 ); However, It is important for me to use this in ...
1
vote
1answer
1k views

Add social icons in a theme through custom admin menu

Is it possible to make a theme with an option of configuring social icons with links through the custom header control panel? I googled it and found nothing that could help me, any help on that topic ...
1
vote
2answers
240 views

Select menu on browser resize

I have seen on some wordpress themes that if the browser width is less, the normal menu becomes a select menu. Can someone tell me how it is done? I know there is a plugin for that, but I want to ...
1
vote
1answer
94 views

Can i have a single wordpress site to have two themes ( one for pc other for mobiles)

I have a wordpress site say at www.demo.com, now I have two themes one which I want to use this user is acessing the site from "PC" (computer) and a another theme, which is a full fledged mobile theme ...
1
vote
1answer
2k views

Translated my theme (translation not showing up)

I read a lot about what is the optimal to translate your website (french and english in my case) I set up a Multi site where I created two site one french mywebsite.com/fr and one in english ...
1
vote
1answer
723 views

What's the order of loading wordpress elements?

I currently try to make a theme for wordpress and I'm confused about lots of things. I'm not sure what's the order of loading wordpress elements, where some variables are available, where they are ...
1
vote
1answer
230 views

Load a different theme for IE less than 9

I want to load a different theme for those users who still use IE 6 - 7 - and 8 any plugin or code?
1
vote
2answers
4k views

How to add template to theme in WP

I've very new to WP and I'm trying to setup a new page which displays only a specific category through the WP admin section. I've downloaded the ACE plugin and I've managed to filter out posts with ...
1
vote
1answer
1k views

How to add pagination to my code?

I just want to ask how can I add pagination here in this code: <?php if ( get_option('webly_display_media') == 'on' ){ ?> <div id="recent-projects"> ...
1
vote
2answers
1k views

Wordpress ignoring specified template for front page. Why?

I'm using the Roots theme which with custom css. I'm using the page "Home" as the front page the page "Blog" as the blog page (in WP reading settings) I'm trying to set the front page "Home" to use ...
1
vote
1answer
151 views

Help with Wordpress Query

I'm sort of a noob when it comes to Wordpess; I've only recently started building themes and I've run into a wall. I'm trying to feature 3 different articles at the top of my site using wpquery and ...
1
vote
3answers
84 views

Is it possible to use Wordpress as an online portfolio for text content? What kind of theme would I look for?

I'm trying to build an online portfolio for a quantity of text content I've produced. I don't have to skills to design it myself or the money to pay someone, so I thought using a CMS with a free theme ...
1
vote
1answer
218 views

Wordpress themes under GPL license

On a themes site they stipulate, in the terms and conditions, that their themes inherit the GNU general public license from WordPress. I believe that this means that they can be copied and modified. ...
1
vote
1answer
37 views

How do I tell how popular a theme is?

Guessing the answer is no, but just wondering if there's a way to tell how popular a theme is.
1
vote
1answer
185 views

Fully automated theme install and activation via a plugin

I've managed to get my "semi noob proof" site installer plugin 98% complete, but I'm having a slight issue with the theme activation. The plugin is able to copy the theme into the themes directory ...