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
Create custom posts in wordpress theme
Default posts option is not sufficient for customized themes in WordPress. Sometimes users need to create and use their own post type with desired names apart from traditional blog posts.
The following PHP code will ...
Create And Use Shortcode in Wordpress
Shortcode is a special feature of wordpress . In other words we can call it a simple set of functions Developer can create the functionality specific shortcode and can use it either at admin end in page or post or in any c...
Install Wordpress on Ubuntu 16.04
Hello friends, I am writing this blog which will let you know how to install and set up WordPress on Ubuntu. Follow the steps below to install WordPress
Step 1: Create MySQL database
Login to MySQL using this command:
mysql -...
Wordpress: Create custom fields for post type at admin end & fetch them at front end
Create custom fields for post type at admin end and fetch them at front end in Wordpress
The below code will create custom meta box at post type at admin end. You have to put the following code in your theme's function.php file if you want...
how to install wordpress on local server
To install the wordpress on the local server you need first a local server like xampp.
XAMPP is a cross platform server for Apache, MySQL, PHP, Perl.
It a ligh weigh server which can be used to install the wordpress.
1. First you need is...
How to create custom post type in WordPress
Custom posts type is used when we are making a new theme from html or want to add some extra feild in the made theme.Suppose we want to have a separate section for Trending News. By using Custom Post Types we can create a new custom news type of ...
How to create custom user role in wordpress
There are 6 types of user role defined in Wordpress by default. These user type/roles make insure that the user can only use only few WordPress website features only. It minimize the chances of any accidents happening that could potentially...
Display Breadcrumb without Plugin in WordPress
Breadcrumbs are navigation links that are used by all the sites by which user can understand the hierarchy of the pages. Breadcrumbs are used to display all the pages links leading from the homepage.
In WordPress, breadcrumbs plays an i...
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...
Php WP how to send a mail to the admin from a logged user
Hello,
I would like to know if in WP PHP is possible to make something like that:
I need for the logged user a form which when compiled and submitted, send a mail to the admin with the all data of the user from db and the message he/she write. ...
Wordpress Savoy e-commerse theme enable/disable button
Hello,
I'm working on a E-commerce project with the Savoy theme in WP.
I add a custom button in the simple.php file. This button has to be enable only if the user is logged in.
Due the fact I'm not an expert of such thing can someone explai...
In Wordpress, How user can fill pdf forms online and after that do online signature and send?
Hi
In Wordpress, How user can fill pdf forms online and after that do online signature and send?
Thanks in Advance.
Project Details
Hi mates! Actually i am working on woo-commerce site and i want build site like http://www.mysmartprice.com/ so suggest me how should i build that site? should i build in wordpress or yii-framework? if wordpress then which theme or plugin is bett...
only product images are not showing in woocomerce wordpress
I have a website in which product images and product thumbnails are not showing they are in server when i am checking from cpanel(file manager) all the images are their but not showing in fronted.
Website Problem
Hi mates! actually I am working on woo-commerce site but i want to display product of other sites like amazon and want to earn money. is some one have any idea, how should i build that site??
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...