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

    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

    #553402

    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

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