Category:Wordpress

10 Practical Security Tips of WordPress
10 Practical Security Tips of WordPress

Search Google and just about every article you come along will tell you that in order to have a secure blog, you need X amount of plugins. I disagree. I use none yet I’m satisfied I have a reasonable level of

How to Insert Google Analytics
How to Insert Google Analytics

I like to use Google Analytics, but the boring stuff is that when you switch themes, you’ll have to re-insert the code in the new theme. To avoid it, let’s use the power of WordPress hook to insert our analytics code without editing theme files.

20 CMS Plugins For WordPress
20 CMS Plugins For WordPress

Wordpress was build to be used for blogging only but with the use of many valuable plugins you can extend it to a full content management system. I don’t think so if anything is left out which you can’t find in Plugins, means you can turn your Wordpress into whatever you want.
Here i have collected [...]

Top 35 Plugins of Wordpress to Share Your Blog Post
Top 35 Plugins of Wordpress to Share Your Blog Post

When ever you write something on your blog you always want to share it with others, even your blog readers want the same (if they like it off course) . To do this there are lots of wordpress plugins available giving readers the ability to bookmark your site to a number of social networking and [...]

Top 10 Security Plugins For  Wordpress
Top 10 Security Plugins For Wordpress

When your blog starts growing and gets popular, you have to take care of security risks and issues. Most of bloggers and web masters fail to recognize the importance of securing their blog. Hackers can do lots of things after breaking in, they can attack your site viewers with Trojan viruses to steal information from [...]

How to Display your number of tweets in full text mode on your WordPress blog
How to Display your number of tweets in full text mode on your WordPress blog

Twitter is obviously a very useful tools for bloggers. Did you ever wanted to know how many times your posts are sent to Twitter by your readers? If yes, just read on and learn how to know it, and display it on your blog, in full text mode.
paste the following function in your functions.php file:
<?php
function [...]

Fetch and display RSS feeds
Fetch and display RSS feeds

Do you know that WordPress have a built-in RSS reader? Today, I’m glad to show you an updated version of this very popular hack.
Simply paste the following code where you want the feed to be displayed. Don’t forget to define feed url at line 4.
<?php if(function_exists(’fetch_feed’)) {
include_once(ABSPATH.WPINC.’/feed.php’);
$feed = fetch_feed(’http://feeds.feedburner.com/cosmosblog’);
$limit = $feed->get_item_quantity(7); // specify number of [...]

WordPress 2.9 Officially Released
WordPress 2.9 Officially Released

when you’ve visited your WordPress site’s dashboard in the past 24 hours you probably noticed that WordPress 2.9 is now available to download.    I know many people like to wait to upgrade to give theme and plugin authors a chance to create updates, but the new changes in WordPress 2.9 seem to be playing nice with [...]

12 Wordpress Essential Plugins
12 Wordpress Essential Plugins

For millions of bloggers worldwide, Wordpress is the platform of choice. Offering the widest range of plugins and features — both user-designed and official, a massive network of bloggers and inbuilt installations, and the perfect price ($0), there’s no wonder why this blogging platform has become the industry standard.
Of course, Wordpress isn’t limited to blogs [...]

Display Content in multiple Columns
Display Content in multiple Columns

This code is poweful but definitely easy to implement. Just paste it on your functions.php file and it will automatically output your post content in columns.
Your post content will be splitted on <h2> tags.
function my_multi_col($content){
$columns = explode(’<h2>’, $content);

$i = 0;

foreach ($columns as $column){
if (($i % 2) == 0){
$return .= ‘<div class="content_left">’ . "\n";
if ($i > [...]

10 WordPress hacks to make more money online
10 WordPress hacks to make more money online

WordPress is a very powerful blogging engine, which serve content to billions of readers on a daily basis. But not only: WordPress can be used in a wide variety of ways: Photoblog, online magazine, classified site… And with all that power, WordPress can also help you to make more money online than a simple site [...]

Compress WordPress output and speed your blog’s load speed
Compress WordPress output and speed your blog’s load speed

WordPress, by default, comes uncompressed and sends the uncompressed HTML to the visitor’s browser. With one line of code added to your header, you can compress WordPress’s output by up to 75%. By using zlib compression technology, you can harness the power of PHP and reduce your blog’s load speed!
First, place the following code in [...]

12 Useful WordPress Hacks
12 Useful WordPress Hacks

Wordpress is not only a great blogging tool but a great content management platform that provides a lot of ways to let you hack into into its functionality to make it do whatever you want. Here are 12 lesser known wordpress hacks/ tricks that you might find useful for your next WordPress related project.
Most of [...]

10 Incredibly Useful WordPress 2.8 Tutorials
10 Incredibly Useful WordPress 2.8 Tutorials

WordPress 2.8 was released yesterday and it has a long list of new features, fixes and enhancements. Here’s a round up of 10 incredibly useful tutorials to learn about how to use the new functionality and enhancements of WordPress 2.8
1. Build a WordPress 2.8 Widget with New Widget API – WPEngineer
WPEngineer Michael Preuss walks you [...]

The Ways To Make Your Blog’s Comment Form Stand Out
The Ways To Make Your Blog’s Comment Form Stand Out

Wordpress comment form is usually the left out portion of most blog designs. Most blog designers do not care to make the comment form unique and stylish but just create it in a hurry. Here are 10 ways with examples to make your blog’s comment form stand out from the crowd.
1. Change the Layout

Most wordpress [...]

Show WordPress post attachments
Show WordPress post attachments

To achieve this recipe, just paste the following code anywhere in your post.php file and attachments will be displayed.
$args = array(
‘post_type’ => ‘attachment’,
‘numberposts’ => null,
‘post_status’ => null,
‘post_parent’ => $post->ID
);
$attachments = get_posts($args);
if ($attachments) {
foreach ($attachments as $attachment) {
echo apply_filters(’the_title’, $attachment->post_title);
the_attachment_link($attachment->ID, false);
}
}

Top 10 WordPress Hacks
Top 10 WordPress Hacks

How to: Show parent page title regardless of what subpage you are on
Let’s start with a nice code for those using WordPress as a CMS: Just paste it anywhere on your theme files and it will display the parent page title.
<?php
if($post->post_parent) {
$parent_title = get_the_title($post->post_parent);
echo $parent_title;
} else {
[...]

15 Resources For A E-Commerce Site with WordPress
15 Resources For A E-Commerce Site with WordPress

WordPress is a popular blogging platform and content management system, but it can also be used for powering e-commerce websites. Although its primary purpose is not e-commerce, there are a number of plugins and themes available that will allow you to use WordPress for your online store (some are free and some are premium).
In this [...]