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 and Import a Project Portfolio Using Elementor, Meta Box and WP All Import

Create and Import a Project Portfolio Using Elementor, Meta Box and WP All Import

You need to create a website for a client – and the client has a whole bunch of projects that they want to show on their website. Not only that but there are over 30 projects – and each project portfolio has over 40 images and its own page. Sounds like a lot of work right? Luckily, using WordPress along with WP All Import Pro and Meta Box, this is a piece of cake. In this tutorial, I will walk you through how to do this.

Continue reading “Create and Import a Project Portfolio Using Elementor, Meta Box and WP All Import”

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 - P1: Create a Page to Introduce Hotel Rooms

Create an OTA Website Like Booking.com with Meta Box Plugin – P1: Create a Page to Introduce Hotel Rooms

Nowadays, having an OTA (Online Travel Agent) website is very popular with companies and agencies, especially ones that supply the hotel booking service. Some of the most popular websites in this field are agoda.com and booking.com with professional hotel booking systems. If you want to build an OTA website just like them, follow our series “Create an OTA Website Like booking.com and agoda.com”.

In this first article of the series, we’ll create a single page for each hotel and create custom fields to enter the hotel information, and then display them on the website.

Continue reading “Create an OTA Website Like Booking.com with Meta Box Plugin – P1: Create a Page to Introduce Hotel Rooms”

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”