WordPress.org

Forums

WP Slick Slider
[resolved] Way to add links? (3 posts)

  1. allitastic
    Member
    Posted 3 years ago #

    Is there a way to link each slide? I'd like to use this plugin for rotating ad spaces on a website, but each ad needs to link to a different page. Thanks!

  2. psperkins
    Member
    Posted 3 years ago #

    Using custom fields in your template, this is easily possible since the slider posts all use custom fields.

    Not sure what your coding abilities are but if you edit your own templates you can probably figure out how to use get_post_meta(); in your template file to make an anchor tag appear around each slide.

    http://codex.wordpress.org/Function_Reference/get_post_meta

  3. Ben Casey
    Member
    Plugin Author

    Posted 3 years ago #

    or:

    in the post content put the link around the image being the full width and height
    <a href="http://your_url_here.com"><img src="/path/to/image.jpg" alt="" title="" /></a>
    and as you are using the content not featured image, select full width text as the slider type.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Slick Slider
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic