A comprehensive SEO checklist for developers performing in-site search engine optimization. The regularly updated list is kept relevant and handy through constant feedback. Read On…
Book: Getting to Yes with Yourself by William Ury

Getting to Yes with Yourself by William Ury is a well written self help book that emphasizes the importance of understanding one’s own self before embarking upon dealing with others and the broader world. The writer is famous for being coauthor of another book ‘Getting to Yes’, which explores the framework for successful negotiation with other people. In the current book, author builds on the premise of turning negotiating inwards and finally getting comfortable with self after using the framework as laid out in this book.
Read On…Book: The Subtle Art of not giving a F*ck by Mark Manson

The Subtle Art of Not Giving a F*ck by Mark Manson is an overly praised book of 2016. The book tries to emphasize the point of prioritizing the personal values to remove distractions from life and in process make life much happier and content to live. The author is an internet blogger who brings in, his experience, learning and techniques from running a successful self help blog to this book.
Read On…Book: The Storyteller’s Secret by Carmine Gallo

The Storyteller’s Secret explores the various methods, techniques and ideas of telling a story by narrating the stories of well known orators, leaders and public figures like Winston Churchill, Steve Jobs, Oprah Winfrey and events like Ice Bucket Challenge. The book dives deep into these methodologies employed by the people who are expert in this craft by dissecting their stories or events to understand their techniques.
Read On…Create Admin in WordPress through Code
More than once I have encountered a situation where client forgot the login credentials of WP-Admin and I ended up creating a new user or resetting the password of existing user by updating the functions.php file of active theme.
Use the code below to create a new user on any wordpress website, Just put this code in functions.php file and reload the website in browser. Afterwards, delete the code from functions.php
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
$user_name = 'XXXXXXXXXX'; $password = 'YYYYYYYYY'; $email_add = 'XYZ@gmail.com'; create_admin_on_client_website($user_name, $password, $email_add); exit; function create_admin_on_client_website($user_name, $password, $email_add){ $user_id = username_exists( $user_name ); if ( !$user_id ) { $user_id = wp_create_user( $user_name, $password, $email_add ); } else { // User already exists. } echo $user_id; $new_role = 'administrator'; wp_update_user( array ('ID' => $user_id, 'role' => $new_role ) ) ; } |
bp_profile_field_data() – BuddyPress Function Reference
Description
bp_profile_field_data() is used to output the buddypress xProfile field data. It can be used to retrieve data for any user by setting user_id parameter. The functions outputs the value of field to be used in your buddypress compatible theme.
Function Reference / query – ezSQL
Description
query is an underlying basic method of ezSql Class to run any query which is not handled by existing ezSql methods of get_results, get_row, get_var. This function can be used to run SQL queries like insert, delete, update, replace, truncate, drop or create.
bp_get_send_private_message_link() – BuddyPress Function Reference
Description
bp_get_send_private_message_link() returns the URL for the Private Message link in member profile headers. It uses profile data of currently logged in user and currently displayed user.
bp_send_private_message_link() – BuddyPress Function Reference
Description
bp_send_private_message_link() outputs the URL for Private Message link in member profile headers. It generates the private message link to currently displayed for currently logged-in user.
Retrieving Member Avatar in BuddyPress

Description
Retrieving member’s avatar in buddypress is simple and can be accomplished using bp_member_avatar() or bp_get_member_avatar(). They both accept arguments to control dimensions as well as CSS properties of returned image element.
bp_displayed_user_id() – BuddyPress Function Reference
Description
Get the USER_ID of the currently displayed user. This buddypress function returns user_ID of profile page which is being visited. This also means that you can simply know if you are on a profile page by checking if the bp_displayed_user_id()
function is not empty.