Tagged: enfold
When you click on the logo I’d like to have it be target=”_blank” – where is that code located and how do I modify it to have it open in a new link?
Hey Andrea!
Add this to the bottom of your functions.php file.
add_action( 'wp_footer', 'enfold_customization_logo_newtab' );
function enfold_customization_logo_newtab() {
?>
<script type = "text/javascript">
jQuery(document).ready(function(){
jQuery('.logo a').attr('target', '_blank');
});
</script>
<?php
}
Cheers!
Elliott