WordPress.org

Ready to get started?Download WordPress

Forums

Header Image Slider
Hyperlink Header Images? (14 posts)

  1. thinsafetypin
    Member
    Posted 2 years ago #

    Is there a way to define a hyperlink for the header images?

    http://wordpress.org/extend/plugins/header-image-slider/

  2. shazdeh
    Member
    Plugin Author

    Posted 2 years ago #

    Currently no.
    But I'll think up about the UI and how to implement it and post it here as soon as I have an idea.

  3. thinsafetypin
    Member
    Posted 2 years ago #

    I'm not even necessarily saying from the plugin itself. I'd be fine with hard coding it in the header.php, I just don't know enough php to know what code to inject.

  4. shazdeh
    Member
    Plugin Author

    Posted 2 years ago #

    You can use jQuery:
    $('div.headerSlider').find('img:first').wrap('<a href="#">');
    or something like that.

  5. thinsafetypin
    Member
    Posted 2 years ago #

    I'll give it a whirl, thanks!

  6. thinsafetypin
    Member
    Posted 2 years ago #

    Where exactly would I plug this code in?

  7. shazdeh
    Member
    Plugin Author

    Posted 2 years ago #

    Are you using the auto insert method or using the boom_header_image() template tag?

  8. nathanwells
    Member
    Posted 2 years ago #

    If I am using the boom_header_image() tag, where should I put the code for adding a hyperlink to the images?

    Thanks,
    Nathan

  9. asbrown
    Member
    Posted 2 years ago #

  10. rkj1000
    Member
    Posted 2 years ago #

    Does this plug-in work with multisite? For me it gives undefined variable error!

  11. asbrown
    Member
    Posted 2 years ago #

    Yeah it should work, undefined variable is just a warning not an error. You can over-ride that with php error settings.

  12. rkj1000
    Member
    Posted 2 years ago #

    Where are php error settings and what code do I write to override it? This is my very first site in wordpress!

  13. asbrown
    Member
    Posted 2 years ago #

    Is the error your receiving on the page or is it javascript?

    Notice: Undefined variable:xxx.php on line 6

    or is it javascript error

  14. thinsafetypin
    Member
    Posted 2 years ago #

    I still haven't found a workable solution to hyperlinking my header images, either through shadzeh's method or asbrown's. I'm using a Thematic child theme that I had to hack a bit to make the header work on, so maybe that's my issue.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic