Created
June 20, 2013 00:59
-
-
Save agusmu/5819481 to your computer and use it in GitHub Desktop.
PrimaShop - Adding Additional Button On Call To Action Area
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
<?php | |
/** | |
* The template for displaying header call to action. | |
* | |
* WARNING: This file is part of the PrimaShop parent theme. | |
* Please do all modifications in the form of a child theme. | |
* | |
* @category PrimaShop | |
* @package Templates | |
* @author PrimaThemes | |
* @link http://www.primathemes.com | |
*/ | |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly | |
?> | |
<header id="header-action" class="group"> | |
<div class="margin group"> | |
<?php echo do_shortcode( shortcode_unautop( wpautop( prima_get_setting( 'calltoaction_text' ) ) ) ); ?> | |
<a class="header-action-button header-action-button-2" href="https://www.facebook.com/pages/Primathemes/225072067634020"> | |
Like Our Facebook! | |
</a> | |
<a class="header-action-button" href="<?php prima_setting( 'calltoaction_url' ); ?>"> | |
<?php prima_setting( 'calltoaction_button' ); ?> | |
</a> | |
</div> | |
</header> |
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
#header-action a.header-action-button-2, #header-action a.header-action-button-2:visited { | |
background: #B1E0EE; | |
color: #000000; | |
margin-left: 20px; | |
} | |
#header-action a.header-action-button-2:hover { | |
background: #2BA6CB; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tutorial: http://www.primathemes.com/documentation/adding-additional-button-on-call-to-action-area/