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)

3
votes
4answers
833 views

Using a Theme inside a Plugin directory

I am building a mobile friendly plugin and put the theme directory inside the plugin directory. If it's a mobile browser, how can I redirect to the theme in the plugin directory? ...
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 ...
3
votes
3answers
88 views

reason of splitting theme files to multiple files

I can create my theme without splitting it into separate files. Why do theme developers split WordPress theme into a few single files like header.php sidebar.php and etc?
3
votes
1answer
79 views

How to display date such “x ago”

I want display date based on how much time has passed since, i. e. Posted 12 minutes ago
3
votes
2answers
876 views

Hide a theme on list of themes in wp-admin without editing core files

I'm running a multisite network with 200+ themes installed and activated. Is there a way to manipulate the list of available themes in wp-admin so that certain theme does not appear in the list? I ...
3
votes
5answers
269 views

Get URL of a specific file

I have a file that can either be included in a plugin, or in a theme. What's the best way to get the URL of the file's folder (from within the file)? Edit: I'm now using this for now home_url( '/' ...
3
votes
3answers
1k views

Using chunk theme from wordpress.com on my own host

I am new to wordpress so please excuse this question if it is obvious, but I was not able to find a good answer here or via the more general internet. I want to use the Chunk theme from wordpress.com ...
3
votes
1answer
1k views

What is the best book to learn how to make themes for wordpress?

Do you any good book or video tutorials that easily explain how can I make my own theme for Wordpress? and how to change the structure of the content? Cheers.
3
votes
1answer
2k views

How to get Ajax into a theme - without writing a plugin?

Okay, I'm starting out with some AJAX stuff in a wordpress theme 1) I'm building a child theme OFF the thematic framework 2) My child theme has a header.php, index.php, functions.php and style.css ...
3
votes
1answer
169 views

How to set a unique WordPress theme for different pages?

I am new to wordpress. I am trying to build a custon website based on it. I know some php and quite good html \ css \ js. I wanted to know if it's possible to set a uinque theme for different pages? ...
3
votes
3answers
475 views

How to change the language for the front-end only?

I have installed a wordpress theme, i can see the .mo and .po /public_html/wp-content/themes/themename/lang, the language I want to use is available. Could you please advise on how to use a specific ...
3
votes
2answers
4k views

How to Use WordPress as Static CMS Without Blog Posts

I am very new to wordpress. I want to edit a wordpress theme and remove the blogpost area from it so it can be converted into a website. I also want to make some other changes. How I am trying to do ...
3
votes
2answers
111 views

How to automatically highlight syntax of code in a post?

I post my codes from different programing languages. Now, I want to highlight syntax of codes with different colors. But, doing it manually is time consuming. Is there any plugin or method which could ...
3
votes
4answers
2k views

How can I check for malware in a Theme? [closed]

There are so many free, freemium and premium Themes out there. How can I be sure that a Theme I download doesn't have malware in the code? Is there an (relatively) easy way to check for malicious code ...
3
votes
1answer
68 views

2 seperate installation 1 theme same server

i got 2 separate installation on the same folder each in their own sub folder - they use the same theme which i copied twice. Every time i edit a file i need to do it twice and its a real hassle... ...
3
votes
1answer
181 views

Where to post/upload the new theme for WordPress theme repository

After a long dedication, I developed a GPL Theme for WordPress. I want it to be available for FREE to WordPress.org Theme Repository. But consulting many Codex resources, I found no direct link where ...
3
votes
1answer
516 views

Should I use set_transient or update_option?

