Modern horrors; skinning wordpress
October 26th, 2006 | by Jory |As you may see, I gave skinning this place another try. And as you can also see, I failed, as I now use a premade skin that I altered slightly. (Oh well.. at least I got this skin installed..)
If anybody knows what to add where so I have the x comments under a post on the index as Kudrik / K2 has (the default with the blue header), please leave a comment.
I would make my own theme if I could, but there are a few reasons why I won’t:
- I suck at anything graphical, including skinning
- the Wordpress skinning system and I don’t seem to be able to get along
- Premade things take less time and I’m lazy
- I really really really can not make decent layouts and stuff anyway; I suck
Yea, that about it…
3 Responses to “Modern horrors; skinning wordpress”
By Slack on Oct 29, 2006 | Reply
At least its different from the default theme =P
By Matthew on Nov 2, 2006 | Reply
Not sure why I didn’t comment on this earlier (yes, I do lurk around and read your blog through RSS :shifty:).
Well, i’m not sure where exactly to put it, as it will differ depending on the theme, and I couldn’t looks at a copy of this theme to check (the site won’t load… same as many sites have been doing today :ermm:).
But what you basically need put in is this code:
<?php comments_number("No comments", "1 comment", "% comments"); ?>That’ll show something like ‘1 comment’ or ‘5 comments’ wherever it’s placed.
And if you want to make that into a link to the comments, just use this:
<a href="<?php comments_link(); ?>"><?php comments_number("No comments", "1 comment", "% comments"); ?></a>It should be obvious where that goes. It’s usually before the
<?php endforeach; ?>, and after the<?php the_content(); ?>Hope that’s what you wanted. In case you need it in future, the WordPress Codex’s Design and Layout section, particularly the Template tags bit, is excellent for stuff like this
Nice theme BTW, it looks good. Nice and easy to read aswell
By Matthew on Nov 2, 2006 | Reply
Oh, forgot to mention:
I must be a complete n00b at code/PHP etc. or something, because I find making layouts and designs for WordPress dead easy somehow. And yet, it seems that people that are good with code (not me :P) hate WP’s templating system. Seems strange :S