The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › Back End › Custom WordPress slider
Guys, I am creating a custom WordPress slider for my client, but am running into some issues. The client would like 7 slides (4 with just some quotes, no links) and 3 that link to content pages.
I am using
<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail();?></a>
to link to those pages, but need to only link to them if <?php the_excerpt(); ?> actually has content if that makes sense.
Any help is greatly appreciated. Thanks!