How to teach VS Code about ACF functions
Run this in your project:
This has bitten me more than once. When using the requests Python package to make REST API calls to a WordPress site hosted on WP Engine, their security dingus will throw a 403 for no apparent reason. If this happens to you, change the User-Agent string in the request header before sending. It can honestly
WP Engine Returns 403 Forbidden with Python + Requests Read More »
I’ve wanted to learn how to do this for ages, and today I got the chance. This simple WordPress shortcode will find all of the children of the current post and spit out an <ul> of them with titles and links. The shortcode has two optional parameters: In reality, the shortcode looks like this: [foo_generate_inline_menu
A Simple Example of a WordPress Shortcode with Parameters Read More »