Questions tagged [theme-development]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
163 views

Add widgets to available widgets section without changing the theme?

I have a client that wants to use a particular theme without modification, but will likely want to have more widgets than are available with a given theme. Is there a way to add widgets to the list ...
1
vote
4answers
2k views

How can I exclude specific authors from wp_list_authors

I want to have the authors listed like usual from wp_list_authors() but I know there are a couple of ones I would like to exclude from the list as well. Is there a way to do that? Thanks
7
votes
3answers
75k views

How to remove search bar from a wordpress theme? [closed]

How to remove search bar from a wordpress theme?
16
votes
3answers
15k views

What's the difference between home.php and index.php?

If I create a home.php file, it seems that WP will use that instead of index.php, so index.php is never used? What are the differences between these two template files (located in the theme folder)? ...
3
votes
2answers
297 views

How can you develop on a live WordPress installation that is using W3 Total Cache? [closed]

Or to make it easier: you just want to disable the caching in order to see your changes in realtime. Any solution that would allow you to disable caching based on IP, logged user or cookie will be ...
0
votes
2answers
580 views

Archives and Categories in Custom Menu

What is the easiest way to place the Archives and Categories lists within my menu under a parent tab. I'd like both of the lists, such as "Archives" leading to the "archives" sub-menu, and the same ...
0
votes
2answers
140 views

Thesis -style Navigation

I am working on a theme where I would like users to be able to select pages to show in the theme options page much like Thesis. I've been Googling / reverse engineering Thesis for a couple hours but ...
2
votes
1answer
1k views

Wordpress theme with multiple color schemes

I am building a WP theme and want to implement multiple color schemes. I looked through different free and premium themes and found out that this feature is developed different ways there and here. ...
0
votes
1answer
84 views

How can I tell WP which file to load by default in Appearance > Editor?

