Writing SQL isn’t something we do often in WordPress but it is more common when working with custom database tables. In this article we take a look at the basics of SQL and how to use it within WordPress safely.
Storing ACF Form values in custom database tables is a powerful feature which you can easily set up using ACF Custom Database Tables and Advanced Forms Pro.
If you are using the ACF Custom Database Tables plugin and have opted to bypass core metadata storage, you’ll likely end up in a situation where you need to create a WP_Query based on data from your custom tables. The basic approach here is to: Write some SQL that queries all post IDs matching your […]
We recently had a request as to how you could prevent ACF Custom Database Tables from querying custom table data when using ACF’s get_field() function. This isn’t something we had built-in but for anyone needing to implement this, you can use the following code to achieve exactly that. A few things to keep in mind: […]
ACF Custom Database Tables 1.1 is now in beta and we’ve got a few features that we hope you’ll love! Control your column data types Using a few simple filters, you’ll now be able to control the data types of your custom database table columns. Until now, we’ve stuck to the type WordPress uses for […]
Storing form entries in custom DB tables is a cinch when using the Advanced Forms plugin in combination with the ACF Custom Database Tables plugin provided you know how to connect the pieces. Fortunately, all this can be done from within the WordPress admin so you don’t need any code snippets to make this work. Step […]
If you use Relevanssi to handle your WordPress search queries, you can learn how to add support for your custom database tables in the following video: Resources for integrating ACF Custom Database Tables and Relevanssi Relevanssi support article Gist containing example code
Product news, tips, and other cool things we make.