The code you have pasted has errors – the get_header() is fine but then you have HTML code in PHP code areas.
Also you have included the header twice. Check this code out http://pastebin.com/mH2tn3Qw
The header code should be placed in header.php if you are using the get_header() call
Related Posts:
- How to disable page delete
- get_pages() not ordering as it should
- Editing the Number at the end of Page URLs / Editing Page Slugs
- Pagination Help on Crazy Custom Authors Page
- Create subpage /user/ or /my-profile/ like /author/ with additional query like /user/user123
- Hide page title in WordPress 3.0
- Selecting An image from the Media LIbrary on the frontend
- Custom protected password page with ACF
- Page load requires a trailing “/” [closed]
- Virtual Pages plugins
- Programmatically add a custom page/path/url/route to WordPress
- What is the most idiomatic way to let clients edit phrases in HTML?
- How to merge all my pages into one, while keeping a menu bar?
- How to change URL Custom Page?
- redirect product-category to a custom page
- custom headers for static home page and posts page
- Show posts on a page based on a category and tag(s)
- Split Conference WordPress Page in different years
- Add google org chart to wordpress page
- How to get custom page template being edited in gutenberg editor
- Control Content On Non-Blog Pages
- custom meta box for page default template
- Best practice – pages – ACF or inline coding
- How to hook up search results page to a back-end page?
- How to structure model showcase
- How to customize
- Add a searchbox to the body of a page
- Create page as a file in my theme?
- Featured Image If Else Condition
- Insert menu with a custom walker into page / post body using shortcode?
- How to create “custom page types” with different custom fields in them?
- How to create custom search page
- Creating php pages in wordpress and assigning them to wordpress pages
- How to display page ids as page slug names?
- How to create custom layouts and static pages in themes for clients
- How to make the Pages in WordPress Customized?
- Creating custom page template
- Change Site Logo or Menu Logo Per Page
- change top banner content on specific page
- How to add page content into another page
- Display a specified content on a Page and all its child pages
- Use a custom page with dynamic content as a user profile page
- I want to embed mystream video in my wordpress site
- Swap home page based on user role, Elementor layout breaking
- Taxonomy template is not reading
- New Page/Post Screen Opens an Existing Post
- Static Page, need Last and Next links at the bottom
- How can I create a Custom Page? (not a page template!!)
- wordpress custom posts page not showing
- How to serve an already coded html page in a WP page, to assign a simpler url
- Admin menu disable new/delete page
- Show different pages on site depending on user choice
- WordPress post submit page
- Redirect Every Instance of The Author Template Pages to Custom Author Pages
- Allow arbitrary text after page URL
- Best way to create a page outside of the pages list
- Want home page to click through to two different page types
- Custom single page based on which custom page template is selected
- How to duplicate “Pages” section in the control panel?
- Page template with custom html fields inside a content
- Pass query param to custom page
- Is there a way to have information on one page automatically feed into another? [closed]
- How to apply styles to the custom page template
- How can I make a search term redirect to a page
- Custom CSS working on home page but not on NEW created PAGE
- Create a page for each database table entries
- WordPress objects class reference
- How do you add pages on a staging server, and then move them over to production
- Theme Twenty Fifteen: Customize Color Scheme Customizer
- Associate Page with User
- How to handle security on a wordpress site? [closed]
- Is it possible to set default values for custom fields in a custom post type while my plugin is being activated?
- Copyright messages for a particular set of pages
- Reinstall WordPress Without Losing Data
- Paginate Author’s Post List on Custom Author Page (ANOTHER THEORY)
- View Private Published Page with URL Code (no login required)
- How to check if site is created by wordpress? [duplicate]
- How to Call a static page in WordPress
- Set Title from Custom Template
- For a specific theme, how do I build a list of all the possible theme modification names?
- Static posts page with home.php
- Can I add/replace the WordPress image in the Dashboard
- Post thumbnails not working in my new install of WP 3.1 with Twenty Ten theme
- How can I apply custom sanitization to new usernames?
- How do you set the default page in WordPress?
- Dynamic Sidebars based on page name
- How can I create a basic PHP that can lives outside WP?
- How do I change my permalink structure to a custom structure on an established blog?
- How do I disable the built-in editor and automatically configure the properties of new pages?
- Add producthunt badge to wordpress menu
- How to assign a default/priority taxonomy to be shown in url in case two taxonomy items are selected
- Problems with running a 2nd installation of WordPress on my domain?
- Change the WordPress > Error title?
- How to implement custom Javascript to my site
- How do I enable the text editer in my WordPress theme? [closed]
- Define excerpt length by inserting read more tag
- Creating and populating custom nav menu (menu-item-position not working)
- Apply `the_content’ filter to theme customisation live preview
- Create advanced portal website with sections – taxonomy usage?
- Instead of Custom CSS Theme CSS is loading