Created
April 26, 2013 17:54
-
-
Save ztay/5469087 to your computer and use it in GitHub Desktop.
Button code for localized 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
<!-- Footer.php The Header Variable With Localized Rules --> | |
<script> | |
<!-- If French --> | |
var pfHeaderImgUrl = 'http://www.tewealth.com/wp-content/uploads/logos/TE_Wealth_Logo_EN.jpg' | |
<!-- Else --> | |
var pfHeaderImgUrl = 'http://www.tewealth.com/wp-content/uploads/logos/TE_Wealth_Logo_FR.jpg' | |
</script> | |
<!--Footer.php PrintFriendly JavaScript Without Header Variable --> | |
<script>var pfHeaderTagline = '';var pfdisableClickToDel = 0;var pfHideImages = 0;var pfImageDisplayStyle = 'right';var pfDisablePDF = 0;var pfDisableEmail = 0;var pfDisablePrint = 0;var pfCustomCSS = '';var pfBtVersion='1';(function(){var js, pf;pf = document.createElement('script');pf.type = 'text/javascript';if('https:' == document.location.protocol){js='https://pf-cdn.printfriendly.com/ssl/main.js'}else{js='http://cdn.printfriendly.com/printfriendly.js'}pf.src=js;document.getElementsByTagName('head')[0].appendChild(pf)})();</script> | |
<!-- Single.php Add link where you would like the button to appear --> | |
<a href="#" class="printfriendly" onclick="window.print();return false;">BUTTON</a> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment