Within the context of WordPress Theme-ing, the term 'template' refers to PHP files used to display content.

learn more… | top users | synonyms (1)

1
vote
2answers
223 views

Using wordpress template tags within an array

A bit of a noob PHP question coming up. I am trying to create a generic archive style view for my custom post types. Ideally I want to create one generic template that can be used for all post-types. ...
0
votes
1answer
139 views

Removing comment option

I am working on a theme that I found here: http://top-wordpress.net/ The theme is Terapy. I turned off comment option in the admin panel, but the blog posts show that "commenting is not allowed". I ...
0
votes
1answer
455 views

front page won't change templates

I have tried changing the template of the attached page and changing which page is attached as the home page, no effect for either. The front page remains the same. I am at my wits end with this one!! ...
0
votes
1answer
1k views

Custom Post Type, Custom Taxonomy Template: How to get current taxonomy name?

Ok so i have a custom post type called 'profile' with a custom taxonomy called 'company'. The site has many profiles and companies defined, with profiles being associated with companies as necessary. ...
4
votes
1answer
546 views

Outputting Canonical Resource URLs Across a Multisite Network?

Say a theme "foo" is used on across a network of sites. In each site, all the theme resources (.css, .js, etc.) will have distinct URLs: http://network/siteA/wp-content/themes/foo/style.css ...
2
votes
2answers
177 views

How to control template resolution if both Author and Category filter in place?

The following url resolves to the category template: http://localhost/author/myusername/?category_name=somecategory I have a category-somecategory.php template and just a generic author.php template. ...
0
votes
2answers
5k views

Footer.php not showing?

Here is my index.php file, for some reason the footer.php isn't being loaded through really weird, its in the directory of my theme, what could be causing this? <?php get_header(); ?> ...
5
votes
2answers
4k views

How to customize the default HTML for Wordpress Attachments

I'm using Wordpress 3.0.1 (most recent as of now) and working around the Whiteboard theme. It seems that for attachments (images, specifically), Wordpress generates the HTML automatically and it ...
1
vote
4answers
2k views

How to display nothing (instead default) when no user gravatar is present?

Is there a way to show no gravatar in comment list for the commenters that are not registered at gravatar.com? As much as I saw, gravatar.com doesn't return a special code when no avatar is ...
0
votes
1answer
729 views

Using shortcode in template file

this is shortcode in template: function shortcode_frame_left( $atts, $content = null) { return '<span class="frame alignleft">'. do_shortcode($content) . '</span>'; } ...
1
vote
3answers
396 views

Advanced templating / Wordpress as a CMS questions

I have a Web site that consists of several pages, with different layouts, and also a blog. I would like all these page to be editable through Wordpress, rather than having them as custom pages ...
1
vote
2answers
755 views

How to support custom templates on a custom post type?

I'm stucked at some point developing my theme. I created a custom posts types to support an image gallery. So far, it's working great (have a look on 'galeria' on psaikali.com). I registered this ...
2
votes
3answers
171 views

What is a good way to present templated content in WordPress?

I'd like to be able to add a template for a page that will present pages with similar data in the same style. For example, I want to be able to create a "Person Profile" template so that all personal ...
1
vote
1answer
284 views

Need Category RSS Feed that shows all posts

How do I go about making this? I've been trying to get add_feed and such but have had no luck.
5
votes
5answers
385 views

Updating WordPress overwriting customization tweaks - strategies?

Twice now I've updated wordpress, only to realise that (facepalm) it overwrites some changes I've made to the custom template - to sidebar or something similar. Obviously I don't HAVE to update, ...
2
votes
2answers
315 views

How can I make my custom templates respect permissions?

I use the Members plugin to manage permissions on my site. For standard templates, it works great - when the user doesn't have permission to see a page, they get the following message: Sorry, but ...
0
votes
1answer
333 views

Is there a way to upgrade a theme without losing custom templates?

I recently updated the main theme of a production site. Unfortunately, the upgrade process deleted all our custom templates. Is there any way I can prevent this happening again?
0
votes
1answer
156 views

Why does blog page not reveal it's template?

I've got a CMS style setup. The blog part is not on the home page. I'm trying to add certain things to the side-bar according to which template the page is using. That all works fine, except for ...
0
votes
2answers
121 views

Automatically going to the first page in a hierarchy?

Let's say I have a website about different types of cars. The structure is a little like this: -Home -Cars (shows a submenu with a list of cars, ie Volvo 850, Porsche 911 ) -Volvo 850 overview (the ...