Tagged: custom link, masonry
Hi
My client ask that some of the post excerpt will go to an outsource link (in new tab)
Here is the page:
http://projects.fixrunner.com/mekimim/news/
I saw that by default the theme won’t show the html and will link only to the post it self
Can you please tell me how to change it?
Thanks
Sam
Hi sammilo4!
Add this to the bottom of your child theme functions.php file.
add_action( 'wp_footer', 'enfold_customization_footer_scripts' );
function enfold_customization_footer_scripts(){
?>
jQuery(document).ready(function(){
jQuery('.av-masonry-entry').attr('target', '_blank');
});
<?php
}
Best regards,
Elliott