Get Posts by Custom Fields in WordPress (Part 2)

How to Get Posts by Custom Fields in WordPress – Part 2

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_posts and 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 “How to Get Posts by Custom Fields in WordPress – Part 2”

Create an OTA Website Like Booking.com with Meta Box Plugin – P3: Create Filters for Single Hotel Pages

Create an OTA Website Like Booking.com with Meta Box Plugin – P3: Create Filters for Single Hotel Pages

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”

Create an OTA Website Like Booking.com with Meta Box Plugin - P2: Create Filters on the Archive Page

Create an OTA Website Like Booking.com with Meta Box Plugin – P2: Create Filters on the Archive Page

In part 1 of the series “Create an OTA Website Like Booking.com with Meta Box plugin”, we completed creating a page to introduce hotel rooms and creating custom fields to fill in the booking data. But an OTA website needs more than that: a filter hotel system to help users search for hotels that fit their requirements easily and quickly. So, this next part is about how to create filters on the Hotel archive page. Let’s find out!

Continue reading “Create an OTA Website Like Booking.com with Meta Box Plugin – P2: Create Filters on the Archive Page”

Comprehensive Review of Top 4 Translation Plugins

A Comprehensive Review of Top 4 Translation Plugins

A multilingual website may help people run their business more successfully and reach more customers from all over the world. To create a multilingual website and reach that target, the common choice is using a translation plugin to save time and effort. But there’re many plugins out there so choosing the suitable one seems to be not easy. Among them, the most popular choices are the freemium plugins: Polylang, TranslatePress, Weglot; and the premium one: WPML.

Continue reading “A Comprehensive Review of Top 4 Translation Plugins”

Review Top 5+ Cache Plugin to Speed Up Your Website Speed

Review Top 5+ Cache Plugin to Speed Up Your Website Speed

When users visit a website, loading speed may be one of the most important things that they care about. It directly affects the users experience and their decision to stay or leave the website. Therefore, webmasters always try to speed up their sites. There are many methods to do it, and using cache plugins is one of them.

Continue reading “Review Top 5+ Cache Plugin to Speed Up Your Website Speed”

How to show reviews on SERPs using Schema

How to Show Reviews on SERPs using Schema

Have you ever searched for a product and found a five-star-rating below the product on the Search Engine Results Pages (SERPs)? Such star-ratings not only impress users but also create authenticity for the products. If you want to display your site’s ratings on the SERPs too, keep reading this article to learn about the fastest and most accurate way to show this by using Schema plugins.

Continue reading “How to Show Reviews on SERPs using Schema”

How to Bundle Meta Box into another Plugin to Create Custom Fields

How to Bundle Meta Box into another Plugin to Create Custom Fields

If you want to use Meta Box to create custom fields or a settings page without installing it, there is another way that is bundling it into another plugin.

You may wonder why we need to do it. It’s because when you create a website for clients, it may be a good idea to hide information such as the used plugins. This time, bundling Meta Box into another plugin will be an effective way.

Let’s see how to do it.

Continue reading “How to Bundle Meta Box into another Plugin to Create Custom Fields”

How to Build a Hotel Booking Website Using Meta Box - P4 - Booking Management Page

How to Build a Hotel Booking Website Using Meta Box – P4 – Booking Management Page

After the 3rd part of the series about how to build a hotel booking website using Meta Box, we had a basic system to create and book reservations for a small and medium hotel. However, I think that you still need a tool to collect all the booking details for easy management and scheduling.

That’s why in this 4th part, I will show you how to display all booking orders on one page so that you can view the booking schedule intuitively as well as easily check each information.

Continue reading “How to Build a Hotel Booking Website Using Meta Box – P4 – Booking Management Page”