Update meta property for URL link in header.php

This topic has 2 replies, 2 voices, and was last updated 8 years, 11 months ago ago by Brian Johnson

  • Avatar: katashworth
    katashworth
    Participant
    May 5, 2015 at 14:14

    Hello,

    I am using your Royal theme and I would like your advice on the best way to adjust meta property for when my URL is posted in social media platforms such as facebook. I would normally add the following code into the header.php file,

    <meta property=”og:image” link=”http://www.etc”/&gt;

    <meta property=”og:title” content=”This will be the title displayed!” /><meta property=”og:description” content=”This will be the description that shows below the title!” />

    however as this theme uses theme options framework, I want to know if it is advised to make changes by adding custom css code through theme options panel, or straight into the header.php file as normal?

    I look forward to your reply.

    Thank you

    Kat Ashworth

    1 Answer
    Avatar: Brian Johnson
    Brian Johnson
    Member
    May 5, 2015 at 14:36

    You may adjust it in header.php within your Child Theme and or use some 3-d party SEO plugin.

    With best regards
    Brian Johnson

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.