Adding the pagination and the search box feature on the back end will be useful for WordPress users in many cases. Especially in the page / post editor of WordPress, you need to choose details like background image, colors, … for your Gutenberg blocks sometimes. It doesn’t matter if you only have a few options. But when there are dozens of options, you should definitely add the pagination and the search box to find them easily.
Continue reading "Easily Add Paginations & Search Boxes in WordPress Editor with Meta Box" →
If you’re using WooCommerce to build your eCommerce WordPress website, you should definitely utilize the variable product feature of this plugin. This feature is very useful because it helps you add a set of variations to one product. Thus, it’s more flexible and convenient for you to manage your selling items.
Continue reading "How to Create Variable Products in WooCommerce" →
Application Passwords is a new feature in WordPress version 5.6. It's used to make authenticated requests to various WordPress APIs. However, this feature can be utilized by bad guys to gain control of your website. Therefore, it's recommended to turn off this feature when you upgrade your website to WordPress 5.6.
Continue reading "How to Disable Application Passwords in WordPress 5.6" →
When working with PHP projects, developers often have to manage many libraries from third parties. But installing and updating these libraries are quite complicated. To solve this problem, you can use Composer and Autoload to save time and effort.
Now, let’s find out what Composer and Autoload are, and how to use them in PHP!
Continue reading "How to Use Composer and Autoload in PHP" →
When creating content, there might be a situation when many users contribute to writing a post. Normally, authors will list their names as contributors. But if you do it manually, that may take time. So why don't you try creating a contributors list automatically to save time? To do it, we can get the list of users who edited the post in Revision, then display it on the posts page.
Continue reading "How to Create Contributors Lists for Posts" →
If you’re using an Apple device, when browsing a website, you can phone or chat directly with that site's owner to request or ask for services / information right on the website. It’s so convenient thanks to the Apple Messages chat feature that is only available on Apple devices. Thus, website owners should absolutely take advantage of this useful feature to improve the experience of Apple users.
Let’s find out how to add the Apple Business Chat button to your WordPress websites. Note that if users don’t browse the internet by iPhone, iMac, iPad, Macbook, etc, this feature will be hidden.
Continue reading "How to Add Apple Business Chat Button to Your WordPress Website" →
In part 1 of this series, we learned about how to get posts by custom fields in WordPress with the
WP_Query function. However, if we need to deal with databases, it’s better to find another faster, easier, and more convenient way. That method is joining
wp_postmeta tables together, and then querying by SQL. In part 2 of the series “How to get posts by custom fields in WordPress”, we’ll use this way to add the advanced searching feature that allows users to search by keywords in posts / pages titles and custom fields content.
Continue reading "Get Posts by Custom Fields in WordPress - Part 2" →
In part 2 of the series “Create an OTA website like booking.com with Meta Box plugin”, we created filters that allow users to search for hotels on the Hotel archive page. Then, to help users find their desired rooms in each hotel conveniently, we need to filter vacancies in Hotel single pages.
Continue reading "Create an OTA Website Like Booking.com with Meta Box Plugin - P3: Create Filters for Single Hotel Pages" →
Hosting is a popular topic when it comes to WordPress sites. Many users often find it difficult to choose the right hosting solution for their website and sometimes it could become a tedious task. The reason is simple, you have a lot of options available out there and you can’t test them all.
Continue reading "The Detailed Review of Cloudways - A High Performance WordPress Hosting" →