Howto Install SyntaxHighligher In Blogger

Howto Install SyntaxHighligher In Blogger

SyntaxHighlighter helps a developer/coder to post code snippets online with ease and have it look pretty. SyntaxHighlighter is developed in Javascript by Alex Gorbatchev. SyntaxHighlighter is the most popular script for syntax highlighting and widely used by many blogs, websites. It has many wonderful features like: view source code in plain text, copy to clipboard, valid XHTML, … SyntaxHighlighter supports many languages and has bunch of themes.

Continue reading → Howto Install SyntaxHighligher In Blogger

How To Create Your Own Social Bookmarking Script

How To Create Your Own Social Bookmarking Script

Social bookmarking is a great way to bring traffic to your website. Each social bookmarking network often has its own scripts for users to insert into their website to share articles on it. This may increase the number of included javascript files if you use many social bookmarking networks, thus increase page loading time. So I decided to create my own social bookmarking script that works with major networks and can be expanded more.

Continue reading → How To Create Your Own Social Bookmarking Script

WordPress Tip: Conditional Loading Scripts Based On Post Content

WordPress Tip: Conditional Loading Scripts Based On Post Content

Sometimes you want to load one script in only specified posts, not for all posts. For example: you want load Thinkbox script only when post has images, load SyntaxHighlighter only when post has codes. It wouldn’t be optimized if you always load these scripts in every posts. We just want WordPress to load them when we need based on post content.

Continue reading → WordPress Tip: Conditional Loading Scripts Based On Post Content