• Home
  • Blog
  • Showcase
  • Setup Docs
    • Sunshine Help
    • Flex Help
  • Support
    • Support Area
    • Contact us
    • Feedback
  • Connect
    • Newsletter
    • Twitter
    • Facebook
  • My Account
  • Flex
  • Sunshine
Support : Simple Pro Themes

Support : Simple Pro Themes

[Resolved] Clickable Slider Images

If you have purchased a product, please enter the email address that you used to register at time of purchase.
Log In
Lost Password

Create an Account
  • Your username must be unique, and cannot be changed later.
  • We use your email address to email you a secure password and verify your account.

Support › Forums › Flex Theme › Clickable Slider Images

Tagged: links, slider

  • This topic has 4 replies, 2 voices, and was last updated 4 years, 3 months ago by ninjawolf.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • October 7, 2016 at 2:33 pm #1358
    ninjawolf
    Participant

    I’m trying to figure out how to make the slider images clickable without having a button or text on it.

    October 7, 2016 at 3:32 pm #1359
    Chinmoy Paul
    Moderator

    Open the lib/widgets/flex-slider-widget.php file and go to line no 120. You will get this code

    echo '<li>' . "\n" . $img;

    Replace the above code with

    echo '<li>' . "\n" . '<a href="' . get_permalink() . '" rel="permalink">' . $img . '</a>' . "\n";

    October 7, 2016 at 3:47 pm #1360
    ninjawolf
    Participant

    Thank you so much Chinmoy! That worked like a charm! 🙂

    October 7, 2016 at 8:49 pm #1366
    ninjawolf
    Participant

    *deleted for broken code*

    • This reply was modified 4 years, 3 months ago by ninjawolf.
    October 7, 2016 at 8:51 pm #1367
    ninjawolf
    Participant

    Actually, with that adjustment, clicking the slider image takes you to the slider image page, not the link for “Read More”… solved that by changing get_permalink() to $readmoreLink.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

Copyright © 2021 · Simple PRO Themes for Genesis Framework · About · FAQs · Contact · Affiliates