Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #397733

    Hi

    I got help to create a link from the text field beneath the portfolio-thumb in this thread: https://kriesi.at/support/topic/portfolio-text-field-link-possible/

    This has presented me with a new challenge. The links all go to “/undefined” As you can try in this site, that I am building now: http://noerbygaardcentret.a14.dk

    My question is – How do I ensure that the link is the same as in the corresponding portfolio-thumb?

    • This topic was modified 9 years, 9 months ago by bertel.
    #397959

    Hi bertel!

    Do you mean the row of 4 starting with Alkoholbehandling? As far as I can see, the all lead to /?page_id=xx ?

    Cheers!
    Rikard

    #397965

    Hi Rikard

    Yes, the image does lead to the right corresponding page. But the word, which is also a link leeds nowhere. (I believe its the “entry-content-header”)

    Your colleague Yigit helped me code the entry-header to be links as well in the forum link i provided, but I think am not quite there yet.

    #398211

    Hi Bertel!

    Do you mind creating a temporary admin login and posting it here privately please so that i can take a deeper look? :)

    Cheers!
    Yigit

    #398680
    This reply has been marked as private.
    #398773

    Hi!

    I changed the code to following one

    function add_custom_div(){
    ?>
    <script>
    jQuery(".grid-entry article").click(function(){
        if(jQuery(this).find("a").length){
            window.location.href = jQuery(this).find("a:first").attr("href");
        }
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'add_custom_div');

    Please review your website now : )
    Best regards,
    Yigit

    #399484

    Works – brilliant

    Thanks

    #399540

    Hey!

    You are welcome, glad we could help :)
    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)

    Best regards,
    Yigit

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Portfolio textfield with link?’ is closed to new replies.