Tag: WordPress Development
Replacing the Current Block Template Dynamically in WordPress
In this guide, we will explore how to dynamically replace the block template in WordPress based on certain conditions. Our goal is to allow users to create and select custom block templates through the WordPress Editor and dynamically apply them based on specific query variables. Let’s dive into the details! 1. Create a Template Through…
Which to use: WordPress multisite, separate websites, or a shared install on two domains?
Many times I have been tasked to build two websites for a business. As a developer it is my responsibility to advise how these two websites should interact, or if they should interact at all. This can be very difficult for the developer, and can be very expensive for the client. In this post I…