home
Contact
RSS Feed
rss

Archive for the ‘Wordpress’ Category

Comments by admin Fix!

Tuesday, December 11th, 2007

There are various ways to fix the problem with someone choosing the same ‘displayname’ as the admin, The way I did so is change it so the comment author e-mail matches the admins e-mail. So instead of

if($comment->comment_author ==$userdata->display_name) ?>

You would put

if($comment->comment_author_email == "admin@email.com") { ?>

And thats it :) Just choose an e-mail that other users cannot guess, like a personal e-mail that you do not use on your website, and you should be safe.

Create Codeboxes/Warnings in Wordpress

Tuesday, December 11th, 2007

In this tutorial I will teach you how to create code boxes similar to the ones you see in my post, which are quite similar to code boxes you see on forums and message boards.

These are quite simple actually all you need to do is create a class for each one.

(more…)

Icons by your post title

Saturday, November 24th, 2007

It was suggested to me to have icons next to my title that represented what the post was about, ex. a post for illustrator would have the illustrator logo next to the title. And so I have done so.

Now in this tutorial I will show you have to make it so your post automatically puts the icon next to each title and with the correct icon for that category. This is a really simple technique. (more…)

Distinguish Comments between User and Admin

Friday, November 9th, 2007

In this tutorial I will teach you how to change the background color for your comments in wordpress. This makes it easier for users to decipher where you(the owner) of your site has commented and where just regular members have.

(more…)