This is because you call get_header()
which already require your theme header.php
, in which the meta tags are defined.
You should learn how to use get_header() in the WordPress Codex
To summarize:
-
You must rename your
wp-blog-header.php
file toheader-blog.php
and place it in your wordpress theme directory. -
Then you can require it using this function :
get_header('blog')
.
If your header is the same on everypage, you can just replace the header.php
and call it with get_header()
.
Related Posts:
- is_singular() not working if called via callback function of admin-ajax.php
- Prepend regular Posts with custom slug, without affecting Custom Post Types?
- Custom post-type in root directory, blog posts in subdirectory
- How to post twitter like updates on wordpress
- Blog page showing same content as homepage
- How to create Blog Post Specific Widget
- Display Only Certain Category In a Custom Page Template
- Add Pagination in custom Blog page template
- Post display in separate page [duplicate]
- Excert ( the_excerpt(); ) Not working properly
- Add /blog to the “post” post type url
- Wp-theme Development
- Custom post type disappeared in wordpress when I transferred theme to Showit
- A developer set a ‘standard format’ for my blogposts on wordpress but i need to remove it, how?
- looping though custom post types and only return results in a given taxonomy
- display custom taxonomies limited to custom post type?
- Allow front end users to add data to a custom post type
- custom fields cannt be seen with version 3.1
- Displaying custom post types as a gallery
- Get_the_terms restrict output
- Populate a custom field dropdown with post titles by author
- Can I query posts by taxonomy conditionally based on post type?
- Shortcode leaves no space for other elements?
- Can anyone clarify difference between archive-{posttype}.php, type-{posttype} and date.php?
- Conflict between wp_list_pages and get_posts – list pages not displaying
- User-submitted reviews of different custom post types
- How to make a pulldown menu display custom meta terms in a theme?
- After creating custom post type, URL to custom posts are invalid
- Custom post type index (maybe using get_template_part)
- Custom post type menu
- Listing all slugs?
- How can I merge this function(s) that inserts terms to a custom taxonomy with this other that adds a custom taxonomy filter?
- What would be a proper name for a custom post type created for static content?
- How to include category name/id in wp_query for retrieving “custom post type” from a particular category?
- Custom fields not saving in newest WordPress 3.0.1
- How can I display a drop-down select of Post Names
- Which file/template is in charge of taxonomies for custom post types?
- Implementing Pillar Posts; Long Posts yet with Some Page-Like Handling?
- get_post_types – exclude multiple post types by name
- Address as a content type post
- CPT Columns doesn’t show categories
- Custom post type loop with custom category filtering
- Hide Status Option From WordPress Publish Metabox and Rename Published on:
- Check if user has comment on current post
- How to conditionally add Custom Post Type to Front Page
- Role capabilities issue
- Assigning a category to a custom post type in WordPress
- Insert Custom Post Types
- How to inherit field value from parent post into in child / sub post
- Create field of Custom Post Types
- Dynamically insert code to custom post type loop
- how to show records that don’t have custom meta value
- How can I add a shortcode to query Custom Post Type with ACF in WordPress?
- Custom Post Types not queried in Custom Taxonomy archives or Native archives
- Show current custom taxonomy
- Template for custom post type when taxonomy is in the URL
- finding and using post type fields in WordPress
- One Custom post type 404’s others don’t
- sortable columns for multiple custom post types not working
- Why WordPress is picking archive.php instead of page.php?
- I need to add a filter to prepend the term ‘National – ‘ to the post title if the post is tagged to multiple states
- post_type_link Filter – Too Few Arguments
- Custom ordering of CPT items not matching with the ordering of its pagination
- Api rest_route 404 while building filter for custom posts (filtered by multiple meta keys / custom fields)
- how to get this tax_query working?
- How can I trace inconsistency in loading a template?
- Custom Post Type page sorts differently on different environments
- Select2 AJAX and WP Query Returns ALL and does not filter
- Postname on unique permalink structure appends “-2” for a custom post type. How can I get this to stop happening?
- Custom Post Type posts, conflict with posts after add_rewrite_rule to top
- hide specific div on single.php [closed]
- Is there a way to create two template for single custom post type page?
- Custom Taxonomy Search result page
- How to insert data into meta box from another plugin?
- Changing slug of all posts
- WP_Query orderby not work with meta_key
- How exclude or skip post type with get_next_post_link
- Share root slug for Child Page and Custom Post Type (prioritizing child pages over posts)
- How check if a post is saved from backend or frontend?
- Exclude Custom post type from /blog page
- Custom Permalinks For CPT and pages with parent. Advanced WordPress
- Stores category posts in an array
- echo selected value from dropdown
- CPT is simply not displayed in the main archive with “pre_get_posts”
- How to group search results by post type and only if post type result is not empty?
- How to change base in tag URL for custom post type, to not use “Custom Structure” set in Permalinks setting?
- How to integrate single and archive templates for custom post type in any WordPress theme
- set_query_params using custom params defined in functions file?
- Custom shortcode works in Elementor editor but not on frontend
- Having Issue on Ordering CPT by Custom Field In Custom WP Query
- WordPress: Custom User Role cannot access Custom Post Type | “Sorry, you are not allowed to access this page”
- How to see posts in taxonomy endpoint
- Graphql: Unable to query (where:{author}) for custom post type
- Combine multiple CPT names to create valid permalinks
- Permalink problems with custom post type and custom taxonomy
- Query all post and CPT from 2 specific taxonomies AND by ACF custom field
- Select other roles as custom post authors
- Pagination not working on custom query on a page
- Why does wp_update_post causes white screen?
- Get taxonomy singular name instead of taxonomy slug inside $taxonomy query