jean-philippe-m
1/7/2017 - 3:07 PM

https://www.facebook.com/groups/genesiswp/permalink/1367127110005149/

<?php
//* Do NOT include the opening php tag

//* Add JS to allow elements to be faux anchors
//* Force links to be opened in a new tab
add_action( 'wp_footer', 'bg_script_clickable' );
function bg_script_clickable() {

	echo '<script type="text/javascript">
		jQuery(document).ready(function($) {
			$(".content .entry").click(function() {
				window.open($(this).find(".entry-title a").attr("href"), "_blank");
			});
		});
	</script>';

}