Query Post Object in WP Admin

The Beta of ACF 5.8 lets you create Gutenberg blocks with custom fields. You can preview these block in the editor. Sadly, you have to be an ACF-Pro customer to use the beta. Otherwise you could try to fetch the custom fields via the REST-API utilizing this plugin: https://github.com/airesvsg/acf-to-rest-api/ Refer to this answer on how … Read more

Always Encounter Using ID in WordPress as a Final Solution [closed]

You’re absolutely correct that hard-coding specific IDs is a bad idea. IDs are very much subject to change, and normal activity through the UI can cause problems with any code expecting a specific ID, which makes them fragile. However, when you see solutions involving a specific ID, you need to keep in mind that the … Read more

Categories id Tags