When I navigate to... Appearance > Editor > Edit Themes The default file that gets loaded there is my options.css file (which I don't want anyone editing since it styles my theme options panel, not ...
2
votes
2answers
2k views

List categories and exclude child categories

The script below creates a listing of the categories in the site (excluding those in "uncategorized"). If possible, I'd like to modify it so that it only lists the top level categories (no child ...
1
vote
1answer
114 views

WP Northwind for Theme Development?

Is there any tool online that can quickly populate a WordPress3 database with faux information to assist in theme development? Perhaps creating 8 categories, inserting a dozen or so posts into each, ...
5
votes
2answers
370 views

Best practice for including plugins as part of a theme?

I'm working on a theme that includes some functionality I've developed as separate plugins (as I'm hoping to release them independently). I'd like to include these plugins as part of the theme core ...
4
votes
2answers
8k views

Strategy to get post meta for use outside the loop

I need to know solutions for the question above. There are cases, when we need post meta information outside the loop. Let's say, I'm developing theme that will display ads from certain vendor on that ...
5
votes
2answers
778 views

Any official way to create an admin theme?

I was wondering whether there's a common way of customising the aspect of the admin panel. I know you can play with the css and js files but what I was looking for is some kind of "admin theme" like ...
4
votes
4answers
3k views

Including CSS and JS on Admin Screen of Custom Theme Options

I am creating a custom theme with a theme options page. I would like to style the options page and do not want to include inline styles. Is there any way to include an external stylesheet from say ...
1
vote
2answers
15k views

How do I make the category template display full posts instead of partial posts?

I'm using Wordpress 3.0.1 with the Twenty Ten theme. I'm trying to change the way the posts in the Category view are displayed (i.e. by going to a url like mywebsite.com/category/mycategory). ...
2
votes
1answer
1k views

Enabling Widgets By Default in Custom Theme Development

In WP theme building, if a sidebar is not active, can I turn it on? Also, if the sidebar is active, and doesn't contain any widgets, can I add some? I'm a theme and plugin developer, but this is ...
1
vote
1answer
122 views

Need advice > converting category assignments to custom post meta values

Before I found out about the ability to add a meta box (with custom post meta selections) to the page and post editor, I was (and still am to a degree) using categories to define custom post meta. ...
1
vote
2answers
633 views

How can I remove specific custom post meta from the “Custom Fields” fieldset?

I've created a custom meta box to handle certain custom post meta fields and I don't want the clutter of having these custom fields duplicated down in the "Custom Fields" area. How can I remove ...
0
votes
2answers
628 views

WordPress 3 botches my Custom Meta Box values on Save

My theme has code that places a custom meta box on the Page editor interface for toggling noindex and/or nofollow attributes to the page. Its a simple little deal with two checkboxes, one says ...
1
vote
2answers
6k views

how to load the language file in plugin?

I'm unable to load the plugin's locale file (.mo). I did all the procedues described in the http://codex.wordpress.org/Writing_a_Plugin but its not working. If I the lang string to the wordpress ...
6
votes
5answers
3k views

Form Submitting Error with get_template_part()

I have come across an interesting problem regarding the get_template_part() . I have created a theme options page (named sitewideSettings.php) normally I would include this in functions.php like so: ...
1
vote
2answers
617 views

How do you apply multiple skins to a site via the “templates” selector using stylesheet switching?

I'm just getting my feet wet with templates and have a few questions. First, Ideally, my templates use the same structure as my main theme, however, they simply use a different stylesheet and images. ...
4
votes
2answers
15k views

Changing the visible url path to css & js files

Does anyone happen to know how I can automatically turn: http://www.example.com/wp-content/themes/theme-name/css/stylesheeet.css into http://www.example.com/css/stylesheet.css Naturally I could ...
7
votes
2answers
9k views

Generating CSS Files Dynamically Using PHP Scripts?

As part of my efforts to speed up my themes for my clients I am delivering my CSS via a dynamic PHP file. At the end of the called for example my_theme_css.php: This allows me to add Expiry headers ...
2
votes
1answer
137 views

Are there any Worpdress plugins to change the theme editor?

I've been browsing around a bit, but haven't been able to find any plugins for changing the default theme editor. Currently it's a text area with no syntax highlighting. I'd like something that at ...
1
vote
1answer
1k views

How can I display/hide certain content based on a Theme Option field?

I'm building a Theme Options page for my theme, and I've managed to get most of it working fine. But now I'm trying to show and hide certain parts in my theme based on a simple check box. An example: ...
1
vote
2answers
7k views

How to edit theme functions file to modify pagination?

By default, when adding <!--nextpage-->, the following links are displayed: Pages: 1 2 I need to replace "Pages:" with a graphic arrow which links back to the previous page, and append a ...
2
votes
3answers
746 views

How do I add a post to a menu

I'm trying to get WordPress to highlight a specific item in my menu when a post (any post) is viewed. I'm thinking that adding the post to the menu item, then suppressing display of sub-menus might ...
3
votes
2answers
1k views

Multiple Custom_Background, is it possible?

Is it possible to create multiple "custom background" administration pages? A site I'm doing now needs 2 different background in 2 different areas, I would really love giving my client the same ...
0
votes
1answer
205 views

how or where wordress collect unlogged user session

i see the pattern in some theme where we can collect session of unlogged user. for example, in a comment form: After user commenting, user can see that the their comment is waiting for a moderation. ...
3
votes
4answers
8k views

wp_nav_menu() custom container and container_id

So today I started work on my first Wordpress theme and so far it's been a lot of fun. However, I have had difficulty in getting wp_nav_menu() to do what I want. Here's what I want: <nav id="...
1
vote
1answer
170 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 ...
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 ...
2
votes
3answers
93 views

How can I include a post in a theme?

Sometimes it might be necessary to include frequently-changing content in a theme, but themes take some time to modify, it may also be necessary to let a non-technical user maintain some content that ...
1
vote
2answers
233 views

JavaScript Files Registered in Parent Theme Won't Load When Calling wp_enqueue_script() in Child Theme?

I'm making a framework parent theme and in the parent functions.php, I want to register all the possible js files I use frequently and if I want it to load it, in the child functions.php I just have ...
3
votes
1answer
844 views

Setting up partial Right-to-Left admin interface

I am building a custom theme WordPress instance, which needs to be Arabic at the public face and English on Admin site, but with RTL (flush right) in editing fields. My theme takes care of the public ...
5
votes
2answers
9k views

Adding Language Support using .pot and .mo files to a WordPress Theme?

How do we add language support using .pot and .mo files in a WordPress theme? And how we retrieve the theme?
39
votes
4answers
117k views

How do I get the theme URL in PHP?

I need to get the URL of my theme directory to reference an image in the theme's image/headers directory. How is this done in PHP?
37
votes
10answers
13k views

What process do you use for WordPress development? [closed]

I'm interested in how other people develop themes and plugins for WordPress. To me, the in-browser editor in the admin panel just doesn't cut it. Currently, I'm just using an IDE with a PHP plugin (...
3
votes
2answers
2k views

Why isn't is_home() working correctly?

I put a if(is_home()) bit in my theme's functions.php and it doesn't seem to work. The function containing this bit is called on init so is_home should work already.
71
votes
4answers
32k views

What is the preferred way to add custom javascript files to the site?

I've already added my scripts, but I wanted to know the preferred way. I just put a <script> tag directly in the header.php of my template. Is there a preferred method of inserting external or ...
8
votes
4answers
37k views

How do register_sidebar() and get_sidebar() work together?

Disclaimer: I am brand spanking new to WP. I am using the Starkers HTML5 framework theme. In the functions.php I see this code: function starkers_widgets_init() { // Area 1, located at the top ...
15
votes
3answers
21k 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 ...
73
votes
27answers
12k views

Software for WordPress Theme and Plugin Development? [closed]

What software do you use for your WordPress related needs? Please state your OS. On windows XP I use: filezilla (FTP) notepad++ (for reading of PHP / CSS files) firebug (a firefox extension to ...
1
vote
6answers
5k 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 ...
19
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?

1
79 80 81 82
83