I want to store some Twitter API data in WordPress. After every hour, I want to fetch new data from Twitter, and update only if the data is successfully retrieved from API (sometimes the API gives ...
3
votes
1answer
1k views

How can I add a set featured image function to a theme that doesn't already have it built in?

I'm a relative newbie to WP and PHP in general, but now that I'm into it, I've caught the "WP fever" and have ditched asp.net. I finally found a quality theme that I like and I'm considering buying ...
3
votes
1answer
3k 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 ...
3
votes
1answer
446 views

WP Config for FTP credentials

Is there a config in WP that allows you to store your FTP credentials? I'm using the Linux webserver at work to develop and it's really annoying to have to but the credentials in every time I ...
3
votes
2answers
8k 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
331 views

Editing theme files and access to the Code pages only to super-admin?

When I deal with Multisite installation.Some themes like mystique and aparatus provide the widget areas with in the theme-settings page to enter Advertising codes in the form of HTML or java script ...
3
votes
3answers
2k 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.... ...
3
votes
1answer
924 views

How do I create my own admin button and theme settings page?

I have some options I want my client to be able to change, and so I need an options page for my theme that I can show for those with "editor" status. How can I do this and utilise the options in my ...
3
votes
1answer
236 views

Check php version before theme activation

I've got theme that requires php 5.3+ version. If older - fatal error occurs with it. So what I need to do when user try to activate this theme is to check php version before going into theme code ...
3
votes
1answer
280 views

register_theme_directory and broken deploys

I use register_theme_directory() in a mu-plugin to register a custom theme directory (located at project_root/app/views/, with site_root at project_root/public/ and WordPress in a Git submodule at ...
3
votes
1answer
81 views

Plugin development without Theme adjustments?

I'm an ambitious wordpress beginner and learner - this is my first question at Stackexchange - in case I'm wrong here, I'm grateful for anyone pointing in a better direction. On my page ...
3
votes
1answer
68 views

which is the function that removes accented vowels?

Which is the function WP uses to convert words like "voilà" and "novità" to "voila" and "novita" in category slug? Can I recall it in my theme?
3
votes
2answers
2k views

Need to create a Theme demo site that features multiple themes

I would like to create a site like: http://demo2.woothemes.com/?name=sentient for my clients, so that they can see the range of themes I offer. I own many templates from different providers, and ...
3
votes
5answers
539 views

How to create a theme option-menu page to save user values

I've created a wordpress theme and new in wordpress development I want to create option page to take some values from user and I've little bit done with that but confused where and how to save that ...
3
votes
1answer
1k views

What are the package and subpackage comment for?

This is included in themes and plugins. /* * @package WordPress * @subpackage Twenty_Ten * @since Twenty Ten 1.0 */ What are they for? I've read that they are standard and so on, but what is ...
3
votes
3answers
1k views

A minimalistic admin theme for a WP 3 install

Is there a minimalistic admin theme that works with WP 3? Adminimize looks nice, but isn't compatible with 3.x.
3
votes
3answers
1k views

Theme file for all pages that are a child of a specific page

Is it possible within the current theme file naming hierarchy to define a template for for all pages that are a child of a specific page? For example, in this navigation: About Us Contact Who We ...
3
votes
1answer
284 views

Custom Taxonomy-specific JavaScript

I'm looking to add some scripts and styles to particular taxonomy page. For example, I want to have a banner rotator only appear for posts that fall under the "issue" custom taxonomy. I've tried ...
3
votes
2answers
133 views

Retaining old HTML archives and displaying themes conditionally

I am converting a website from straight html (with tables! Ugh!) to WordPress. The company has a new design every year, and but keeps an archive of their old site(s) with the old design(s) on their ...
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 ...
3
votes
1answer
3k views

switch theme on fly

I have two themes: "Default" and "Alternate". I'd like to place a link on my site that says "Switch to Alternate Theme", which will change the default theme to the alternate and vice versa. A cookie ...
3
votes
1answer
875 views

Registering Sidebars and Sidebar Widgets. Sidebar Widgets Not Displaying

I am registering sidebars and sidebar widgets. The theme currently supports two sidebars. Primary and Secondary. add_action('widgets_init', array($this, 'add_sidebars'), 10, 2); public function ...
3
votes
4answers
122 views

How do I make my wordpress page more friendly for mobile viewers?

My basic question is How do I make my wordpress page more friendly for mobile viewers? I have seen some answers such as wptouch, wordpress mobile pack, and mobilepress http ...
3
votes
1answer
187 views

Custom Upload Panel in Menu Bar

I'd like to add a second custom Wordpress image uploader to the WP admin panel sidebar that will upload images to a specific directory. To be more specific I am designing a custom theme for a client ...
3
votes
1answer
533 views

Visually change theme via query string?

Ok, so I have an interesting situation here. I'm looking to have an option to "visually" change a theme via a query string. Basically over-riding the need to update the database and just temporarily ...
3
votes
0answers
79 views

A way to sort WordPress themes? [closed]

I want to write a plugin which can sort themes into categories. For example I have Categories 3 themes in Business as subfolder from /themes/business 7 themes in Nature /themes/nature 2 themein in ...
3
votes
3answers
664 views

Get url of thumbnail from the media uploader

I want to select image from the WordPress 3.5 media uploader. I can get the image URL with the following code, but it gets the full size image. I want to get the thumbnail image url,how can I get ...
3
votes
0answers
459 views

Error message “The page you are looking for is temporarily unavailable.” after editing a file [closed]

After trying to edit/update a file in the theme editor (file file has write permissions of 666), I get an error message saying "The page you are looking for is temporarily unavailable. Please try ...
2
votes
6answers
2k 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 ...
2
votes
3answers
1k views

Optimal solution to develop a wordpress theme?

What i was doing previously, are as follows - I copy the wordpress base theme (like twentytwelve in wordpress 3.5) Rename the folder and converted index.html of my HTML to index.php for wordpress ...
2
votes
3answers
703 views

Theme of codinghorror.com

I liked theme of codinghorror.com . It's Typepad theme but i need wordpress theme of this. Where i can find it ? Best regards, Dreamer
2
votes
2answers
998 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 ...
2
votes
3answers
113 views

Adding goodies to themes

How do I add stuff to themes such as Arjuna-X without losing it when the theme is updated? Are child themes a good way to do it or are there other options? What if a new version of the theme comes out ...
2
votes
3answers
665 views

new theme permissions don't allow me to edit

When I use wordpress to install a new theme it creates the permissions and ownership in such a way that I can't edit the files via FTP. Any ideas? (Using Plesk)