Skip to content
CodeAstrology
Working Hours 9:30 am - 6:30 pm (Sun - Thu)
Contact Us contact@codeastrology.com
CodeAstrology

CodeAstrology

We Develop and Sell WordPress Plugins and Themes

  • Home
  • About
    • Services
    • Company
    • Team
  • Products
    • Premium Products
    • Woo Product Table
    • Min Max Quantity & Step Control
    • UltraAddons
    • Pricing – Add to cart button Changer
  • Blog
  • Contact
  • My Account
    • Support Area
    • Affiliate Area
 0 - $0.00
Get Quote
add meta description in wordpress
By Jakir Hossain

How to Add Meta Descriptions in WordPress Without Plugin?

WordPress is a popular content management system that allows users to create and manage their own websites. Meta descriptions are a way for WordPress to show potential website visitors what the article or post is about before they decide to click on it. You don’t need meta descriptions on your website, but they can help make your content easier to find and get more people to read it.

Adding meta descriptions to your WordPress posts is a great way to increase click-through rates (CTRs) and improve your SEO. Unfortunately, many people find it difficult to add meta descriptions using standard WordPress features. Fortunately, there is no need to install a plugin! This guide will show you how to add meta descriptions using the built-in WordPress features.

Table of Contents

  • How to Add Meta Descriptions in WordPress Without Plugin?
  • Woo Product Table Pro
      • The Most Popular Product Table Plugin For WooCommerce
  • What is the Meta Description?
  • Why Is Meta Description Important?
    • SEO:
    • Search Engines Index:
    • Helps In Better Ranking
  • Step 1:  Appearance to Theme Editor
  • Step 2:  Find out the functions.php File and open it
  • Step 3:  Copy the following code
  • Step 4:  Put the code in the function.php file and save it
    • Note:
  • Bonus tip: Add Meta keyword tag
    • Note:
  • FAQ
    • What are Meta Tags?
    • What are Meta Keywords?
    • What is the Meta Title?
  • Conclusion

How to Add Meta Descriptions in WordPress Without Plugin?

Meta descriptions are essential for SEO purposes, as they help potential website visitors understand what the content on your website is all about. Unfortunately, adding meta descriptions using plugins can be time-consuming and difficult, which is why we’ve put together this guide to adding meta descriptions without a plugin. By following these simple steps, you’ll be able to add effective meta descriptions to your WordPress site in minutes!

special offer for code astrology

Woo Product Table Pro

The Most Popular Product Table Plugin For WooCommerce

Get Special Discount

What is the Meta Description?

Meta descriptions provide concise summaries of web pages, enabling users to determine whether a particular page is relevant to their needs. The meta description appears in search engine results from pages as well as in browsers when a user bookmarks or shares a page.

While the length of a meta description can vary, it should be around 155-160 characters for optimal display in search engine results from pages. A well-written meta description entices users to click on your result rather than one of your competitors.

The content of a meta description should reflect the page’s content and include the target keywords for that page. However, overfilling a meta description with keywords can make people less likely to click on it.

This is an example of the meta description tag:

<meta name="description" content="This is the description sentence or short paragraph about the article or post." />
meta  description

Why Is Meta Description Important?

SEO:

Meta tags are important for SEO because they provide information about a web page to search engines. These tags are hidden behind the scenes, but they play an important role in helping search engines determine the content of a page.

Many expert SEOs and professional bloggers suggest optimizing websites for these tags. The most common meta tags are the title tag, the description tag, and the keywords tag. By filling out these tags correctly, you can help improve your website’s ranking in search engine results pages (SERPs).

The title tag is one of the most important meta tags because it tells search engines what a page is about. The title should be brief and to the point, and it should include your target keywords.

The description tag is also important because it gives searchers an idea of what a page is about.

Search Engines Index:

They provide a summary of what the web page is about, which helps search engines index pages easily. They also help users determine whether the page is relevant to their needs. The keywords meta tag tells the search engine what the page is about, while the description meta tag provides a brief summary of the content. The title should accurately reflect the content of the page. The description tag is also important, as it gives searchers an idea of what the page is about before they click on it.

Helps In Better Ranking

The main reason meta descriptions are helpful for better rankings is that they help Google or other search engines identify the topic of a page. This is important because it helps Google determine the relevancy of a page for a particular search query. If you have relevant meta tags, your page is more likely to show up in search results for that query.

Another reason meta descriptions helpful is that they can help you rank higher for long-tail keywords. Long-tail keywords are keywords that are more specific than general keywords and have less competition. Including them in your meta tags can help you rank higher for those

Follow these steps to add Meta Descriptions in WordPress without a plugin.

Step 1:  Appearance to Theme Editor

Go to the WordPress Dashboard >> Appearance >> Theme Editor.

Click on the Theme Editor.

meta first step

Step 2:  Find out the functions.php File and open it

When you click the theme editor, you’ll see the backend on the right pane. So, click on the Theme Function (function.php) file. This will open the function PHP code file.

Find the functions.php

Step 3:  Copy the following code

You have to add this code to the theme function.php file, so first copy it.

Step 4:  Put the code in the function.php file and save it

You have to put this code in the function.php file.

