Current Directory: /home/astoriaah/www/administrator/components/com_sh404sef/layouts/com_sh404sef/social
Viewing File: /home/astoriaah/www/administrator/components/com_sh404sef/layouts/com_sh404sef/social/ogp.php
<?php
/**
* sh404SEF - SEO extension for Joomla!
*
* @author Yannick Gaultier
* @copyright (c) Yannick Gaultier - Weeblr llc - 2022
* @package sh404SEF
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @version 4.24.1.4308
* @date 2022-05-31
*/
// Security check to ensure this file is being included by a parent file.
defined('_JEXEC') or die('');
?>
<!-- sh404SEF OGP tags -->
<meta property="og:locale" content="<?php echo $this->getAsAttr('locale'); ?>" >
<?php if ($this->hasDisplayData('page_title')) : ?>
<meta property="og:title" content="<?php echo $this->getAsAttr('page_title'); ?>" >
<?php endif; ?>
<?php if ($this->hasDisplayData('description')) : ?>
<meta property="og:description" content="<?php echo $this->getAsAttr('description'); ?>" >
<?php endif; ?>
<?php if ($this->hasDisplayData('type')) : ?>
<meta property="og:type" content="<?php echo $this->getAsAttr('type'); ?>" >
<?php endif; ?>
<meta property="og:url" content="<?php echo $this->getAsAttr('url'); ?>" >
<?php if ($this->hasDisplayData('image') && $this->hasDisplayData('image_width') && $this->hasDisplayData('image_height')) : ?>
<meta property="og:image" content="<?php echo $this->getAsAttr('image'); ?>" >
<?php endif; ?>
<?php if ($this->hasDisplayData('image_width')) : ?>
<meta property="og:image:width" content="<?php echo $this->getAsAttr('image_width'); ?>" >
<?php endif; ?>
<?php if ($this->hasDisplayData('image_height')) : ?>
<meta property="og:image:height" content="<?php echo $this->getAsAttr('image_height'); ?>" >
<?php endif; ?>
<?php if ($this->hasDisplayData('image_secure_url') && $this->hasDisplayData('image_width') && $this->hasDisplayData('image_height')) : ?>
<meta property="og:image:secure_url" content="<?php echo $this->getAsAttr('image_secure_url'); ?>" >
<?php endif; ?>
<?php if ($this->hasDisplayData('site_name')) : ?>
<meta property="og:site_name" content="<?php echo $this->getAsAttr('site_name'); ?>" >
<?php endif; ?>
<?php if ($this->hasDisplayData('fb_admins')) : ?>
<meta property="fb:admins" content="<?php echo $this->getAsAttr('fb_admins'); ?>" >
<?php endif; ?>
<?php if ($this->hasDisplayData('app_id')) : ?>
<meta property="fb:app_id" content="<?php echo $this->getAsAttr('app_id'); ?>" >
<?php endif; ?>
<!-- sh404SEF OGP tags - end -->