Code Snippet: Turning RankMath’s FAQ Block into an Accordion

For the longest time I’ve been using Yoast SEO on most of the sites I build. They added structured data blocks for FAQPage and How To to the block editor a while ago. These blocks allow you to improve your search visibility in all major search engines. A client wanted the FAQ blocks to be …

Read moreCode Snippet: Turning RankMath’s FAQ Block into an Accordion

Code Snippet: WordPress Page Template Redirect to child page

Sometimes you need a simple way to redirect a parent page directly to it’s first child page in WordPress. This little snippet is a WordPress page template to be used in your theme. It includes support for WPML, in case you still use my least favorite translation plugin in the universe. I strongly suggest you …

Read moreCode Snippet: WordPress Page Template Redirect to child page