Return to Support

put another slider instead header

Home Forums Graphene WordPress theme Support put another slider instead header

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1973
    reza3d
    Member

    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

    #22100
    Luko
    Member

    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.

    #22101
    reza3d
    Member

    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.

    #22102
    Josh
    Member

    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.

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

    I would recommend Meteor Slides

    #22104
    Luko
    Member

    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?

    #22105
    Josh
    Member

    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).

    #22106
    Syahir Hakim
    Keymaster

    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.

    #22107
    DSaz
    Member

    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.