Wordpress Category Template Question

Wordpress Category Template

I am looking at using a custom template for a set of categories. Is it possible to use a category template (like category-4.php) on a parent category and have the children use that template as well?

So based on the answer so far, is there a way to accomplish this? I want to add text and images to all categories within a parent category.

1 Answer

From the documentation it does not appear to be possible without actually adding several category template files (unless you custom program it). I run Wordpress, and I have only seen it accomplished category by category.

Wordpress MediaWiki Cookie Integration

MediaWiki Cookie Integration

I have my Wordpress install and MediaWiki sharing the same login information. Unfortunately, users need to log into both separately, but at least they use the same credentials. What I would like to do is cause a successful login on the Wordpress blog to also cause a login for MediaWiki (ideally both directions). There are two ways this could happen: Logging in causes a login on the other application (writes the cookie and creates the session in the DB) Accessing an application checks for the cookie of the other and then automatically logs in. Since the usernames are shared it seems like the latter should be pretty easy to do. Any tips would be great. 4 Answers The primary problem you are going to run into is that you'll have two login forms, and two logout methods. What you need to do is pick one of the login forms as the default, and redirect the other one over to it. I've been able to successfully integrate bbPress…

Read more…

Preview theme in WordPress

Preview theme in WordPress

In the latest version of WordPress, it gives you the opportunity to view a preview of what your site would look like using a different theme. You basically just click on the theme, it takes over the screen and you have a chance to activate or close it (and return to the previous screen, which is grayed out in the background). I have seen a similar technique used on a number of websites recently for display images as well. I'm wondering what technology/code they use to do this? It's open source - use the source, Luke. Look in wp-admin/js/theme-preview.js preview_theme() Start preview theme output buffer. Description Will only perform task if the user…

Read more…

Seeking code highlighter recommendation for WordPress

Code highlighter recommendation

Can anybody recommend a reliable and decently documented code highlighter for WordPress 2.6.1? I have tried Code Snippet by Roman Roan and Developer Formatter by Gilberto Saraiva. But they don't seem to work as described in the documentation and are mangling the code snippets instead of prettifying them. Re-opened...OP is asking about a 'code highlighter' widget...something programmers use on their blogs...seems programming related to me. 5 Answers I use WP-Syntax…

Read more…