You do not need to add Yoast if you only want to add meta tags to the homepage. Just some minor editing will save you on performance.
You can use the is_home() function.
Insert this to your header.php
:
<?php if (is_home()) { ?>
<meta name="description" content="Your description for homepage..." />
<?php } else { ?>
<meta name="description" content="Description for other pages..." />
<?php } ?>
Related Posts:
- Passing error/warning messages from a meta box to “admin_notices”
- Add “upload media” button in meta box field
- WordPress SEO by Yoast: Hide Meta Boxes in Posts for Non-admins
- Remove the Yoast SEO Post Metabox [closed]
- get registered metaboxes by post type or post ID
- How to get meta box data to display on a page
- esc before saving or before displaying does it matter?
- Check if meta key value already exists
- get_post_meta doesn’t work
- Metabox of one post influence setting on other
- How to store multiple input values with same meta_key
- Consolidate Metaboxes into 1 Big Metabox
- unable to save post meta on single field with multiple selects
- metabox upload file
- Why is variable value emptry in $_POST but available in $_REQUEST?
- Why does get_post_meta not work with the posts page?
- How to get meta box values – WP tuts tutorial
- Change the post date from a meta box
- update_post_meta and get_post_meta not working
- Repeatable custom meta fields
- how to save multiple checkboxes value in wordpress dynamically
- Using WYSIWYG In custom meta boxes
- Multiplicate entry on update_post_meta
- Undefined index error in custom post metabox
- Custom Meta box only returns most recent value on page
- How to prevent further updates of custom meta when using actions to set one meta based on another
- How to create a button click counter meta box?
- meta box & callback function
- $_GET & $post_ID
- get_post_meta as a list for drop down search filter
- Parse a text area custom meta box and assign as value to existing meta keys
- Getting metabox value?
- Hide Page Title with Post Meta
- Save meta data with post, Without using any plugin [closed]
- Editor meta box Showing but not saving
- How can i get multi checkboxes value in metbox?
- Show value of select dropdown in meta box
- remove a single post_meta
- wordpress alchemy put custom metabox on certain page only
- Echo 2 values from one key in Array with get_post_custom
- save radio button selection in post-meta on submit
- post meta – problem : copy the same meta for all the articles
- Custom Meta Data is not being saved
- Update Post Meta in Front End with a form
- Update Post meta with custom variable
- get_post_meta not working on my custom-function page
- update_post_meta doesn’t work
- Removing Meta Generator
- Only allow one meta key value per post in a category
- use post meta in add_meta_boxes action
- Custom meta box not saving values of radio buttons in WordPress
- Can’t save drop down select date in meta boxes
- update_post_meta does not work
- add_post_meta not saved
- when saveing $meta_box i get Undefined index error
- Updating post meta and Meta Box plugin
- Related posts and custom meta_box?
- Select Options Meta Data is Not Updating in Edit Meta Box
- How to display meta box data using “Meta boxes as needed”
- Metadata in loops
- Allow iframe in custom meta box
- Calling Data from Custom Meta Box
- How can i remove blank area caused by theme’s post meta boxes?
- Datepicker altField and altFormat to save a new meta key/value in a post?
- My meta box don’t want to save value
- CPT posts in drop downed in meta box on page doesn’t return post ID
- Create more Meta Boxes as needed
- Set Default Admin Screen options & Metabox Order
- How to display Yoast SEO meta description in archive template for each post instead of the_excerpt()? [closed]
- How to set default screen options?
- Add a Meta Box for uploading a SECOND Featured Image?
- Display Yoast WordPress SEO title in archive template
- Does WordPress have a “Form API”?
- Metabox with checkbox is not updating
- How to HIDE everything in PUBLISH metabox except Move to Trash & PUBLISH button
- What is the “Advanced” $context in add_meta_box?
- Removing panels (meta boxes) in the Block Editor
- Change The Title Of a Meta Box
- What is the index [0] for on post meta fields?
- How to make open/closed and hidden/shown metaboxes status saved on a per-post basis?
- How To Remove The “+ Add New Category” Link From A Category Metabox
- How can I create a taxonomy meta-box with search suggestions but no new terms input?
- Remove the Featured Image Meta Box
- Best practices for meta box placement?
- Creating a metabox to upload multiple images
- How Does WordPress Remember Metabox Positions?
- Sample code for validating custom metabox?
- Post custom metabox textarea using wp_editor
- How to Add Reminders/Notes to New Post Meta Boxes
- How do I get attachment_id?
- Removing Metabox for “Slug” without removing functionality
- post formats – how to switch meta boxes when changing format?
- How to reorder meta box position?
- Prevent sorting and dragging of specific postbox metabox
- One metabox for multiple post types
- How can I retrieve multiple get_post_meta values efficiently?
- How do I position meta_box on post edit screen after the title?
- How to add a class to meta box
- Custom field metabox not showing in back-end
- How to print meta description to posts? [closed]