The subscription Wordpress plan (Wordpress.com, not a separate Wordpress installation) was very limited and doesn't support custom code. Choosing a theme and/or using a child-theme which is highly recommended for Wordpress sites (it makes updates easier and safer) was also not possible. Therefore, I had to adapt the design so it can be replicated with the drag-n-drop builder available in Wordpress.