Call to action button (Slider)
-
Hey,
I am building a website at the moment using a child-theme based off the latest version of Appointment.
By default the Post slider does not have a call to action button, but I have edited the index-slider.php to include
<div class="blog-btn-area-sm"><a href="http://localhost/wordpress/?p=<?php echo 2; ?>" class="blog-btn-sm" class="blog-btn-sm"><?php _e('Read More'); ?></a></div>Which I took from the demo-slider and inserted it just below line 84 of the original code (the echo 2 is just for testing).
Is there an easier way to implement this button and have it link to the appropriate post.
Thank you in advance.
The topic ‘Call to action button (Slider)’ is closed to new replies.
