Troubleshooting xdebug setup on VVV with VS Code »

Troubleshooting xdebug setup on VVV with VS Code

Here’s some tips for troubleshooting xdebug on VVV while using VSCode and Felix Becker’s PHP Debug extension and BrianGilbert_‘s Xdebug Helper for Firefox add-on. Ensure xdebug is turned on within vvv You may check xdebug status by taking a peak at your servers http://vvv.test/phpinfo/ page. If not on, via we can toggle it on … continue reading »

Check If Current Page Uses Gutenberg or Classic Editor »

If you’re themes like most themes, and you have to fix your main elements CSS to accommodate Gutenbergs edge-to-edge capabilities on gutenberg-only pages, it’s good to know which pages are actually using Gutenberg. The follow will add a CSS body class for Gutenberg pages.

Add conditions like !is_home(), get_post_type() != 'post', etc., to accommodate your theme setup.