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

    Hi, is it possible to make the whole Title und Excerpt section of Portfolio Entries clickable?

    #1261564

    Hey,

    Please try adding following code to bottom of Functions.php file of your child theme in Appearance > Editor

    function add_excerpt_link_port_grid(){
    ?>
    <script>
    jQuery(".grid-content").click(function(){
            window.location = jQuery(this).find("a:first").attr("href");
            return false;
        });
    </script>
    <?php
    }
    add_action('wp_footer', 'add_excerpt_link_port_grid');

    Best regards,
    Yigit

    #1262982

    Thank you!

    #1262998

    Hi,

    You are welcome! :)

    For your information, you can take a look at Enfold documentation here – https://kriesi.at/documentation/enfold/

    If you have any other questions or issues, feel free to start a new thread under Enfold sub forum and we will gladly try to help you :)

    Enjoy the rest of your day!

    Best regards,
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Portfolio Title & Excerpt clickable?’ is closed to new replies.