Having trouble with how to filter the comment listing from WordPress back-end base on something else like user role?  Read this!

Sometime you might have custom role, let’s say co-editor, setup using members plugin in your WordPress.  And then you want to achieve  showing all comments only to the user who has administrator role but user with co-editor role sees only some of the comment.  You could use the below code to overcome this saturation.

Continue reading

Having trouble with how to filter the post listing from WordPress back-end base on something else like user role?  Read this!

Sometime you might have custom role, let’s say co-editor, setup using members plugin in your WordPress.  And then you want to achieve  showing all posts only to the user who has administrator role but user with co-editor role sees only some of the posts.  You could use the below code to overcome this saturation.
Continue reading

Today I am going to showing you how to add additional fields to WordPress back-end profile page.  Sometime you might need to add additional fields to the user profile page and you could use below code.

function add_more_profile_fields( $profileuser ) {
           //add your fields here
}

//call this action hook
add_action( 'show_user_profile', add_more_profile_fields );
add_action( 'edit_user_profile', add_more_profile_fields );

Continue reading

Description
Site owner to add voting functionality to the blog posts.

Features
1. Control voting feature via voting on/off (admin feature)
2. Control allow or disallow post author to vote his own posts (admin feature)
3. Control allow or disallow public voting (admin feature)
4. Customise vote and voted text (admin feature)
5. Customise vote and voted buttons images (admin feature)
6. Customise alert message for non logged in users (admin feature)
7. Voting logs for site administrator (admin feature)
8. Sort voting logs by vote count or voted date (admin feature)
9. Show current vote count and vote button on frontend templates
10. Compitible with almost all of the themes. You just need to call required function from your template
11. Total vote count widget
12. Top voted widget
13. Now public voting supported.
14. Now shortcode supported. e.g. [wpvoting]
15. Top voted posts list shortcode

Continue reading