frankydoody
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Applying a theme to a categoryOk, thanks.
I guess I’m off to make a test installation of WordPress MU, then. I just don’t know if posts made on different blogs can be shown on another one (a ‘central’ one), just like posts from different categories all show up on the main ‘page’ of a WordPress blog.
Thanks for the links, as if it doesn’t work with MU, I’ll simply go for different headers for categories.
Thanks again.
Forum: Themes and Templates
In reply to: Applying a theme to a categoryYes, I saw and read the codex carefully more than once.
There are 3 things I’d like to point at from that article.
First, it is marked as in need of editing. I’d love to help and do that, but I’m obviously not knowledgeable enough in that domain as I’m requesting help regarding the very topic.
Second, the part that is of most interest for me (“The Custom Category Template”) barely has any explanation, just a full page of code in which noobs like me get lost. In addition, it seems strange to me that it relies on a plugin to work. If you want to remove the part of the code that concerns the plugin (which creates a random list of posts of a category, which I don’t care for) you’re on your own: there are no comments indicating where and what is happening in there. I suppose that the earlier cases looked at before we get to the custom category template file are supposed to make it obvious to all, but it doesn’t, not for me anyway.
And lastly,
This is not for the timid, and familiarity with PHP syntax and WordPress template tags is recommended.
Of course. Should I dig my own grave or look for some help in the forums? I am not timid, but I am unfamiliar with both. I thought that’s why there were articles, a codex and support forums.
Seriously, I know some people just don’t read the codex and the articles and get straight to the forums. I didn’t, and I need help. I think I want to do something that is the topic of at least one of those articles, but I can’t do it.
I’m sorry I sound frustrated: I really am. I’ve been at this for a while now, and I can’t seem to get it. I’m very confused as I tried many things with too many files and code I don’t master. Code is poetry, sure, but I hardly get the language. The article does cover many cases, however I don’t feel like I relate to them.
Use what you have learned and put the whole thing together so you can see it in action, one
category.phpthat generates custom information for each category on your site.This is exactly what I want. However, I find more explanation in another article: Different Formats for Different Categories and Different CSS For Different Categories (The Loop in Action) I can use the examples to create a single
category.phpwith a conditional test to figure out which category is being shown and apply the theme (template and CSS files) corresponding to that category. And here’s what I come up with:<?php if (in_category('2') ):
// we're in David's category, so show David's theme ?>
<-- I need to put the code to point to David's theme -->
<link rel="stylesheet" href="<?php get_template_directory(); ?>/wp-content/themes/David's_theme_dir/style.css" type="text/css" media="screen" />
<?php } elseif (in_category('3') ):
// we're in Brian's category, so show Brian's theme ?>
<-- I need to put the code to point to Brian's theme -->
<link rel="stylesheet" href="<?php get_template_directory(); ?>/wp-content/themes/Brian's_theme_dir/style.css" type="text/css" media="screen" />
<?php elseif (in_category('4') ):
// we're in Frank's category, so show Frank's theme ?>
<-- I need to put the code to point to Frank's theme -->
<link rel="stylesheet" href="<?php get_template_directory(); ?>/wp-content/themes/Frank's_theme_dir/style.css" type="text/css" media="screen" />
<?php } elseif (in_category('5') ):
// we're in Alex's category, so show Alex's theme ?>
<-- I need to put the code to point to Alex's theme -->
<link rel="stylesheet" href="<?php get_template_directory(); ?>/wp-content/themes/Alex's_theme_dir/style.css" type="text/css" media="screen" />
<?php endif; // end the if, default theme for other categories ?>It doesn’t work. I was pretty sure it wouldn’t because I haven’t yet pointed to the right
header.php, orindex.phpof the category’s theme. I don’t even get a screwed default theme when I click on the categories… is it even reading the CSS files?Forum: Themes and Templates
In reply to: Applying a theme to a categoryI suppose what I need to do is to have a category-X.php file that points to /wp-content/themes/theme_dir/theme_index.php.
I just don’t know what code should be in category-X.php so that it points to the theme to use.
Forum: Themes and Templates
In reply to: Applying a theme to a categoryErr… I’m completely confused. I don’t want to activate that particular theme: if I do that, this theme will be applied to the whole blog.
What I want is to apply this theme to a category only.
And another theme to another category.
And, of course, the whole blog has its own theme; the one I can activate through the WordPress admin.
Is that possible?
Forum: Installing WordPress
In reply to: upgrading from 1.5.2 to 2.0.4It worked! It looks like you can upgrade directly from 1.5.2 to 2.0.4.
Forum: Installing WordPress
In reply to: upgrading from 1.5.2 to 2.0.4PetLvr,
Thank you very much! I was about to attempt upgrading directly like you did. I am reading your post right now, and now I’m really looking forward to upgrade.
Again, thanks a lot!
Forum: Installing WordPress
In reply to: upgrading from 1.5.2 to 2.0.4Hi! Same boat here too: currently on 1.5.2 and wondering if I can go straight to 2.0.4.
I’d go for 1.5.2 to 2.0.3 and then 2.0.3 to 2.0.4, but I can’t find 2.0.3 to download.
Forum: Plugins
In reply to: Coppermine MySQL DatabaseAlrighty! Thanks!
Forum: Plugins
In reply to: Coppermine MySQL DatabaseWow! Fast answers! I love that! Thanks a lot!
Trying to foresee the future.. I’ve never used Coppermine, or Exhibit, or any other software for online galleries. In the event that I wouldn’t like Coppermine, and remove it from my website, will my database be either screwed or filled with unused data? I don’t know SQL or MySQL, and I never managed databases before.
Forum: Fixing WordPress
In reply to: Problem with istallation in subdirectorySeems to work! Great! Thanks a lot!
Forum: Fixing WordPress
In reply to: Problem with istallation in subdirectoryHi,
I think I’m having the same issue…
I wanted to have all my WordPress files in, say:
http://www.mywebsite.com/wordpressbut still wanted the blog to come up when people hit:
http://www.mywebsite.com/Is that the reason why the Blog address can be changed through the general options in the admin control panel?