Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #1258373


    I have the magazine layout in my site and after reading the enfold documentation I copied the following code, as instructed to in the docs.

    // php – open Magazine link in new tab

    function mag_new_tab(){
    jQuery(‘.av-magazine-title a ‘).attr(‘target’,’_blank’);
    add_action(‘wp_footer’, ‘mag_new_tab’);

    I added this code to the functions.php in my child theme and yet after clearing the cache on my site and the browser, the posts are still NOT opening in a new window.

    Any suggestions?

    Thank You,



    Hey Joe,

    Could you please give us a link to your website, we need more context to be able to help you.

    Best regards,

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.