Month: October 2017

WordPress Plugin Development Tutorial Using Ajax

plugin is the best way to add more featured to wordpress and on theme change the feature will not be gone. In this tutorial we are going to develop a WordPress login registration plugin with shortcode. Now start step by step, you can use the shortcode for the plugin [CMWP_LOGIN redirect=<page page id after login> […]

Read More
Tutorial on How to Develop a WordPress WooCommerce Theme

Tutorial on How to Develop a WordPress WooCommerce Theme

WordPress woocommerce theme development : woocommerce is the most popular ecommerce plugin for wordpress , we will learn how to develop a wordpress woocommerce theme step by step in this tutorial and will make a proper ecommerce theme, first we need to know the strunture to create a ecommerce theme, the header content the cart […]

Read More

WordPress Widget Development Tutorial

the widget is mainly displayed in sidebar or wordpress and its a very good process to ad extra featured in wordpress in this tutorial we will learn and develop a wordpress widget widget To create a widget first have to create a class extending the wordpress default widget class thus in the declared class all […]

Read More

Tutorial on how to create a WordPress comment template

in a blog type website or in a ecommerce website there needed a comment form and display comments list. In wordpress there is provided a comment template by default and it can be customised also no make the comment template step by step first write the below code in a post or page template to […]

Read More

WooCommerce add to cart link with variations

Hi, many times we have to make custom product loop and single custom product page with various design and at that time we need to give a button with add to cart URL or link with variation to add the product to cart and in this post we will going to see how the link […]

Read More

Allow to see only the media files and images uploaded by the user in wordpress

Hi in this tutorial we are going to learn how to make Allow to see only the media files and images uploaded by the user in wordpress. Write the code in functions.php file inside your theme folder <?php add_action(‘pre_get_posts’,’hm_users_own_attachments’); function hm_users_own_attachments( $wp_query_obj ) { global $current_user, $pagenow; $is_attachment_request = ($wp_query_obj->get(‘post_type’)==’attachment’); if( !$is_attachment_request ) return; if( […]

Read More

WooCommerce how to set minimum order amount

    To set the minimum cart total write the code into your functions.php file and change the variable value of $minimum_cart_total. Here is the code to set a minimum cart total in wordpress woocommerce <?php // Set a minimum dollar amount per order add_action( ‘woocommerce_check_cart_items’, ‘spyr_set_min_total’ ); function spyr_set_min_total() { // Only run in […]

Read More

WordPress how to give file or image upload permission to subscriber or contributer

In general a subscriber or contributer type user have not permission to upload image in wordpress so to give permission to upload image to subscriber or contributer type user need to write function or install a plugin The functions to give file upload permission to a user Now write the code in your functions.php file […]

Read More

WordPress how to get search result and archives list by category name

Hi in this post we are going to learn How to get category wise search and archive result in wordpress. in wordpress there is many time we have to get the search and archive result by category , so in this post we will learn how to get search result and archive result by category, […]

Read More

Tutorial on How to Make a WordPress Custom Search Page Template

the search.php is the search page template for wordpress , in this search template development we will learn to make a search form and search result displaying page so first we will make a search form in any position of the theme The search form code for wordpress search function <form action=”<?php echo esc_url( home_url( […]

Read More