the 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 the shortcode. Now start step by step, you can use the shortcode for the plugin [CMWP_LOGIN redirect=<page page id […]
Read MoreWordPress woocommerce theme development: woocommerce is the most popular e-commerce plugin for WordPress, we will learn how to develop a WordPress woocommerce theme step by step in this tutorial and will make a proper e-commerce theme, first we need to know the structure to create an e-commerce theme, the header contains the cart link with […]
Read Morethe 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 Morein a blog type website or in an e-commerce website there needed a comment form and display comments list. In WordPress, there is provided a comment template by default and it can be customized also no make the comment template step by step first write the below code in a post or page template to […]
Read MoreHi, 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 MoreHi 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 MoreTo 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 woo-commerce <?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 MoreIn 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 MoreHi in this post we are going to learn How to get category wise search and archive results in WordPress. in WordPress, there is much 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, for […]
Read Morethe 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