Problem:
How to to create a clickable Div in a Template for the Loop?
Solution:
To put a hyperlink on the overall Div itself and not on the individual content inside the div, the syntax and html would be like below:
<a href="[wpv-post-url]"> <div class="doppelspalter_wrapper"> <h2 class="dp-zweiteueberschrift">[types field='zweiteueberschrift'][/types]</h2> <h2 class="dp_h2">[wpv-post-title]</h2> <!-- Hier wird das Artikelbild verlinked --> [wpv-post-featured-image size="custom" width="633" height="356" crop="true"] <p class="dp_p">[types field='beitragsaufmacher'][/types]</p> </div> </a>
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Our next available supporter will start replying to tickets in about 8.77 hours from now. Thank you for your understanding.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 12:00 – 17:00 | 12:00 – 17:00 | 12:00 – 17:00 | 12:00 – 17:00 | 12:00 – 17:00 | - |
- | 18:00 – 21:00 | 18:00 – 21:00 | 18:00 – 21:00 | 18:00 – 21:00 | 18:00 – 21:00 | - |
Supporter timezone: Asia/Karachi (GMT+05:00)
This topic contains 2 replies, has 2 voices.
Last updated by 7 years, 1 month ago.
Assisted by: Noman.