put another slider instead header

  • reza3d

    #1973

    Hi

    Could I have another slider(a second slider) instead of header and use it in all pages of site?

    Maybe using a plug-in which creates slider and putting it in in location of header

    Thank for your efforts and your support

    Anonymous

    #22100

    Install some plugin that displays post slider in widget, like this:

    http://wordpress.org/extend/plugins/igit-posts-slider-widget/

    With action hooks attach widget, style it with css.

    reza3d

    #22101

    dear Luko

    Thank you for your solution

    I think I didn’t clarify my question well. Here is what I need:

    I want to use a “picture slider” instead of Theme’s “Header”, on top of all pages, .

    in other meaning, I want to replace “Header” with a “picture slider”. the “picture slider” is the same for all pages of website.

    Any help or suggestion is greatly appreciated.

    Anonymous

    #22102

    Luko explained it correctly. I think he meant to say the header, rather than a widget.

    1. You need to “hide” the original header image. Something like this in your custom css:

    #header { display: none; }

    2. Then, you need to download an image slider plugin. There are MANY!

    3. You need to create an action hook, and insert a php widget (another plugin download), so that you may include the shortcode provided by the image slider.

    It sounds like a lot of work… but it’s not as bad as it seems.

    Admin

    Syahir Hakim

    #22103
    Quote:
    2. Then, you need to download an image slider plugin. There are MANY!

    I would recommend Meteor Slides

    Anonymous

    #22104

    That’s right Josh, I mean header…

    But, correct me if I’m wrong, if you attach action hook to header.php, and then hide it with css, will the action hook widget be visible?

    Anonymous

    #22105

    As far as I know, it will be visible. The css above only “hides” the header div. When you insert an action hook, you get a new widget, with a new id. Since we are only hiding the <div id="header">, our new widget area should be unaffected (because it uses a unique id).

    Admin

    Syahir Hakim

    #22106

    Or you don’t actually have to hide the header div, but just use absolute positioning to position the slider exactly on top of the header image, and give it a default solid background so that the header image will never be visible.

    Or just override the header image CSS so that it has no background at all.

    DSaz

    #22107

    Hello All

    I have the same issue. I’m thinking of creating a more attractive header with some action.

    Your answers here stand as a reason for further investigation to the direction of getting a final solution after all.

    Well Josh

    You need to create an action hook, and insert a php widget (another plugin download), so that you may include the shortcode provided by the image slider.

    Could please thtough some light on the “create action hook” step and then “insert a php widget”? I found several php widgets but could you just refer the mid-steps or if any coding needed?

    Thanks

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

  • You must be logged in to reply to this topic.