Inserting site title/name into footer template part

Sorry for the basic question (I am quite new to solely theme FSE) but can anyone kindly share with me how to insert the site title into a footer template part theme file?

I believe it should be possible with `<!– wp:site-title /–>` (?) but I haven’t managed to get it working so that it shows… 🤷‍♂️

1 Comment
  1. Ah never mind, I’ve managed to get it working with the following:

    `<!– wp:group –>`

    `<div class=”wp-block-group”><!– wp:site-title /–><!– wp:site-tagline {“style”:{“spacing”:{“margin”:{“top”:”4px”}}}} /–></div>`

    `<!– /wp:group –>`

    I can play around with this now to get it how I want. I guess it must have needed to be inside a div which I was missing before… 😅

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer