"Back"

Template Source: frontend/alogg/default/template/page/html/head.phtml

<?php
/**
 * Magento
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE_AFL.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@magentocommerce.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Magento to newer
 * versions in the future. If you wish to customize Magento for your
 * needs please refer to http://www.magentocommerce.com for more information.
 *
 * @category    design
 * @package     base_default
 * @copyright   Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
 * @license     http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */
?>
<?php $site_config_title_siuffix 
Mage::getStoreConfig('design/head/title_suffix');?>
<meta http-equiv="Content-Type" content="<?php echo $this->getContentType() ?>" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><?php if(Mage::registry('current_category')){
 echo 
Mage::registry('current_category')->getMetaTitle().$site_config_title_siuffix;
}else {
 echo 
$this->getTitle();
 }
?></title>

<meta name="description" content="<?php echo htmlspecialchars(strip_tags($this->getDescription())) ?>" />
<meta name="keywords" content="<?php echo htmlspecialchars(strip_tags($this->getKeywords())) ?>" />
<meta name="robots" content="<?php echo htmlspecialchars($this->getRobots()) ?>" />
<link rel="icon" href="<?php echo $this->getFaviconFile(); ?>" type="image/x-icon" />
<link rel="shortcut icon" href="<?php echo $this->getFaviconFile(); ?>" type="image/x-icon" />
<!--[if lt IE 7]>
<script type="text/javascript">
//<![CDATA[
    var BLANK_URL = '<?php echo $this->helper('core/js')->getJsUrl('blank.html'?>';
    var BLANK_IMG = '<?php echo $this->helper('core/js')->getJsUrl('spacer.gif'?>';
//]]>
</script>
<![endif]-->
<?php /*
<link href='http://fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'/>


<?php $prefix_link = $this->getRequest()->isSecure() ? 'https' : 'http'; ?>
<link href='<?php //echo $prefix_link ?>://fonts.googleapis.com/css?family=Roboto+Slab:400,100,300,700' rel='stylesheet' type='text/css'>
*/
?>
<?php 
echo $this->getCssJsHtml() ?>
<link rel="stylesheet" type="text/css" href="<?php echo $this->getSkinUrl('css/responsive.css'); ?>" media="all" />
<?php echo $this->getChildHtml() ?>
<?php 
echo $this->helper('core/js')->getTranslatorScript() ?>
<?php 
echo $this->getIncludes() ?>
<?php $_product 
Mage::registry('current_product'); ?>
<?php 
if ($_product) : ?>
<?php $share_url 
urlencode("http://"$_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']);?>
<meta property="og:url" content="<?php echo urlencode("http://"$_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']);?>"/>
<meta property="og:description" content="<?php echo htmlspecialchars($this->helper('core/string')->truncate(strip_tags($_product->getShortDescription()),190))?>"/> 
<meta property="og:title" content="<?php echo htmlspecialchars($_product->getName())?>"/>
<meta property="og:image" content="<?php echo $this->helper('catalog/image')->init($_product'image')?>"/>
<meta name="twitter:card" content="summary_large_image"/>
<?php /*
<meta name="twitter:site" content="@nytimes">
<meta name="twitter:creator" content="@SarahMaslinNir">
*/
?>
<meta name="twitter:title" content="<?php echo htmlspecialchars($_product->getName())?>"/>
<meta name="twitter:description" content="<?php echo htmlspecialchars($this->helper('core/string')->truncate(strip_tags($_product->getShortDescription()),190))?>"/>
<meta name="twitter:image" content="<?php echo $this->helper('catalog/image')->init($_product'image')?>"/>
<!-- Facebook Pixel Code -->
<script>
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
document,'script','https://connect.facebook.net/en_US/fbevents.js');
 
fbq('init', '400993290247748'); // Insert your pixel ID here.
fbq('track', 'PageView');
</script>
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=400993290247748&ev=PageView&noscript=1"
/></noscript>
<!-- DO NOT MODIFY -->
<!-- End Facebook Pixel Code -->
 
<script>
jQuery(function() {
    var share_url = '<?php echo $share_url;?>';
    var share_image ='<?php echo $this->helper('catalog/image')->init($_product'image')?>';
    var share_description = '<?php echo htmlspecialchars($this->helper('core/string')->truncate($_product->getShortDescription(),190))?>';
    var share_title = '<?php echo htmlspecialchars($_product->getName())?>';
    var date = new Date();
    var ver_identifer = Math.random() * date.getTime();
    jQuery(".social-link.fb").attr("href", "javascript:window.open('https://www.facebook.com/sharer/sharer.php?u="+share_url+"&?v="+ver_identifer+"')");
    jQuery(".social-link.pinterest").attr("href", "https://www.pinterest.com/pin/create/button/?url="+share_url+"&media="+share_image+"&description="+share_description+"&title="+share_title+"");
});
</script>
<?php else:?>
<?php $share_url 
urlencode("http://"$_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']);?>
<meta property="og:url" content="<?php echo urlencode("http://"$_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']);?>"/>
<meta property="og:description" content="<?php echo htmlspecialchars(strip_tags($this->getDescription())) ?>"/> 
<meta property="og:title" content="<?php echo $this->getTitle() ?>"/>

<meta name="twitter:card" content="summary_large_image"/>
<?php /*
<meta name="twitter:site" content="@nytimes">
<meta name="twitter:creator" content="@SarahMaslinNir">
*/
?>
<meta name="twitter:title" content="<?php echo $this->getTitle() ?>"/>
<meta name="twitter:description" content="<?php echo htmlspecialchars(strip_tags($this->getDescription())) ?>"/>
<?php /*
<meta name="twitter:image" content="<?php echo $this->helper('catalog/image')->init($_product, 'image')?>"/>
*/
?>
<?php 
endif;?>
<script>
jQuery(function() {
    //console.log(jQuery("p.customMenu").parent(".mage-column"));
    jQuery("p.customMenu").parent(".mage-column").addClass("wallMenu");
    jQuery("p.customMenu-decor").parent(".mage-column").addClass("decorMenu");
});
</script>