Dear Customers! We're out of the office from the 6th of October to the 11th of October. We sincerely apologize for the inconvenience. For WordPress 5.5.* related issues, please visit this article

Okay
  Public Ticket #1319960
How to insert META tags
Closed

Comments

  •  4
    Daniel started the conversation

    Hi Joanna and Filip,

    Well, my website is finally finished and live. I'm pretty proud of it and very happy how it turned out. Thank you both for all the awesome support you gave me during the past year. Greatly appreciated. 

    One question: how do I insert my own META tags for my site? I could swear I saw a box for META tags somewhere in my theme settings but I can't find it now. I know I can easily edit the header.php file, but that would get overwritten with every North update. 

    Thanks guys!

    Daniel 

  •  4
    Daniel replied

    Just FYI, I'm doing this mainly to create a post in FB announcing my website is redesigned and have a specific image and text show up in that post. But FB seems to be pulling the first <img src> tag it sees and grabbing that photo instead, which I don't want showing. It's also pulling the text from the first <p> tag it sees instead of what I specified in the META tags I inserted into the header. This is really driving me nuts. 

  •  4
    Daniel replied
    Here are the META tags I inserted into at the top of the header.php file:
        <meta property="og:title" content="NeptuneMedia - Web Development, User Interface, Programming and Print Design">
        <meta property="og:description" content="NeptuneMedia is the Web Development and Visual & Print Design studio of Daniel Whittaker, specializing in Innovative Online User experience and Unique Print Design">
        <meta property="og:image" content="http://www.neptunemedia.net/wp-content/uploads/2017/05/sea-wave-cresting-light.jpg">
        <meta property="og:url" content="http://www.neptunemedia.net">
        <meta property="og:type" content="website">
  •  255
    Joanna replied

    Hi Daniel,

    Great! We're very happy that your site is going live

    There isn't a meta tag options in the theme I'm afraid, most themes do not have that option built in.

    You would need to use a specialist SEO plugin such as Yoast to change the meta info. In the Yoast plugin you can also specify the image you want Facebook to grab (Facebook typically grabs the first image found on the page that is added in via the <img>.)

    https://wordpress.org/plugins/wordpress-seo/


    Kind regards,
    Joanna
    Veented Support

    Find a helpful article for your theme here: https://veented.ticksy.com/articles/#article-categories

    Check out our latest article: How to Improve Page Loading Times

    Don't forget to hit the like button below if you are happy with your support answer :)

  •  4
    Daniel replied

    Yeah I figured I'd have to use a plugin. 

    But do you have any clue why FB would not recognize META tags I inserted into the header? 

  •  255
    Joanna replied

    Hi Daniel,

    I'm not sure about Facebook, they change they way they grab the page info quite often :/


    Kind regards,
    Joanna
    Veented Support

    Find a helpful article for your theme here: https://veented.ticksy.com/articles/#article-categories

    Check out our latest article: How to Improve Page Loading Times

    Don't forget to hit the like button below if you are happy with your support answer :)