get_post_fieldfunction to get current page name WordPress.
Get the current page name in WordPress — the WordPress way. No hacks or referencing globals. A clean and simple approach using the
get_post_field function to get current page name WordPress.
Use Prism.js in WordPress with the Prism.js Gutenberg block plugin. Uses the existing code block for easy & semantic integration.
WordPress has logging functionality built-in & easy to add to, but what if you want to create your own WordPress custom log file for a plugin or theme?
There’s the wrong way & the WordPress way to set cookies via PHP — both work, but only one follows WordPress coding standards. Learn how to utilize core constants to get & set cookies.
Finding that your WordPress hooks are firing more than once per page load? Learn how to ensure your WordPress hooks like
template_redirect and others only fire once per page load — a headache that’s easily solved.