-
AuthorPosts
-
February 17, 2015 at 7:25 pm #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 10 years, 8 months ago by
bertel.
February 18, 2015 at 6:23 am #397959Hi 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!
RikardFebruary 18, 2015 at 7:18 am #397965Hi 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.
February 18, 2015 at 4:01 pm #398211Hi Bertel!
Do you mind creating a temporary admin login and posting it here privately please so that i can take a deeper look? :)
Cheers!
YigitFebruary 19, 2015 at 7:32 am #398680This reply has been marked as private.February 19, 2015 at 11:19 am #398773Hi!
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,
YigitFebruary 20, 2015 at 8:21 am #399484Works – brilliant
Thanks
February 20, 2015 at 11:16 am #399540Hey!
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 -
This topic was modified 10 years, 8 months ago by
-
AuthorPosts
- The topic ‘Portfolio textfield with link?’ is closed to new replies.
