How to make a WordPress post sticky?

Make a WordPress post sticky in a few simple steps.

You may like to make a WordPress post sticky for various reasons. It might be doing very well traffic wise – or because it is an important post and you want your blog readers to find it easy by putting on the front page etc. If you are new to blogging or don’t know what a sticky post is, a sticky post means that it stays (sticks) on your blog’s home page contrary to a normal post that gets shifted when a newer post arrives.

So lets find out how to do it;

Step 1. You will need to log into your WordPress.

login-wordpress

Step 2. Go to your dashboard.

wordpre-dashboard

Step 3. Click on Posts

wordpress-posts

Step 4. Now select the post that you want to edit to make it sticky

edit-post

Step 5. If you now look at the right hand side column of the post you will see various editing options for it, click on “edit” which is found under the post’s “visibility” option.

edit-post

Step 6. And tick the box that says “stick this post to the front page“.  Once done, you can publish it and check your blog’s home page. The post should now be on the top of the page and will stick there.

Hope it has helped!

How to add google analytics to your wordpress site without any plugin.

Probably one of drawbacks of building your site in WordPress is that you have to use lots of plugins; there is virtually a plugin for anything you do in WordPress site. While plugins do make your life easy by automating many tasks that otherwise would take a long time and considerable efforts, they do clog up your site and in many cases can make them slow  –  a factor that may count agaisnt your website when it comes to search engine rankings.

Things you would need to do to add google analytics manually

Get your Google analytic code for your site: If you already have your google analytic code then skip this part. If you don’t have analytic code then you can always have it by signing into your google account and then going to Google analytic page. If you don’t have a google account at all (really !) then sign up for one.

Once logged into your analytic account Click on Admin > Tracking info. > Tracking Code. (see image below)

google analytic account

Copy the tracking code you have been given by Google and head to your wordpress blog…

google analytic code

Log on to your WordPress dashboard and then click on Appearance…

wordpress dashboard

followed by Editor.

wordpress dashboard

Now in right side of your wordpress template, you will have a panel of various .php files and one of them going to be Theme Header followed by header.php name underneath.

wordpress header.php editing

Now click on header.php file to edit it and once the file is opened, find the </head> code on the page. If you having difficulty finding it, simply press ctrl-f (command for Find) and in the box that appears just type </head> and hopefully it will be highlighted.

wordpress header.php file

Now paste the Google analytics tracking code you had copied earler just before </head> code. Save or update the header.php file and your tracking code is now promptly inserted in your website.