October 28th in Wordpress by .

WordPress – How to create a login protected page?

In this tutorial, i will how you how easy it is to login protect a page and then force users to login, to view the page.

1. Create a php file named “login-protect.php” in your current theme folder.

2. Place the following code in this file

<?php /*   Template Name:  Login Protect …

October 28th in Miscellaneous by .

WordPress – How to change admin menu labels?

It is very easy to change admin menu labels for your clients, with a custom admin panel. For example, you might want to change “Posts” to “Articles’

All Posts —> All Articles
Add New —> Add New Article
Posts –> Articles

I have seen the best wordpress plugin to accomplish this task is Admin …

October 28th in Wordpress by .

WordPress – how to add custom field when post is published?

It is dead easy to set a custom field to your post, programmatically when the post is published. For example, whenever your post is published, you might want to add a custom field “submitted” and set its value to “1″, when a post is published.

Here is how you do it. …

October 28th in Wordpress by .

How to redirect when post submitted for review in WordPress

I was working recently on custom project and i wanted wordpress to redirect to a custom payment page, when somebody submits a post for review.  It was such a simple step and quite disappointed that there was no wordpress plugin to do this job. If it was in php, i …

October 28th in Wordpress by .

WordPress – Retrieve author/user details from Post ID

Very often in your projects, you want to pull out the author data, given a post id. It is very easy do it in wordpress.

It can be accomplished by the_author_meta() function or get_the_author_meta() function.You will need call this function in your theme or plugin, through a hook

the_author_meta() –> Outputs the …

October 28th in Miscellaneous by .

WordPress – How to email user when post is published?

I have always wanted to send approval emails to my users when their post is published by editors or admins. I hated the using plugins for such small tasks, as i am already using so many plugins in my website.

Here is the code, which you need to paste in on …

October 28th in Wordpress by .

How to assign or remove user permissions in WordPress

In wordpress, it is very easy to add and remove permissions to your wordpress registered users. For example, you can set wordpress default user role to “contributor” which means those who register in your website, automatically become contributors and they will be able to post articles in your wordpress “pending …

October 18th in Wordpress by .

Published contributor posts cannot be deleted in WordPress!

User roles determine editing and deleting posts by your site users. The main difference between author role and contributor role is

Authors -> Create/Edit/Delete posts + Publish
Contributors -> Create/Edit/Delete before publishing  + Submit for review (cannot Publish) + Cannot Edit/Delete Published posts

The main difference is contributors, once posts are published,  posts …

September 19th in Wordpress by .

7 Useful WordPress plugins for Clickbank affiliates

clickba

If you are a clickbank affiliate, wanting to promote clickbank products, there are 2 ways you can promote clickbank products from your wordpress site. Either directly get the affiliate code and paste it on your wordpress website or use a wordpress plugin.

1. Hop Ad Builder

Use Hop Ad Builder from clickbank, …

September 16th in Miscellaneous, PHP Scripts by .

Interview with Balakrishnan who blogs at corpocrat.com

Screen shot 2011-09-16 at 6.19.29 PM

As a owner of Corpocrat.com, I was recently interviewed by SelfBlogger.com and i was really proud to share my struggles and experiences and i came a long long way to acheive my goals.  I answered on various topics including blogging, making money and career goals.  You can read my interview …