Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #3324

    Is there anyway I can have slides not link to a post? I just want the content from the post in the slide, not a link back to it.



    You can edit the code to remove the permalink to the post. Open up index.php and around line 47 you’ll find this code:

    echo'<a href="'.get_permalink().'" class="read-more">Read more</a><a href="#" class="show-next">Next »</a>'."n";

    change it to:

    echo'<a href="#" class="show-next">Next »</a>'."n";

    to show just the next button (triggers slide on click) or remove the line entirely to remove both the permalink and the next button.



    Thanks, on my way to try it now.


    hmm I tried removing the line as suggested but it doesn’t seem to be having an effect. Go to this page here: . The first slide does not link to the post. The second and third do though.


Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Disable slider links’ is closed to new replies.