Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #777739

    Hi

    When I click to the portfolio grid entry title, it will access to the portfolio page in the same window, could I revise to open it in a new window?

    #777784

    Hey Enffie,

    Try adding the functions.php file

    function add_custom_port_target(){
    ?>
    <script>
    jQuery(window).load(function(){
    jQuery('h3.grid-entry-title.entry-title a').attr('target','_blank');
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'add_custom_port_target');

    Let me know if this works for you.

    Best regards,
    Jordan Shannon

    #778169

    Yes, It works fine. Thank you Jordan.

    #778260

    Hi!

    Happy we can help.
    Please feel free to let us know if there is anything else we can do for you.

    Cheers!
    Basilis

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘portfolio grid entry’ is closed to new replies.