So, scroll down the function.php file and put it at the bottom where the code ends.

code set

Then click on the Update File button to save it.

meta updated

It will help you show the meta description from the beginning of any post or page. It will automatically fetch the first 160 characters from the first paragraph. Also, it will fetch the post or page category and will show up as a meta keyword.

Note:

If at any time you are going to change your existing theme, then this code will disappear automatically. So you have to enter this code again. Following these steps, you can easily add this code.

Bonus tip: Add Meta keyword tag

If you want to add a meta keyword tag, you can do it easily.

First, go to the function.php file and write the codes below. 

Note:

You must add the code before the php? > closing tags. 

FAQ

What are Meta Tags?

Meta tags provide concise information about a website or post to search engines. They are used to provide keywords and a brief description of the contents of the site. Meta tags are not seen by website visitors, but they are important for helping search engines understand what your website is about.

There are several different meta tags, but the most useful ones for SEO are the title tag, the meta description tag, and the keywords tag. The title tag is what shows up as the headline in search engine results pages (SERPs), so it’s important to make sure it accurately describes the contents of your site. The meta description tag is a brief summary of your site that appears under the title in SERPs, and you should use it to persuade people to click through to your site.

What are Meta Keywords?

Meta keywords are the terms or focus topics of your web page that you put in the description. They are not necessary for your page to be found by search engines, but they can help improve your ranking if you use them correctly. When choosing keywords, think about what people would type into a search engine to find your page. Try to use a variety of keywords that are relevant to your topic. You can also use Google AdWords to get ideas for keywords.

Meta Keywords

What is the Meta Title?

Meta titles are descriptions of pages and posts that you see in search engine results. They’re the short, descriptive texts under the link to your content. A good meta title is important for two reasons: it tells people what your content is about and it helps improve your SEO (search engine optimization) by telling Google and other search engines what your content is about.

When creating a meta title, it’s important to keep it short and sweet—no more than 60 characters. That’s because Google will truncate long titles in their search results, so you want to make sure that the most important information is at the beginning.

Your meta title should also be keyword-rich so that it will help you rank higher in search engine results pages (SERPs).

This is an example of the meta titles tag:

Meta Title

Conclusion

In conclusion, adding meta descriptions in WordPress without a plugin is possible, but it can be done in a minute. You can also use a plugin to add meta descriptions to your website. There are many plugins available that make adding meta descriptions easy and quick. If you follow the steps, you can help improve your site’s SEO and get more traffic from search engines. By following the steps outlined in this article, you should be able to do it without too much trouble. And don’t forget, if all else fails, there’s always a plugin! Thanks for reading!

Add Meta Description Plugin WooCommerce WordPress

Share

Post navigation

Previous: Will Changing WordPress Themes Affect SEO
Next: How to increase Maximum Upload size in cPanel

Free Download

Woo Product Table (Free Version)

Checkout Added to cart

Min Max Quantity & Step Control (Free)

Checkout Added to cart

UltraAddons Elementor (Free)

Checkout Added to cart

Premium Plugins

Woo Product Table Pro

  • Billed once per year until cancelled

  • Billed once per year until cancelled

  • Billed once per year until cancelled

Checkout Added to cart

Min Max Step Control Pro

  • Billed once per year until cancelled

  • Billed once per year until cancelled

  • Billed once per year until cancelled

Checkout Added to cart

Recent Posts

  • Common Mistakes in Software Development and Ways to Avoid Them
  • Top five WordPress Page Builders
  • What is a Woo Product Table?
  • The 7 Principles of Conversion-Centered Landing Page Design
  • Potential analysis of social media channels in relation to the success of customer retention
  • How To Fix Common SSL Issues in WordPress
  • 12 Tips to Create a WordPress Blog
  • Why don’t WordPress Posts not showing on mobile
  • How to Prevent a 504 Gateway Timeout in WordPress
  • How to login into a WordPress site using the phone number
  • How to Show Widgets on Specific Pages in WordPress
  • How do I Fix Mobile Menu in WordPress?
  • How to Delete WordPress Site from Host gator

Categories

  • Advanced Custom Fields
  • Advanced Search
  • Business Idea
  • Custom Fields WooCommerce
  • Custom Taxonomy
  • E-Commerce
  • Errors
  • Featured Tutorial
  • Instant Search
  • Min Mx
  • Multiple Product to Cart
  • News
  • Online Business
  • Personal
  • PHP
  • Plugin
  • Product Variation
  • Programming
  • Quick Buy
  • Theme
  • Tips and Tricks
  • Uncategorized
  • Woo Product Table pro
  • WooCommerce
  • WooCommerce Filter
  • WooCommerce Product Table
  • WooCommerce Product Table Free
  • Wordpress
Trustpilot

Subscribe to our Newsletter

Resources

  • Support
  • Coupons
  • Blog & News
  • Write For Us
  • Video Tutorials
  • Affiliate Program

Company

  • Our Service
  • Get Quote
  • Refund Policy
  • Privacy Policy
  • Support Policy
  • Terms of Service

Powered By

© 2022, CodeAstrology. All Rights Reserved.
  • Privacy Policy
  • Terms of Service
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
Cookie SettingsAccept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT