Hi!
I’d like to make the slider fixed on the front page, meaning that when you click on it, nothing happens. At the moment, if you click on it, you are taken to the post where the slider is attached (sticky post). is it possible to achieve that somehow?
My front page is static, so I would like the slider not to lead anywhere (the post which I made so a slidere is possible at all is a dummy post, since I only want to have pages and not posts on my site).
Thanks!
Open the slider.php file and replace this code:
<?php if( has_post_thumbnail() ) : ?>
<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>">
<?php the_post_thumbnail( 'slider-thumb' ); ?>
</a>
<?php endif; ?>
<h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
with this:
<?php if( has_post_thumbnail() ) : ?>
<?php the_post_thumbnail( 'slider-thumb' ); ?>
<?php endif; ?>
<h2 class="entry-title"><?php the_title(); ?></h2>