Aug 22

Wordpress customization - The manual way

Scribbled on Friday, August 22nd, 2008

It’s the most longest post which I’m trying to write, including everything I did to setup this blog website in Wordpress. It’s still not now complete but within 2 days I will make it more legible and complete it. It was a long desire of mine to share with you what I learned, so please bear with me. If there are any mistakes or error then please tell me.

We have many plugins around to make things automatic in wordpress. But why would anyone need a manual customization ? Some reasons as I may quote down are:

  • Sometime plugins may conflict, your site’s design may get screwed or sometime even worse.
  • Sometime automatic method fail. Then should you wait for the developer to fix bug ?
  • Why use tiny little plugins for everything ? When you can just do it yourself.
  • Plugins do cost overhead, which in turn affect the website performance.
  • Using same plugins will not add to the uniqueness of your website

These are just some points that exhort me to do my own custom modifications. Yes it takes time for an average bunny, but thats why I’m writing it here to help you. Let me assure you that it ain’t rocket science, just a bit of determination and you can make your website unique and more efficient.

Here is the listing of customizations I will be explaining, these are divided into Design and Code section, design affects the layout and code is related to the data you wan’t to get or display.

Design:

Basic:

  1. Add your own custom header
  2. Replace your own bullet image style
  3. Add a neat hover effect over the hyper-links
  4. Adding paginated navigation for longer posts
  5. Adding a Favicon

Intermediate:

  1. Use of classes and id to provide separate set of effects for Main content and the Sidebar
  2. Add a nice border around images
  3. Remove border from smilies. Also removing additional padding and margin
  4. Adding your custom CSS read on button
  5. Image effect on hover without Javascript
  6. Image swap without Javascript
  7. Round border for Mozilla Firefox 3 browser without using images
  8. Creating a nice Feed and Email block with CSS. And for some other enhancements too
  9. Providing custom share and bookmark icon block
  10. Custom warning or announcement block
  11. A nice spoiler block for Firefox, Opera and IE 7 browsers without using Javascript.
  12. A nice custom made Quote Block.
  13. Modifying Title of posts to include a cool Calendar image which displays date over it
  14. Enhancing the Text fields and Text areas for better dynamic impression.

Code + Design:

Basic:

  1. Enable comment posting on pages and custom display messages if comments disabled.
  2. Displaying Post Meta
  3. Displaying custom message at the Main Index Template top
  4. Displaying most popular posts
  5. Hiding the pages from Header Navigation Bar using simple code edit

Intermediate:

  1. Adjusting the position of Search text-field and removing newline between text-field and button
  2. Displaying Gravatars
  3. Comment boxes customization. Add alternate colors and unique color for the author of the post. Comment numbering
  4. Getting 5 recent posts
  5. Getting 5 random posts
  6. Replacing smilies with your own.

Read on…

Aug 20

Two simple tips to secure your Linux box

Scribbled on Wednesday, August 20th, 2008

The first tip is regarding password protecting GRUB entries or if you want more then lock the whole GRUB menu. Second tip is regarding what partitions you would like to mount and what you like to remain unmounted and hence protecting your important data from any kind of misuse. OK the second case was not much of a problem until HAL and gnome-mount made every partition to be auto-mounted. Even then I was able to prevent the auto-mount of every other filesystem type but ext3.

Adding password to GRUB entry:

  • Open grub via Terminal
grub
  • Type md5crypt and press enter key
md5crypt
  • Enter the password and press enter key
Password: ***
  • Copy the md5 hashed password.
Encrypted: $1$uyPrX$Brdxeqt/iI52ta3yc.vps/

Read on…

Aug 18

Your song !

Scribbled on Monday, August 18th, 2008

httpv://in.youtube.com/watch?v=REGzrwMj_N4

My gift is my song
And this one’s for you

And you can tell everybody
That this is your song
It may be quite simple but
Now that it’s done
I hope you don’t mind
I hope you don’t mind
That I put down in words
How wonderful life is
Now you’re in the world

Sat on the roof
And I kicked off the moss
Well some of these verses
Well they, they got me quite cross

But the sun’s been kind
While I wrote this song
It’s for people like you that
Keep it turned on

So excuse me for forgetting
But these things I do
You see I’ve forgotten if
They’re green or they’re blue

Anyway the thing is
What I really mean
Yours are the sweetest eyes
I’ve ever seen

NOTE: This movie (Moulin Rouge) has one song ( albeit a remixed version )  taken from Bollywood :p Yeah its from movie China Gate and name of the song is Chamma Chamma

Aug 17

Nice button using GIMP

by T on Sunday
Aug 16

Another (stupid) day in my tech life !

by T on Saturday
Aug 15

Lolz text effect using GIMP !

by T on Friday
Aug 14

Gimping Kate Becky :p

by T on Thursday
Aug 12

Display 5 random posts in Wordpress

by T on Tuesday
Aug 11

BnW to Color

by T on Monday
Aug 10

FFmpeg - Convert any audio/video format in Linux

by T on Sunday


July 2009
M T W T F S S
« Jun    
 12345
6789101112
13141516171819
20212223242526
2728293031