Title: FSE theme and get_header function
Last modified: February 21, 2024

---

# FSE theme and get_header function

 *  [lucapoe](https://wordpress.org/support/users/lucapoe/)
 * (@lucapoe)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/fse-theme-and-get_header-function/)
 * So I’m redesigning and redeveloping my client site using FSE theme. everything
   fine in the staging site until a custom plugin installed. The custom plugin basically
   generating a page (a contact page – and maybe more) and using get_header and 
   get_footer function, which doesn’t work in the FSE theme because it doesn’t have
   header.php footer.php file.
 * Is there any way to get around with this? I know I won’t be allowed to modify
   the plugin though. Or if I could communicate with the plugin developer what should
   I ask to him/her?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/fse-theme-and-get_header-function/#post-17453913)
 * Yes, you would have to contact the plugin developer. It depends on what he has
   built into the header. They should provide you with this in the form of blocks
   or patterns.
 *  Thread Starter [lucapoe](https://wordpress.org/support/users/lucapoe/)
 * (@lucapoe)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/fse-theme-and-get_header-function/#post-17473725)
 * For those who has the same problem, I finally get around to solve this problem
   by creating header.php & footer.php in my FSE theme and called the header block
   with block_header_area () and footer block with block_footer_area () from there.
   I’m using my own custom theme btw, almost a blank theme with just minimum styling
   in theme.json.
 * The funny thing is, the styling that I applied within the block (with block editor)
   didn’t load at all in the page generated by the plugin. So I have to rewrite 
   the style with custom CSS.
 * I’m far from expert level, so I don’t know wether this will create problems in
   the future or not.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘FSE theme and get_header function’ is closed to new replies.

## Tags

 * [fse](https://wordpress.org/support/topic-tag/fse/)
 * [get_header](https://wordpress.org/support/topic-tag/get_header/)
 * [header.php](https://wordpress.org/support/topic-tag/header-php/)

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 2 replies
 * 2 participants
 * Last reply from: [lucapoe](https://wordpress.org/support/users/lucapoe/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/fse-theme-and-get_header-function/#post-17473725)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
