Hey y'all. Come visit me at dkeithrobinson.com
May 09, 2005 |
47 Comments
It’s kind of funny to be posting about Wordpress from my Movable Type run site, but I’m learning Wordpress and I’d like any advice, tips, tricks or hacks you might have.
I’ve got a few sites (iPodarmy.com is the first of a few) in the works and thanks in large part to Dreamhost and the ease of the 1-click Wordpress install, I’ve decided to dive in and try WordPress for these.
I was a bit put off at first, mainly because it’s just different than Movable Type (and probably because I know Movable Type very, very well) but now that I’ve played around there are some things I really like about WordPress. I’m not going to stop using Movable Type altogether, but hey, I hear good things about WordPress so why not use both?
Regardless, I’m still kind of starting from scratch, and although I’ve found the WordPress Codex very helpful so far, I still thought I’d throw a call for advice out there and see what comes back.
Pretty much what I’m looking for are tips, links, tricks, and other usable stuff about WordPress. What are some cool plug-ins? Got any links to great themes? Do you now any great sites with tutorials and the like? Also, anyone know how to have a different meta title on the home page from individual entries?
If so, post a comment here and help me, and possibly other WordPress newbies who come across this, get the most out of WordPress.
Filed under: Web General
Keyword Tags: wordpress learning tutorials plugins hacks themes
My co-worker has written some pretty cool plugins (and some in-progress) that I run on my WordPress installations.
http://www.lr2.com/plugins/
The most helpful one (in my opinion) being the spam plugin. I can’t wait to see the lr2Clique in action too (more than the beta stuff I’ve seen, that is).
-Brandon
Posted on May 9, 2005 12:02 PM | #
Ditch the WP frontend and use http://lightpress.org/ :)
Posted on May 9, 2005 12:26 PM | #
To have a different meta title on the homepage than the blog entries, just edit the index.php file in your template folder, and just put what you want in the title area instead of the wp_title call. This will work if you don’t want to be changing it through the WP admin area. If you do, I could come up with a quick plugin for you. Just let me know.
Posted on May 9, 2005 12:33 PM | #
WP is a really nice tool. My site was running 1.2 for a long time but at the begining of the year, I was hit really hard with spam and basically had to shut it down. During that time I tested MT TXP and WP and once they released 1.5 and better spam control, I made the final choice to relaunch with 1.5. There seems to be a bigger, more easily obtainable user base of development out there than MT.
Tons of great themes out there now… especially with the new theme engine in 1.5… Alex King’s Theme competition really brought out some great designs. And How to Blog has a huge list of themes, most from the competition but alot of newer ones made after the contest.
But the forums on Wordpress.org is the best resource for whats going on in WP-land… and the dashboard, the front page of the admin panel, is great for keeping up with everything WP.
Posted on May 9, 2005 12:38 PM | #
Brandon – Thanks for that. But I was under the impression that spam wasn’t much of an issue with WP. Is that not true?
ludo – Lightpress, eh? I’ll look at it. Thanks.
Steve – I think I need to explain that a bit better. I want my entries to just have the title of the entries without the site title if possible, while at the same time having the site title appear on the homepage. I tried several plugins out there, but couldn’t seem to get this to work. Pretty much what I’d like is a similar title structure to what I’ve got here at Asterisk.
Posted on May 9, 2005 12:38 PM | #
If you haven’t found it already, you should definitely add Weblog Tools Collection to your reading. They put out links to new WordPress plugins, themes, hacks, and tips all the time. And there are occassionaly tidbits about non-WP stuff, as well.
Are there any particular kinds of tips you’re looking for?
Posted on May 9, 2005 12:44 PM | #
Keith, if you decide to give Lightpress a try just ask for any help. BTW changing the post title is a one-liner ;)
Posted on May 9, 2005 12:46 PM | #
Keith: If that’s what you want to do, just edit your single.php file in the template directory, and replace wp_title with single_post_title in the title tag. That should take care of it.
Posted on May 9, 2005 12:50 PM | #
I’m just getting to know WP myself, and finding it very powerful. Keep in mind this is coming from somebody who has always written their CMS by hand, as pages were added.
I may be making hard work out of an easy task, but you’ve got those boolean variables to indicate what page of the site you are on, like is_home() (or whatever it is called). So you can write out a different title depending on where you are. You could also add custom attributes to give a certain page more unique characteristics, but that might create a lot more work than it’s worth.
I’d love to learn more about WP, so this is probably going to be a great post to follow. I’m currently having fun creating my own theme for a site I’m working on…it’s suprisingly easy (I’d be utterly lost without the WP Codex).
Posted on May 9, 2005 12:56 PM | #
Well if this isn’t an invitation to ‘toot’ my own horn, I don’t know what is.
Time Since
Live Search
Latest Comments
Live Archives
And of course, if you have any questions, let me know.
Posted on May 9, 2005 12:57 PM | #
I imagine this might not be the best place to rant, but my sincerest advice is to turn around and never look back. MT is a far better tool, except for the installation, which you can outsource.
I’m unhappy with Wordpress’s tags. They are too restrictive, they output XHTML, some echo, some output, some both, the naming is all screwed-up and did I mention they are restrictive?
The WordPress Codex wiki is a fine ressource, the only one I ever needed, but it can’t compensate for the restrictions of the tool.
Textpattern will be my next target of exploration, in case anyone shares my resentful views :)
Posted on May 9, 2005 01:14 PM | #
I think Steve nearly nailed it.
try:
if ( is_single() ) { single_post_title(); } else { bloginfo(‘name’); }
-between php tags and your title tags (i can’t put the exact code in or it won’t display).
I’m pretty new to this and they may be a better way of doing it but i’ve just tried it on my site and it seems to work.
Posted on May 9, 2005 01:28 PM | #
Just started using WP and will continue to track what people are suggesting too (some of which have already been added to my bookmarks)… I had used WP for a client, prior to it’s uprgade to 1.5, but had problems with spam. So far, the spam problem has appeared to have ended.
Besides WP, I’ve also been curious to learn is Texpattern … seems to be pretty lightweight and easy to work with. I have a couple of friends who are using it now, and really enjoy it.
Posted on May 9, 2005 01:30 PM | #
just had a browse round your titles and think this is closer (though not exact) to what your looking for (i’ve used square brackets so the tags show up):
[title] [?php if ( is_home() ) { bloginfo(‘name’); } else { if ( is_single() ) { single_post_title(); } else { ?] Archives » [?php wp_title(’ ‘); } }?][/title]
hope this helps
Posted on May 9, 2005 01:51 PM | #
Oh believe me, Keith, spam comments are still quite an issue with WordPress. It’s worse for some people than others, but it’s still a big issue. Fortunately, there are lots of good solutions plugin wise for spam control. Without my plugins, I recieve over 100 spam comments a day. Fortunately, they all land in my moderation box due to what’s built into WP. My plugins prevent the spam from ever making it into my moderation box, so I never have to deal with it. I don’t generally see my spam problem, but I know it’s still there.
I use Bad Behavior and Spam Nuker for my spam control. I used to use Spam Karma, but sadly I started having a lot of problems with it so I had to abandon it.
Some plugins I’m a big fan of are Bunny’s Technorati Tags, The Gravatar Plugin, Live Comment Preview (which is exactly like the one you have on this site), Spell Checker, Subscribe to Comments, and WP-Amazon.
Posted on May 9, 2005 02:05 PM | #
Interesting article Keith. I think I will find it useful as well as I am learning WP also. Anywho here are two links I found useful for understanding and creating/editing WP templates:
Also you might want to keep your eyes on WP Shuttle.
Hope those help.
Posted on May 9, 2005 03:31 PM | #
WP-Cache! - puts WP’s page-per-minute ability through the roof (I’m not running it on my site atm, so don’t use that as a test ;)
In answer to your spam-related question, WP1.5 is infinitely more spam resistant than 1.2. I’m still running 1.2 on my live site, but the new version on my dev server is 1.5 and I LOVE IT! I can’t wait to say goodbye to 200+ ‘Comment awaiting moderation’ emails per day… Spam r0cks :|
Posted on May 9, 2005 03:52 PM | #
I love using Wordpress, but it can be kind of tricky. Some links that I’ve found helpful are:
Posted on May 9, 2005 06:24 PM | #
One plugin I’ve found invaluable is Coldforged’s Paged Comment Editing. It customizes the comment management page, allowing you to view/delete blacklisted spam comments. One thing it lacks is an option to de-spam a false positive, but I’ve never had a single false positive so it hasn’t actually come up.
Posted on May 9, 2005 06:32 PM | #
Steve and Murry – thanks for the help. The last one I couldn’t get to work, I’m still learning PHP, but it’s close and the others should do fine until I can sort it out.
Posted on May 9, 2005 06:45 PM | #
I think I figured out the problem in the code–I tried this and it works:
<title>
<?php
if (is_home()){
bloginfo(‘name’);
} else {
if ( is_single()) {
single_post_title(); } else { ?> Archives » <?php wp_title(”);} }?>
</title>
Hope this works!
Posted on May 9, 2005 07:19 PM | #
Wordpress is awesome. There is no better blogging software. Some people argue that Textpattern is better, but they are mistaken; Textpattern is a good CMS, but not good blogging software (and yes, there is a difference). I’ve never had the priviledge of using Movable Type, but I’ve also always been skeptical of it because it runs off of Perl CGI (or so I hear) instead of PHP, and I’m a PHP programmer. Wordpress is extremely easy to use, modify, manage, and hack. After just a few days of using Wordpress, I wrote a plugin — that’s how easy it is to work with Wordpress. A very picky person, I had some frustration when customizing and, although that isn’t typical (hence Wordpress’s success), I can see you’re interested in diving into it, taking it apart and putting it back together. There’s some things here and there that I would prefer different, but generally Wordpress is the best solution coming from every direction.
Posted on May 9, 2005 10:25 PM | #
I’ve used Kitten’s Spaminator for the spam problem and spammers haven’t got any comments through this year (knocking on the wood).
I partially agree with some people about the restrictiviness of the WordPress template tags, and their customisation might be a nightmarish feat – but if you know any more PHP, you can get around them quite easily. Just plug in directly to the database or use WordPress data structures. This has, of course, the caveat of being broken when WP is upgraded.
I’ve blogged a lot about WP hacking in several entries in my journal: http://www.nomadig.com/journal/category/wordpress/
Posted on May 10, 2005 12:30 AM | #
Thanks Tina.
If I put in the angle brackets it doesn’t work for me (hence the square ones).
I presume this is so I don’t try and break the site with malicious code (not that I have the skill let alone the intention).
Cheers.
Posted on May 10, 2005 01:35 AM | #
Man, did you post this at the right time!
I recently started using WP on my first ever blog and I’m still trying to figure most of it out, but sofar it strikes me as very powerful and, once you get the hang of it, user-friendly.
I’ll be watching this with great interest, and as soon as I can contribute anything useful I sure will.
If you’re looking for a snazzy theme, I’m sure one of the contenders to the WordPress 1.5 Theme Contest will fit the bill, or provide inspiration.
Posted on May 10, 2005 02:09 AM | #
Getting some great stuff here also. Thanks for the post!
I’ve also gone with wordpress on my blog, and has redesigned it all myself, without much knowledge of PHP. It’s not all there yet, but I’m getting there.
On a side-note, here’s a fun article about the differences between MT, WP and TxP.
Posted on May 10, 2005 06:58 AM | #
We are in the process of redesigning our site. Thanks for all the helpful information. You guys rock.
Posted on May 10, 2005 07:06 AM | #
Huh. I’ve been thinking about using Wordpress for a while and your entry pretty much pushed me over the edge. I’m trying to learn PHP anyway, so this will be practice for me.
Posted on May 10, 2005 07:39 AM | #
Manny – One of the reasons why I took the dive to WP was to help my learning of PHP. I’ve been picking it up a bit at a time and I’m very impressed at how powerful and how easy it is.
Keep in mind, I’m not really a programmer, so the easier, the better.
Posted on May 10, 2005 08:27 AM | #
Since I wrote my own blogging software, I don’t use Wordpress. Don’t get me wrong, I looked at all the CMSes out there: Wordpress, TextPattern, MT, Blogging Machine, I just decided to write my own to learn PHP and Perl.
Of all of the CMSes out there, Wordpress is the easiest for novices who don’t know PHP or Prel, since PHP is easier to get a hang of than Perl.
If you decide to stick with Wordpress, you might want to check out WP-Plugins.
Posted on May 10, 2005 08:40 AM | #
Gabriel - The only restriction WP has is your own. It’s open source. The download has all the source right there. If you see something you don’t like, then change it! The template system lets you do anything you like. If you want to do an html 4.01 layout, knock yourself out… I don’t see the point to it, but you can.
The new WP 1.5.1 is going to be even better. There’s a ton of stuff in WP’s engine thats just sitting there waiting for the taking. It’s only limitation is you.
Posted on May 10, 2005 09:28 AM | #
Keith, what version of WP are you running?
If you’re on 1.5 or 1.5.1, then in the /wp-content/themes directory, in the theme you want to use, for the main page, WP uses index.php. If you’re viewing a single post, you can have a single.php that display what you want for a single post, so in your instance, I would make the main index.php have the site title, in the single.php, put in what you want for the title. If you don’t have a single.php, then you can grab the single.php from the default one and use that as an example. I generally grab the default theme, make a copy of it, and then in the css file for that theme, rename it so that you can differentiate between the default and that one in the admin theme manager. From there, start changing stuff to meet your needs.
For the spam comments. In WP, they’re still there, but with 1.5 and 1.5.1, much of it can be pushed down out of the way with the spam handling in WP, so you don’t have to deal with it. WP 1.5 has some very functional and useful spam handlers.
Themes can be the single most frustrating thing about WP, but once you get the hang of it, are very nice, and allow for complete development of new themes with fast switching between them.
Posted on May 10, 2005 09:51 AM | #
I’ve got three installs of Wordpress running on my server (versiona 1.2 and 1.5), and if a non-PHP guy like myself can keep from killing the sites, then you shouldn’t have much trouble.
From my recent experimenting, I’ve found that it’s all about “The Loop”
Posted on May 10, 2005 11:53 AM | #
The number 1 thing I can suggest is that you become familiar with the template tags. There is an amazing amount of customization in there.
After that, just ask around. I’ve always said the best thing about WordPress is the community. 9 out 10 if you’d like a plug-in to do something just asking is all it takes to have it in about a week. On one occasion it took half an hour but Jonas is just cool that way.
Posted on May 10, 2005 04:36 PM | #
If your new with wordpress I would recomend to download a few plugins and some themes so you can see the different stuff that you can acomplish with wordpress.
For me, right now the biggest thing about wordpress is the template/theme system. You can pretty much do anything you want by just adding a little PHP (nothing really advanced, just a few if’s and else’s).
I’m currently working on a new site powered by wordpress and lately I been playing a lot with it (althoug my weblog has been online for a while and I have programed a few plugins).
Just play with it, make sure you have an installation to screw up with and have some fun… remember code is poetry.
Posted on May 10, 2005 11:41 PM | #
Tip #1: Duplicate the default theme folder, rename it, and work from there when creating themes. This will avoid hassle when you update, and keep the files around for reference.
Tip #2: I find myself wanting to replace to add another “Loop” to the certain pages all the time. For instance, say that on the every “page” i want a list of three recent posts. The “Loop” starts like this:
if (have_posts()) : while (have_posts()) : the_post();
If you want to overwrite what wordpress loops through, you can add this above it:
$wp_query->parse_query(“cat=3&posts_per_page=1”);
$posts = $wp_query->get_posts();
Which, in that case, would get the most recent single (1) article from category 3. Then you can use the loop like normal, the_title() etc. Comes in real handy. Specially on the home page when customizing it to display, say, one portfolio piece, a few links, 2 excerpted entries, and 5 recent entries with just titles. One loop for each section, no hassle. (Which is sort how my home page is set up.)
Posted on May 12, 2005 01:50 AM | #
If you want to experiment with multiple loops, this may interest you [/shameless self promotion:-)]
Posted on May 12, 2005 04:07 PM | #
If you are concerned about spam, my suggestion is to get this two plugins:
WordPres Hashcash
Trencaspammers
from day one of installation I did not see a sigle spam comment, even in moderation. There is no way for an automatic system to bypass these plugins, comments have to be entered manually from a human.
You can find them on the usual plugin repositories.
Just my two cents.
Andrea (Italy)
Posted on May 13, 2005 06:42 AM | #
Its even cooler to hear that Apple is supporting it for their blogs and such. I sure wish I could afford a Mac, those Powerbooks are totally awesome.
Posted on August 11, 2005 05:33 PM | #
I’m just getting to know WP myself, and finding it very powerful. Keep in mind this is coming from somebody who has always written their CMS by hand, as pages were added.
I may be making hard work out of an easy task, but you’ve got those boolean variables to indicate what page of the site you are on, like is_home() (or whatever it is called). So you can write out a different title depending on where you are. You could also add custom attributes to give a certain page more unique characteristics, but that might create a lot more work than it’s worth.
I’d love to learn more about WP, so this is probably going to be a great post to follow. I’m currently having fun creating my own theme for a site I’m working on…it’s suprisingly easy (I’d be utterly lost without the WP Codex).
Posted on September 18, 2005 11:09 AM | #
Very needed information found here, thank you for your work
Posted on June 11, 2006 04:08 PM | #
Very needed information found here, thank you for your work
Posted on June 15, 2006 07:00 AM | #
is a writer, designer, etc. in Seattle, Washington.
Home | Search | Archives | Subscribe
Accessible Image-Tab Rollovers
Searching For The Center of Design
The highly recommended Dreamhost!