Created
May 21, 2019 07:20
-
-
Save BulatSa/65d5bdab066b3127145f643ee6e52f76 to your computer and use it in GitHub Desktop.
Open Graph for Bitrix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<head> | |
<!-- og --> | |
<meta property="og:title" content="<?$APPLICATION->ShowTitle()?>"> | |
<meta property="og:description" content='<?=$APPLICATION->ShowProperty("description");?>'/> | |
<meta property="og:type" content="website" /> | |
<meta property="og:image" content='<?=$APPLICATION->ShowProperty("ogimage","https://".$_SERVER['HTTP_HOST'].SITE_TEMPLATE_PATH."/img/og-new.jpg");?>' /> | |
<!-- og --> | |
</head> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment