• Resolved cfm168

    (@cfm168)


    Hello Sir,

    I currently have <meta name=”viewport” content=”width=device-width, initial-scale=1″ /> in header.

    How can I change it to <meta name=”description” content=”my content” /> ?

    I do not want to install meta plugin if there is a way to make change in admin.

    Please advise. Thanks in advance!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there,

    Thank you for getting in touch with us.

    To change meta tag without installing any plugin you need to modify header.php file. Please note that this is not the best method because you will lose all changes after next theme update. Those changes will have impact on all pages.

    Thank you for your time in this.

    Best regards

    And if I may add something, to me it looks like that @cfm168 has mixed up meta name=”viewport” and meta name=”description”. Let me explain.

    Viewport is nowadays necessary for a proper display of responsive websites. Here’s an useful link from W3Schools – https://www.w3schools.com/css/css_rwd_viewport.asp while meta description is optional and WordPress doesn’t support it “out of the box”. That can be easily fixed with some SEO plugin like Yoast. For @cfm168 convenience I’ve attached one useful link from Yoast’s blog – https://yoast.com/meta-descriptions/ There are of course other plugins that will do the same things.

    Hope this helps.

    Theme Author lyrathemes

    (@lyrathemes)

    Thanks @siniplyrathemes and @jarektheme 🙂 Appreciate your help here.

    @cfm168 Let us know if there are any questions I can help with.

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

The topic ‘Add meta description’ is closed to new replies.