Functions - Kvcodes
X

Congrats, You are Subscribed to Receive Updates.

Functions

Wp_List_Table Search_Box Example

Wp_List_Table Search_Box Example
Introduction WordPress wp_list_table is a pretty nice option to create our own custom table for admin with custom datas. But there are some difficulties and miss understandings in the usage of the table and its function. Let’s see the Wp_List_Table Search_Box Example with Some demo codes. I already long back wrote a tutorial regarding the wp_list_table eventhough this is new with custom search operations. I have written ...

How to Split WordPress Menu into Two Walker Class

How to Split WordPress Menu into Two Walker Class
Introduction Split WordPress Menu into Two Walker Class with help of extending the Walker class by writing an custom walker. It’s Easy to divide the menu into two parts. WordPress Walker class helps you to get the total count of the menu items. With help of that count, we can divide that menu and make it by two.  Here is the extended walker class for ...

How to Create Custom Widget WordPress

How to Create Custom Widget WordPress, When we are making a realtime website or premium theme for selling, the Widget is an important feature to provide. You have to provide more widgets to perform several operations like Ads, Subscriber form, Contact form, Social sites links, etc. Introduction Initially, We know that very well, WordPress provides most of the features to expand and create our own ...

Creating Custom Options Page in WordPress

Creating Custom Options Page in WordPress
Creating Custom Options Page in WordPress. Creatting Admin Page options is not really a hardest part of WordPress. You can play and make your own options like in minutes. In this tutorial, you can able to understand, how to create options in easy steps.  There are few plugins available, and also you can create from few WordPress plugins. But those are more space consumed and ...

WordPress Password Hash Generator PHP

WordPress Password Hash Generator PHP
WordPress Password Hash Generator PHP. Some of the days I used to google, what kind of mechanism used in WordPress to create a hashing password. Which really people like developer needs to get idea. sometimes, we may need to crack the secret to avoid some critical situations. So I have found it with help of WordPress to identify the function,  and the class, that they ...

PayPal IPN Listener WordPress Without Using Plugin

PayPal IPN Listener WordPress Without Using Plugin
Introduction PayPal IPN Listener WordPress Without Using Plugin. PayPal ipn will be sent you to validate each transactions. You can validate the transaction details with help of it. For IPN things,it will be sent you indirectly.  Your website users can’t see it.  So, this is private and hidden notification to you from PayPal. Let’s begin with receiving Hidden URL and IPN functionality. It might be ...

How to Change the Default Gravatar With Your Custom Image on WordPress

How to Change the Default Gravatar With Your Custom Image on WordPress
Introduction How to Change the Default Gravatar With Your Custom Image on WordPress? Especially, on  some works we , feel to use our custom default image as default gravatar for it. And I was specially used the same thing for this article, you can see here with the following example. Here is a small piece of code enclosed with a custom function to hook it. ...

Translate your WordPress Site for Each Users

Translate your WordPress Site for Each Users
Translate your WordPress Site for Each Users. Translating a WordPress site based on User choice is really easy with your theme development,  Here Let me explain you step by step to make your WordPress site perfectly viewed based on your registered users preferred language. we need to create language files such as .PO and .MO files for translating from one language to another.  Here I ...

Simple Subscribe Form WordPress Without Using Plugin

Simple Subscribe Form WordPress Without Using Plugin
Simple Subscribe Form WordPress  without using any plugin. You can create your own features without using third party plugin for it. Let’s make a plugin for our functionality of simple email subscription. email subscription is a simple form submission with email. So let’s make the form first. Subscription Form :  The following code helps you to create your form for email news letter subscription. <form ...

How to get an User Role in WordPress

How to get an User Role in WordPress
How to get an User Role in WordPress. getting an user role have few methods. Let’s check the function here. For current user you can use the below function to get the current user role. function kv_get_current_user_role(){ $current_usr_rle = ''; global $current_user, $wp_roles, $wpdb; get_currentuserinfo(); foreach ( $wp_roles->role_names as $role => $name ) : if ( current_user_can( $role ) ) $current_usr_rle = $role; endforeach; return ...

Menu

Sidebar

Subscribe E-mail Updates

Congrats, You are Subscribed to Receive Updates.

Advertisement

Category Posts