How to Differently Style Posts in Particular Categories

How to Differently Style Posts in Particular Categories

Have you ever visited a WordPress website and found that articles in different categories had different styles and designs like different backgrounds, fonts, text colors, …? For example, in a music blog, the articles in the “Blue” category have a dreamy purple background, and the articles in the “Rock” category have a dark color. This is an interesting highlight in the design, making your website more impressive in the eyes of viewers.

Continue reading "How to Differently Style Posts in Particular Categories"

How to Move Custom Fields’ Data to Custom Tables

How to Move Custom Fields’ Data to Custom Tables

As you all may know, custom fields are definitely so powerful and effective in WordPress. However, if your website has too many custom fields’ data, your database will be bloated considerably. So, to solve this problem, you should try moving your custom fields’ data to a custom table.

Read till the end to watch our video tutorial.

Continue reading "How to Move Custom Fields’ Data to Custom Tables"

Get Posts by Custom Fields in WordPress - Part 2

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 "Get Posts by Custom Fields in WordPress - Part 2"

Create an OTA Website Like Booking.com with Meta Box Plugin 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 the first article of this 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 Add Custom JavaScript Actions Using Button Field with Meta Box

How to Add Custom JavaScript Actions Using Button Field with Meta Box

In WordPress, there are only default functional buttons on the backend for you to do some actions like submitting posts or adding categories. Do you want to add other custom buttons to make your management much easier? So, read this article to know how to add custom JavaScript actions using the button field with Meta Box in the most convenient way.

Continue reading "How to Add Custom JavaScript Actions Using Button Field with Meta Box"

Meta Box’s Special Deal for Christmas and New Year 2019

Meta Box’s Special Deal for Christmas and New Year 2019

2018 is coming to an end! We are so thankful for all of you who have supported us through this year. How were your projects in 2018? Have you had any difficulties working with the custom field? If so, keep reading and we will give you some useful suggestions. Plus, we’d love to announce we have some Christmas gifts for you. Stay tuned!

Continue reading "Meta Box’s Special Deal for Christmas and New Year 2019"

MB.Banner-General-bottom