Hi,
The page can not open an entry on a new page in the portfolio grid setting. It worked normally until I update the latest version of the theme, can you tell me why?
Thanks
Enffie
Hey Enffie,
Thank you for using Enfold.
Where can we see the issue? Is it opening a lightbox? Please try to disable the File Compression options in the Enfold > Performance panel.
Best regards,
Ismael
Hi,
When I active the setting of “open an entry on a new page” in the portfolio grid element, it still loads the new page in the same window, what I need is to open an entry on a new page.
Enffie
Hi trianglehomeware_,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Best regards,
Victoria
Hi,
Please also provide the website url otherwise we don’t know where we can log in.
Best regards,
Dude
Hi!
I added this code to the child theme functions.php file to open the portfolio item links in a new tab/window:
function avia_cutom_head_javascript() {
?>
<script type="text/javascript">
jQuery(document).on('click', '.grid-entry a.grid-image', function(e){
e.preventDefault();
var url = jQuery(this).attr('href');
window.open(url, '_blank');
});
</script>
<?php
}
add_action('wp_head', 'avia_cutom_head_javascript');
Cheers!
Peter