Hi
On another thread (https://kriesi.at/support/topic/subtitles-under-the-title/), you provided someone else help with displaying subtitles (WP Subtitle plugin) on posts using the_subtitle(); in includes/loop-index.php.
This works for single posts pages, and for default category archive page. But if I use the blog shortcode or when I switch the archive layout to blog grid, it doesn’t work anymore.
I managed to add the subtitle under the title (using avia-shortcodes/postslider.php around line 427) but there is some kind of loop that makes the subtitle the same for each entry in the list (as a variable which keeps only the last value).
Did someone already succeeded in this?
Thanks
(facepalm myself)
Nevermind, just made the trick.
Spent 2 hours trying, and of course I managed to do it 10 minutes after asking for help…)
For anyone interested, I had to use get_the_subtitle( $the_id, ‘<h4 class=”subtitle”>’, ‘</h4>’, false ); on avia-shortcodes/postslider.php line 301.
Hi,
Hehe, we all know that feeling :-) Glad you got it fixed and thanks for sharing the solution.
Regards,
Rikard
I guess this thread should be marked as resolved. thx