Featured
-
How Regression Testing Detects Integral Errors In Business Processes
Humans are forever changing and evolving and so to
by kristina.rigina -
Get Display Banner Advertising Opportunity on FindNerd Platform
“Do you have a product or service that nee
by manoj.rawat -
Android O Released with Top 7 New Features for App Developers
Android was founded by Andy Rubin, Rich Miner, Nic
by sudhanshu.tripathi -
Top 5 Features That Make Laravel the Best PHP Framework for Development
Laravel is a free open source Web Framework of PHP
by abhishek.tiwari.458 -
Objective C or Swift - Which Technology to Learn for iOS Development?
Swift programming language is completely based on
by siddharth.sindhi
Tags
Custom Taxonomy in the Word press
We can add taxonomy to our custom post type.
Adding taxonomy means adding new category option in our custom post type.
We use taxonomy to basically categorize the data.
We create the groups of the similar type.
To add custom taxonomy ...
Widgets in the Wordpress
Widget is used to add feature to you sidebar or anywhere we want to.
We can just simply call the widget in footer or anywhere we want to add it.
It is an easy way out to add feature to your page
To add widget
Go to Appearance > Cus...
Wordpress Custom Post Type
We can create our own custom post types.
We can call them whatever we want.
They are content types like posts and pages.
We create a custom post type for adding different feature to our website.
We can add category to our post.
Fo...
How to add Breadcrumbs Without a Plugin in WordPress
Breadcrumbs is very useful in navigation. It is defined as a navigation technique that offers link to the home page to the user navigated through to arrive at the current post/page.There are so many plugins that is used to add breadcrumbs in word...
How to replace login logo with custom logo in wordpress
When we go to the WordPress login page , we see the default WordPress logo there written "WordPress". We can customize it and can put any of the logo in place of that wordpress default logo.
It's easy: just open your functions.php file and pas...
How to hide menu from WordPress admin panel
Sometimes, we see that the clients who do not have any technical knowledge messups with WordPress settings after logging with WordPress admin panel. We can hide the menu from wordpress admin panel by which the client can only see some menu/option...
How to call featured image in WordPress
If we are making a custom wordpress theme , we can call any feature image attached with any post or any custom post. Wordpress have by default option for feature image. We can upload the feature image to any post or any custom posts.
We can ca...
How to add custom logo in wordpress
Many of the wordpress themes are having options in admin panel for uploading and changing the logo. But if we want to make a custom logo that is used in converting HTML to wordpress or for making any custom wordpress theme or we do not have any o...
How to add a Favicon to your Wordpress Blog
Many of the wordpress themes are having options in admin panel for uploading and changing the favicon image. But if we want to make a custom favicon image or we do not have any option in theme then we can create a custom favicon for every wordpre...
How to update record in Wordpress
Hello Guys,
If you are looking to update data in wordpress database, please follow the below example::
global $wpdb;
$address_data['state'] = $_REQUEST['state'][$i];
$address_data['country'] = $_REQUEST['country'][$i];
$address_data['zip...
How to insert data in Wordpress
Hello Friends,
If you are looking to insert data in wordpress database. Please follow the below code for the same::
global $wpdb; //define db object in Wordpress
$data['first_name'] = $_REQUEST['fname'];
$data['last_name'] = $_REQUEST['l...
How to set different menu for different page in wordpress
We can set different menu links for every page in wordpress. Sometimes we get the requirements from the client to have different menu links for every pages. It can be done, Its quite coding part. For each pages we have to set different menus from...
How to reset wordpress back to its Original Settings
1> Go to your wordpress dashboard.
2> Go to plugins --> Add New
3> Type 'reset' in the search bar & click on "Search Plugins"
4> From the search results select "WordPress Reset" & click on "Install Now"
5> On...
Wordpress hook wp_register_script
Hello Readers,
Description
Description Registers is a script file on WordPress, and is supposed to be linked to a website later with all the wp_enqueue_script() function, which usually safely manages this script dependencies.
Scripts t...
Please stop using the action hook wp_print_scripts to load JavaScript
Hello Readers,
This plugin is using the wp_print_styles and wp_print_scripts action hooks to load all css and javascript.
wp_print_scripts shootes with just about every page heap that can cause your javascript for you to heap everywhere whic...
Replace default WordPress jQuery script from Google Library
Hello Readers,
There are default scripts that is included with each WordPress installation. These types of scripts have reached disposal regarding style as well as plugin experts to make use of of their function. Via our experience, jQuery is ...
Create custom user signup using AJAX in WordPress
Hello Reader,
The below example will help you to create user custom sign-up using AJAX.
Please follow below steps to create WordPress custom sign-up.
1.) copy the below line and paste it to header,php file under section.
<script t...
How to style BuddyPress pages than a regular WordPress page
Hello Readers,
Most of the time when you work on the buddyPress, you wanted to style BuddyPress pages differently than a regular WordPress page, you need add a template file named buddypress.php to your themes directory and BuddyPress would us...
Buddypress Templates - how to customize buddypress pages?
Hello Readers,
Today we will discussed about BuddyPress template customization.
If you want customization to buddyPress template then you need to follow below steps.
1.) Need to adding a Child Theme if you haven't done so already.
2.)...
How to create custom taxonomy for post type page
Hello readers, today we will discuss "how you can add category for post type page".
When a user install the WordPress, user will only get category for "post type post".
If user want to add taxonomy or category for "post type page", then u...
How to add custom field in wordpress for category
Hello Reader's! if you are new to wordpress development and need to add more custom fields in category, Then you can learn it from the code below:-
Step:1-
Open the file functinon.php and add the following code in it.
add_action( 'category...
How to make custom logo in admin of Wordpress
Hello Reader's!
If you are new to wordpress and need to set your own logo from admin then you can use the wordpress custom logo management in the code:-
First create of open the file, Functions.php in the root directory.
now paste the code ...
How to make a quick login page in Wordpress
Hello Reader's!
If you are new to Wordpress and want to make a login custom page, then you can see an example below:-
First you have to create a page on the root, name it login.php
<?php
/*
* Template Name: Sign In
*/
if($_PO...
How to insert form data using Wordpress
Hello Reader's!
If you are new to wordpress and looking for the method to insert form data into table, Then you can use the Wordpress liberary code to do that:-
<?php
global $wpdb;
$wpdb->insert('wp_custom_user',
...
How to print featured image in wordpress
Hello Reader's!
If you learning the wordpress and want to show the contents of a page from admin panel. Then you can use the code below:-
First you need to publish the page with it's title, content and a featured image. Now open the page and...
Base URL in Wordpress
Hello Reader's!
In wordpress you can use the base url as written below
<?php echo bloginfo('template_url'); ?>
Lets take an example:-
If you want to link the CSS
<link rel="stylesheet" href="<?php echo bloginfo('temp...
How to create menu using Wordpress
Hello Reader's! If you are new to WordPress and you have to create the menu for first time. You just have to do the steps below:-
Step1:- Open or Create a file functions.php in your theme folder and paste the code below:-
add_action( 'after...
Best AJAX path for Wordpress
Hello Reader's if you want to write a custom code for making AJAX hit then you should choose for the best path for that, Open the file admin-ajax.php All ajax request should be made there.
On in first step open the template file and write the ...
7 important plugins to use before starting a wordpress site
If you are going to start a website a blog or website in wordpress must install these plugins .
1-Akismet This plugin comes inbuilt in wordpress. This plugin removes and secure your wordpress sites from spams comments.
2- BackUpWordP...
Best wordpress plugins/widgets to improve your website or blog
Following is the list of WordPress Plugins in which some of them are useful:-
WP Super Cache : Its a very fast caching plugin for WordPress. This plugin generates static html files from your dynamic WordPress blog.
Allow PHP in Posts and...
How to use plugins in wordpress?
WordPress is one of the most popular and simple platforms for blogging. It has themes, plugins, widgets and functions/resources which are used to improve your blog or website. WordPress provide most of the themes and plugins free which are develo...
How to install wordpress using Softaculous
Hello reader!
Installing WordPress is a bit of lengthy task for a beginner but in this blog you can learn installing the WordPress using a application from you cpanel. There is a application names 'Softaculous automatic app installer' and using...
How to remove unwanted HTML tags from WP menu
Hello Readers,
If you want to remove default <div> and <li> tags from the WP menu, you can use below code.
It will remove the default <div> Tag and default <ul> Tag from your menu item.
The defualt Wp code is below
...
How to get WP menu in array form
Hello readers, today we will discuss about WP menu.
If you want to get WP menu in array form , you can use below code and will get your menu in array.
<?php
/** Get the nav menu based on $menu_name (same as 'theme_location' or 'menu' ar...
Cross-Origin Request Blocked on wordpress
Cross domain request is a HTTP request from other domain. Browsers do not support the XmlHttpRequest from other domain. Cross origin resource sharing provides a way to allow these type of requests. You need to set the headers to allow the other ...
Modifying Comments section look and feel in wordpress?
WordPress provides comment feature. Website needs comment section for reviews which makes visitor engagement on web page.
You can change the look and feel of the comment section. In default WordPress themes we have comment.php which is responsib...
Modifying search results look and feel in WordPress?
Wordpress themes includes different files for different purpose like single.php for showing the single post. We make the changes in search.php to modify the look and feel of the search results. You can see this file in default wordpress themes an...
How to add a PHP page to WordPress?
If you want to create php pages in wordpress or in other way you want to create templates in WordPress then you need to simply create a file in your activated theme and write below code in top of the file.
After that you can create a wordpress...
Retrieve WordPress root directory path?
Wordpress provides different powerful functions which are useful for different prospective. We are going to discuss one function named get_home_path(). Through this function we can get the path of root directory in your wordpress setup. We can si...
How to Create photo gallery in wordpress
Wordpress.. WordPress is most powerful CMS for blogging. If you have experience in blogging then you should know that images and videos are most important in blogs.
With the help of image gallery or video, we can make the blog more interesting f...
make site Multilingual in wordpress
You want to build Multilingual website in wordpress but wordpress does not support that functionality. Don't worry...
Wordpress provides different plugins to convert your website in Multilingual. Basically you can make your website Multilingua...
How to Use AJAX in a WordPress Shortcode?
We are going to process ajax request in wordpress shortcode on button click. First of all you need to add the shortcode in wordpress. Kindly write below code in function.php
<?php
function callback_listing($atts, $content = null)
{
e...
OAuth 2.0 Authentication on Wordpress site
We are here to discuss OAuth 2.0 Authentication in wordpress. Do you know about OAuth?. What is OAuth?. OAuth is nothing but a open protocol which is useful to allow authorization by easy and secure methods from web/mobile/software applications.
...
Rename files during upload within Wordpress backend
If you want to rename the file name at the time of upload, it is a right place to know the solution. Let's discuss this requirement.
We all know there are many hooks available in Wordpress. We will use the filter named sanitize_file_name. You ...
Wordpress: How to call a plugin function with an ajax call
In web development field we face different situations in order to fulfil the requirements. Sometimes we have to customize the well managed CMS/frameworks. Today we are going to take an sample example of wordpress plugin development. There is one ...
How to show stars instead of theme ratings in Woocommerce
If you want to show stars instead of theme ratings in Woocommerce, you can do this by changing the Woocommerce star ratings.
The Stars rating is the default rating system in WooCommerce, so to match the rating system with themes we have to dis...
How To Change Total Count Of Items Displayed Per Page in WordPress
Hello readers!
In my previous blog I have explained you how you can change number of products displayed per row in WordPress.
So here I will guide you how you can change total count of items displayed per page in WordPress.
Lets take an exam...
Adding Authors Images to Your Blog in WordPress
Hello reader's!
Toady we discuss about "Adding Authors images to your blog".
WordPress is integrated with Gravatar, allows you to show every post author's avatar in their posts. It makes your business look more personal than being as a f...
Custom Post Type Templates in Wordpress
In WordPress theme you can set custom templates for custom post types ,A custom template used to display of single posts belonging to a custom post type .
suppose you have created a custom posts name books,
add_action( 'init', 'create_post...
Custom Post in Wordpress
In wordpress you can create custom posts , Suppose in your WP site you want to create a Movie list then you can use this custom post type ,
To create custom posts type you have to first invoke register_post_type() through init action,
Lets...