header-block (or template) in plugin: single.php

[ad_1]

Maybe someone can help me. I have searched the net for a long time and found nothing! (Only get\_header() etc. and that does not bring it anscheiennd).

I create a plugin and want to include the “normal” header of my child theme in my own single.php file. So Logo+Menu etc. Everything you can define so in the block editor under header.

Unfortunately I only managed to show a “MYSITE- Another wordpress website …” on my single.php.

How do I go so that on my single.php the same header is attracted as on all other pages?

I already tried it from header.php. There I get at least a ((Title)) and not styled menus. But I would like to get the whole header area, which I have defined as header in the block editor on my homepage…

[ad_2]

 

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