Skip to main content
Topic: Open Graph protocol (Read 1052 times) previous topic - next topic

Open Graph protocol

Hi

how to place Open Graph property on each front end pages

<meta property="og:title" content="The Rock" />
<meta property="og:type" content="video.movie" />
<meta property="og:url" content="http://www.imdb.com/title/tt0117500/" />
<meta property="og:image" content="http://ia.media-imdb.com/images/rock.jpg" />

Re: Open Graph protocol

Reply #1
@arun please add your content(Open Graph property) to appheader.php and make sure to exempt it from files that will be generated by PHPRad.

Re: Open Graph protocol

Reply #2
please give one example

 

Re: Open Graph protocol

Reply #3
@arun‍ after checking it, the previously stated method was wrong for adding metadata. Add the metadata to the main_layout.php like in the image below, as for About Us | Help And FAQ | Contact Us | Privacy Policy | Terms And Conditions you will have to add them manually to the pages.