Title: Header code
Last modified: October 19, 2018

---

# Header code

 *  Resolved [keden12](https://wordpress.org/support/users/keden12/)
 * (@keden12)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/header-code-4/)
 * Hi, I am just wondering where can I find the header code that I made using this
   plugin? Basically, I want to copy & paste this code to a front-header.php file
   so that it would only use this header for the front page. I would create a different
   header using the plugin also and it would apply to all the other pages. Would
   you say this is a good idea? Since I already have the header done for the front
   page.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fheader-code-4%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [keden12](https://wordpress.org/support/users/keden12/)
 * (@keden12)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/header-code-4/#post-10796432)
 * [@nikschavan](https://wordpress.org/support/users/nikschavan/), [@deepakl](https://wordpress.org/support/users/deepakl/)
   If you could help me that would be awesome!
    -  This reply was modified 7 years, 5 months ago by [keden12](https://wordpress.org/support/users/keden12/).
 *  Thread Starter [keden12](https://wordpress.org/support/users/keden12/)
 * (@keden12)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/header-code-4/#post-10802778)
 * [@brainstormforce](https://wordpress.org/support/users/brainstormforce/) also
   🙂
 *  Thread Starter [keden12](https://wordpress.org/support/users/keden12/)
 * (@keden12)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/header-code-4/#post-10802831)
 * Sorry, my mistake it should be front-page.php
 *  [Nikhil Chavan](https://wordpress.org/support/users/nikschavan/)
 * (@nikschavan)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/header-code-4/#post-10803870)
 * This is the code that displays the header content – [https://github.com/Nikschavan/bb-header-footer/blob/master/themes/astra/class-astra-compat.php#L66-L69](https://github.com/Nikschavan/bb-header-footer/blob/master/themes/astra/class-astra-compat.php#L66-L69)
 * But do note that – at one time only one header can be selected on a site. Using
   multiple headers is possible with Astra Theme and Astra Pto’s custom layout addon–
   [https://wpastra.com/docs/custom-header/](https://wpastra.com/docs/custom-header/)
 *  [yarolin](https://wordpress.org/support/users/yarolin/)
 * (@yarolin)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/header-code-4/#post-11048118)
 * Hi keden12,
 * I looked at your website that you specified above, the template that you used
   when creating your website, I really liked it, please tell me the name of this
   template.
    I also saw that you were able to replace the header on another page.
   How did you do it, I can not figure it out, can you help me please understand
   where to change the header.

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

The topic ‘Header code’ is closed to new replies.

 * ![](https://ps.w.org/header-footer-elementor/assets/icon-256x256.gif?rev=3278750)
 * [Ultimate Addons for Elementor](https://wordpress.org/plugins/header-footer-elementor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/header-footer-elementor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/header-footer-elementor/)
 * [Active Topics](https://wordpress.org/support/plugin/header-footer-elementor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/header-footer-elementor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/header-footer-elementor/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [yarolin](https://wordpress.org/support/users/yarolin/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/header-code-4/#post-11048118)
 * Status: resolved