Add columns to admin orders list in WooCommerce backend

You want to add some columns to your order listing page in the woocommerce admin area. So you if you want to add some columns in the orders Admin list page (in backend) ADDING COLUMNS IN WOOCOMMERCE ADMIN ORDERS LIST In the example below, we add 2 new custom columns, before existing “Total” and “Actions” … Read more

How to Optimize WordPress Robots.txt File for SEO

You are lucky that WordPress automatically creates a Robots.txt file for you. Having this file is half of the battle. You have to make sure that Robots.txt file is optimized to get the full benefits. What is Robots.txt File? Robots.txt file is a text file which instructs search engine bots how to crawl and index … Read more

How to Secure Your WordPress Website

I’ve heard many website owners complain about the security of WordPress.  And if so, how do you secure your WordPress website? In this guide, we will share all the top WordPress security tips to help you protect your website against hackers and malware.As a website owner, there’s a lot that you can do to improve … Read more

How to Fix “Brifefly unavilable for Scheduled maintenance. check Back in a minute” Error

maintenance-error-wp

“Briefly unavailable for scheduled maintenance. Check back in a minute” is an error in WordPress, which usually occurs when an update is not successfully completed. This is the common problem in theme update and plugins updates.the update process may timeout, leaving your site in maintenance mode and inaccessible. In this article, I will familiarize you with … Read more

Use ajax without a plugin in wordpress

Plugin code is just… code, it can go in a themes functions.php, or a plugin file, there’s no magical or special difference other than the order they’re loaded . The problem you’re facing is that you’ve tried to put your logic inside the search page. Instead, the code needs to be in functions.php which is always loaded. How … Read more

Get values from an options page from Acf Repeater

we can be used  get field from an options page, however, a second parameter is required to target the options page in using while loop and get filed value show and front and for get display filed <p><?php the_field(‘field_name’, ‘option’); ?></p> <?php $variable = get_field(‘field_name’, ‘option’); // do something with $variable ?> <?php if( have_rows(‘repeater’, … Read more

Search filter using meta query with wp query

Ajax WP Query Search Filter is a powerful ajax search engine that let your user perform more precisely search by filtering the search through post type, taxonomy and meta field search filter using ajax and meta_query with wp_query following this step 1 user the create a search filter search form : <form method=”POST” action=”” id=”search_form” enctype=”multiple/type”> <h3><font style=”vertical-align: inherit;”><font style=”vertical-align: inherit;”>Key words </font></font></h3> <div … Read more

How to display custom posts month by month?

wp-query be used to show posts month by month, and have it only show the past year <?php $blogtime = date(‘Y’); $prev_limit_year = $blogtime – 1; $prev_month = ”; $prev_year = ”; $args = array( ‘post_type’ => ‘asian’, ‘posts_per_page’ => 20, ‘ignore_sticky_posts’ => 1 ); $postsbymonth = new WP_Query($args); while($postsbymonth->have_posts()) { $postsbymonth->the_post(); if(get_the_time(‘F’) != $prev_month … Read more

What is the difference between “post” and “page” in WordPress?

many people are confused in page and post difference. wordpress  comes  with two content type post and page begineer developer are confused, Pages These are your static pages.  Examples of your pages would be: About, Services, Contact, etc. While the WordPress database stores the published date of the page, pages are timeless entities. For example, your about … Read more