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)

56
votes
11answers
9k views

WordPress frameworks and parent themes [closed]

By now there is a considerable amount of WordPress code around that is meant to be re-used by other developers. Unfortunately there is little to none practical and solid information on it and ...
97
votes
9answers
13k views

Tips for using WordPress as a CMS? [closed]

I want to use WordPress as a CMS for a reasonably basic site rather than a blog. I have several pages and at the moment, I don't intend to have a "news" page. While there are ways to make this work, ...
12
votes
3answers
2k views

Customizing a WordPress theme without changing it?

I have found and downloaded a theme. However I want to tweak the CSS some to change the design, colours etc. a bit. How should I go about doing this, while still being able to update the theme without ...
3
votes
3answers
1k views

Automatic Updates For Private And Commercial Themes?

Is there any way to get wordpress to check for, download private theme updates? I found this plugin for private plugin updates.... ...
16
votes
2answers
6k views

Adding an Arbitrary Link to the Admin Menu?

Is there a way to add a arbitrary hyperlink to the WordPress admin menu (I mean the menu on the left when you log into the admin dashboard)? For example, can one add a link to Google? In my ...
11
votes
3answers
3k views

Adding admin-ajax.php to the frontend. Good or bad idea?

I love admin-ajax.php. But I hate having to localize in order to point frontend scripts to it, and I wish there was an equivalent, easy-to-find file for themes. (It also just bothers me to see ...
35
votes
3answers
2k views

Opinions and recommendations on the best barebones base theme [closed]

Preamble I'm finding myself building more and more WP sites "from scratch" as it were (ie: ignoring any theme designs out there and just creating a design wireframe purely on the needs of the client. ...
11
votes
8answers
1k views

Where can I learn to create my own theme?

I want to learn how to create a theme for WordPress. Where can I find information and resources on how to do it?
12
votes
2answers
558 views

How do I exclude plugins from getting automatically updated?

There is an opt-in filter that allows all plugins on my site to receive automatic updates: add_filter( 'auto_update_plugin', '__return_true' ); I like this feature, but I don't want all my plugins ...
9
votes
2answers
7k views

How to Link External jQuery/Javascript files with WordPress

So I'm using Starkers to base my next WP theme on and I've run into a small issue, I was including my own version of jQuery in the header.php file but when inspecting my site using Firebug I noticed ...
6
votes
1answer
18k views

How to use media upload on theme option page?

I want implement upload logo to my theme option page. Currently I follow this code What I have done for now load a related jquery for the media upload function load_only() { add_thickbox(); ...
8
votes
4answers
2k views

What does exactly GPL license mean for my WordPress theme?

To put it like this: I have created a WordPress theme for myself which consists of the following: PHP code - GPL v2 licensed like WordPress CSS files - All rights reserved JS files - All rights ...
3
votes
1answer
2k views

How to solve a conflict between a plugin and a theme?

I'm using Photospace as a gallery slider within my hatch pro wp theme (you can check here). The default transition effect between slides is a crossover effect (like this example), but the effect in ...
2
votes
2answers
881 views

How do you change the theme location?

To change the upload directory I have to do this: define ( "upload", "<new upload location>" ); How can you change the themes location? I like to create a folder themes in the root directory. ...
0
votes
1answer
53 views

What does the term “bundled-theme” mean?

I have occasionally heard the term "bundled-theme". I know what a WordPress theme is, but I don't know what a "bundled-theme" is. I came across that term recently when reviewing the WordPress ...
23
votes
17answers
2k views

Where can I download WordPress themes from? [closed]

What sites offer WordPress themes to download? (Can be paid-for or free) It's community wiki so if we had one site per answer, and with a little additional detail on each site, what sort of themes ...
5
votes
1answer
1k views

Best practices for a Style/CSS based theme options page?

I would like to create a theme options page based only on changing the site wide CSS styling. For instance body/container background colors, font-sizes, font colors, etc. I have accomplished this by ...
5
votes
1answer
186 views

What is meant by __('page','twentytwelve')

I'm using twentytwelve theme with 1.0 version. I saw many codes like following, 'name' = __('page','twentytwelve'); If I give, 'name' = 'page'; It's also working fine. Then why using __()? What ...
2
votes
4answers
8k views

Different template of products for specific category. WooCommerce

For example i have category coffee machines, and one template for coffee machine single product template, but for category coffee i want to have different single-product.php template, how to implement ...
1
vote
6answers
5k views

How to see files in directories in “Edit Themes” screen

I like to have folders in my theme folder for scripts and styles, but I can't access these folders in the "Edit Themes" interface. This is problematic for clients that don't give me FTP access. Is ...
0
votes
1answer
12k views

Creating Multiple Menus when using the TwentyTen Theme?

How to get multiple menus in TwentyTen theme?
1
vote
1answer
127 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 ...
0
votes
2answers
580 views

Creating a job board using WordPress (for free)? [closed]

I found several plugins/themes for creating a job board with WordPress, but only one solution which is free (see here) Are there any other free solutions for doing that? Thanks.
1
vote
1answer
199 views

How can I list recent posts excerpts?

I am using this directly from the codex to list 3 recent articles titles. <ul> <?php $args = array( 'numberposts' => '3'); $recent_posts = wp_get_recent_posts( $args ); foreach( ...
1
vote
1answer
512 views

Change Default Image HTML

I am making a Wordpress theme and want to change the default image html. For example if you upload an image using Wordpress uploader it generates the following html for your images <a ...
0
votes
1answer
544 views

one page wordpress theme

I'm trying to create an one page template [ w/out infinite scroll ]. The two problems I'm running into are adding a class to the list pages function [ or finding some other way to target the menu for ...
24
votes
6answers
3k views

Using OOP in themes

I see a lot of plugins making use of object-oriented coding when there isn't really necessary. But what's even worse is that theme developers are starting to do the same thing. Commercial themes and ...
12
votes
1answer
3k views

Custom Post Type Templates from Plugin Folder?

I'd like to offer my custom post type as a Plugin, so that people can use it without touching their theme folder. But custom post type templates -- such as single-movies.php -- reside in the theme ...
2
votes
6answers
1k views

What are WooCommerce starter themes? [closed]

I've done created a lot of Wordpress themes and plugins, but I haven't done much with the Wordpress WooCommerce plugin from WooThemes. If someone asked me what general theme they should work with to ...
3
votes
1answer
3k views

Show a WP 3.0 Custom Menu in an HTML Select with Auto-Navigation?

As part of a theme for a client, I want to be able to show a custom menu (defined via the admin) in a select box that automatically changes pages after changing the selection. Is there a plugin (or a ...
9
votes
4answers
8k views

How can I allow the Editor Role to change Theme Settings?

I've just setup a new Blog for a friend and thought it's better to not give him Administrator Access right away as a pre-caution. I created a new user as Editor therefore. But then I saw that this ...
3
votes
3answers
4k views

“Unexpected error” on update requests

It needs connectivity to wordpress.org and is timing out. I am behind a corporate firewall. I have never had this issue come up before in previous versions. Why does themes.php need access to ...
11
votes
3answers
616 views

Wordpress API Menu/Submenu Order

I'm developing a child-theme using Wordpress 3.4.2 and the development version of the Options Framework by David Price. This is my first theme and I'm relatively new to this, so I've had a look into ...
7
votes
1answer
161 views

Shared functionality in plugins and themes

I recently started to develop plugins and themes and I found that I need to use several functions of on both. Sometime I think about to check if function / class exist before declared as said on this ...
6
votes
2answers
237 views

Categorising themes by folders in backend

I want to organize themes like: wp-content/themes/themeshop/theme1 wp-content/themes/themeshop/theme2 wp-content/themes/themeshop/theme3 Now from my understanding, this organization works ...
5
votes
4answers
6k views

Dynamic template serving, change theme_root using add_filter from current theme

Some plugins use the 'template', 'option_template' and 'option_stylesheet' to dynamically serve (alternative) wordpress templates. For example, Nathan Rice's ServeDefaultToIESix. For Example - ...
1
vote
2answers
576 views

Load a theme based on browser detection

Ok I know browser detection is considered bad practice but I can't find a way around it because I really do need whole different themes for a complex site. So I snatched this function from ...
5
votes
2answers
4k views

Show different theme for admin?

I'd like to test some theme changes on my live site, but I obviously don't want regular users seeing any errors that may arise from it. I'd like to just duplicate my theme folder and if I'm logged in ...
4
votes
3answers
369 views

Plugin (or Theme) containing its own Plugins?

My Theme defines its own actions and filters so that it can be extended by third-parties without having to fork or modify the Theme's core code. I already have a few plugins specific to my Theme, ...
3
votes
2answers
7k views

Multiple level category drop-down

I'm using WordPress as a CMS and would like to have categories selectable from multiple selections i.e <option>. As a usage example, The first dropdown would contain parent categories. Then ...
3
votes
3answers
2k views

Loading template files from a subfolder in my theme?

I am working on a site that will have up to 30 templates in it. I don't want to have all those templates at the root of my theme folder cluttering up everything. I know how I can modify the ...
2
votes
2answers
13k views

Hide prices and checkout functionality in woocommerce

I know this question might be too broad, but I'm looking for a bit of direction. My client has a woocommerce store with 30-40 products. For whatever reason they do not want to sell online anymore, ...
2
votes
2answers
981 views

Making the Header on the Twenty Ten Theme Less Tall?

The question is How do I make the header on the Twenty Ten theme less tall? That question was asked over at the LinkedIn WordPress group that is hidden from search engines so I thought I'd copy my ...
1
vote
6answers
3k views

How to start learning CSS and theme development?

What would be your suggestions for learning CSS and WordPress theme development ? I have been using WordPress for over 4 years now, but I have never really gotten comfortable with CSS or theme design ...
0
votes
4answers
129 views

Is it possible to stop a theme activation when a certain plugin is not activated

So I am planning a theme that will depend on a plugin (for instance Timber or Themosis). So of course a theme will break if it can't use it's depending plugin's. So I would like a way to stop the ...
0
votes
2answers
3k views

How do I get gallery thumbnail URL and change the default thumbnail size?

when I create a gallery I get this code generated yet I can;t find out how <img width="150" height="150" src="http://localhost/wp2/wp-content/uploads/2012/06/28_0120-150x150.jpg" ...
7
votes
3answers
552 views

Am I allowed to license my Wordpress theme under the aGPL

I was interested in the recent conversation about whether WordPress themes need to be licenced under the GPL or whether they can be closed source. The video can be reached from matts blog and my ...
2
votes
1answer
117 views

Is it mandatory to have a link to the theme designer?

I just wanted to know if it's ok to modify/remove links pointing to the designer of the theme. In my case I have "theme by" and the site's logotype, would it be ok to remove the logotype and write ...
1
vote
1answer
373 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
586 views

How to put a banner ad between post 1 and post 2 on homepage only

Wordpress Swift Theme is installed on my My site http://tech-ticks.info From last few days, I am trying to find a solution to put an ad banner on homepage only between post1 and post 2. I have ...