How To Show Upcoming Events P5 Using Meta Box And Breakdance

How to Show Upcoming Events - P5 - Using Meta Box and Breakdance

When our team redesigned a website for a client in the entertainment industry, I noticed that highlighting upcoming events is a good way to boost engagement. Displaying all the events is an easy task, but someone may not know how to filter them by date. So, after researching, I’ve written a series on using custom fields with Meta Box combination with various page builders to do it.

This tutorial is about doing it with Breakdance.

Continue reading "How to Show Upcoming Events - P5 - Using Meta Box and Breakdance"

How to Create Download and Preview Buttons - P4 - Using Meta Box and Kadence

How to Create Download and Preview Buttons - P4 - Using Meta Box and Kadence

Do you have a WordPress website to share knowledge, documentation, product information files, portfolios, etc.? It’s convenient to allow visitors to have two options: read the preview or download the PDF file. Therefore, creating download and preview buttons on an e-book page can be a useful topic for you. Today, let’s do it using Meta Box and Kadence.

Continue reading "How to Create Download and Preview Buttons - P4 - Using Meta Box and Kadence"

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"

Get Posts by Custom Fields in WordPress

Get Posts by Custom Fields in WordPress - Part 1

In the previous articles, we've known about what Custom Fields is and the application of custom fields which allows users to add arbitrary information into posts. But what do you do after that? In the recent post, you also learned how to add custom fields programmatically and display them in your theme. But you’ll see a shortcoming if there is no classification and searching. This post will guide you on how to get posts by custom fields in WordPress and we'll create an interesting application: advanced search.

Continue reading "Get Posts by Custom Fields in WordPress - Part 1"