WordPress.org

Ready to get started?Download WordPress

Forums

Header Image Slider
Choice of Header images in Slider (3 posts)

  1. nathanwells
    Member
    Posted 2 years ago #

    Is there any way to manually choose which images are shown in the header via code?

    I run a multilingual site (http://www.sbbic.org) and I want to be able to choose which header images show up in the slider based on a return of php code (it is code that detects which language the page is showing in). Is there a way to manually select which images show in the slider using jQuery or something when I call boom_header_image() ?

    So basically (in English):
    If language = English
    then show these two images in the slider
    else if language = Khmer
    then show these three images in the slider
    end if

    Thanks!
    Right now I am using vSlider, but it doesn't dynamically change size in the Twenty-Eleven theme like your slider can with the hack by Philip Gooch http://wordpress.org/support/topic/plugin-header-image-slider-dynamic-and-floating-page-widths-not-supported?replies=11

    Thanks,
    Nathan

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

  2. shazdeh
    Member
    Plugin Author

    Posted 2 years ago #

    With the new version you can! It has lots of action hooks and filters to change it's behavior. I'm really sorry, I've promised it for a week ago, but still haven't found the time. This weekend maybe...

  3. nathanwells
    Member
    Posted 2 years ago #

    Great - I will look forward to the newest release. Thanks for all your effort.

    -Nathan

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic