Hello friends, welcome to my another blog post how to set minimum word to published post in WordPress. When we create a post in WordPress, it is not mandatory to put content in the editor. But if you want to change this functionality then you need to know some basic coding. We can easily do this using WordPress hook add_action and protect someone to post empty content. Read more
Wordpress
All wordpress related post
How to override product search box widget WooCommerce
Hello friends, welcome to my another blog post, how to override product search box widget WooCommerce. If you are working with WooCommerce and want to customize WooCommerce default product search form into your own style then you are an incorrect place. Today I will show you how to override product search box widget WooCommerce step by steps. Read more
How to show most recent post from each Category WordPress
Hello friends, welcome to my another blog post how to show most recent post from each Category WordPress. If you want to create a custom page where you want to show most recent post from individual category then you must use below code. This code will help to achieve your solution.
At first I fetch all categories using get_categories() function. Then loop through each category and show recent 10 posts from each category. Read more
How to add extra class to last post WordPress
Hello friends, welcome to my another blog post how to add extra class to last post WordPress. Few days earlier I was woking with news magazine website in WordPress. Here I got the problem, I have to add an extra class into my last blog post. So I found the solution in google. But did not get proper solution for first 1 hour. Then I suddenly got some solutions from a different blog site. So I want to share the exact solutions with you. You can use this solution to add an extra class, add some div or any other work you want to do on your last post. So Below are the solutions: Read more
How to get page id from page name wordpress
Hello friends, welcome to my another blog post how to get page id from page name WordPress. If you have your page name or page title and you need to find page id from that, WordPress does not have any default function for that. Where you pass the page name or page title and get your respective page id. Here I create a custom function for you to get page id from page name and page title. You can use my function with wp_list_pages WordPress function to be excluded from the list of pages or included your specific page. Read more
Show Recent Posts using SQL Query WordPress
Hello friends, welcome to my another blog post how to show recent posts using SQL Query WordPress. If you want to create your own widget to show recent posts from your own style or if you do not use WordPress query post then you have the option to fetch your post from your database table and display them. Today I will show you how to do that. Read more
Add extra class in contact form 7 form tag
Hello friends, welcome to my another blog post how to add an extra class in contact form 7 form tag. Many people use contact form 7 plugin for the contact form or another purpose. Contact form 7 gives you extra power to add the class, id into your input fields(like input, text area, submit button etc). But if want to add your custom class into contact form 7 form tag then what to do?. Today I will give you the solution to add extra class in contact form 7 from tag. Read more
How to open contact form 7 in popup
Hello friends, welcome to my another blog post how to open contact form 7 in popup. Recently I was working on a project for my client and he need a inquiry button. When ever user click on this button a form will popup. I know it can be done with contact form 7 and any jQuery plugin like fancybox, lightbox etc. So I was searching for WordPress plugins for this and I got one plugin “Form Lightbox” and my issue was solve. So today I will tech you step by step process to open contact form 7 in popup. Read more
Woocommerce add to cart redirect to checkout page
Hello friends welcome to another blog post how to Woocommerce add to cart redirect to checkout page. If you used WooCommerce to manege your eCommerce store and you want Woocommerce add to cart redirect to checkout page functionality then use the below process to achieve your goal. Here I describe the exact way to do that. Read more
How to change the default lost password message WordPress
Hello friends, welcome to my another post how to change the default lost password message WordPress. By default WordPress show this message “Please enter your username or email address. You will receive a link to create a new password via email.” on reset password/lost password page. If you want to change the default message in lost password page then paste the below code in your theme functions.php page. Read more