• I added a block of content in my home after the header: span 9 and span3.
    I desire to put in those 2 divs the slider and a menu (or widget) side by side.

    What’s the best way to put the slider inside it?
    Action, filter, just a function? Right now they are both hooked after header.
    Any suggestion?

    Here link to the site (still work in progress).

Viewing 3 replies - 1 through 3 (of 3 total)
  • Snippet to move the Slider

    Thread Starter longabaugh

    (@longabaugh)

    Thanks rdell for the answer, but that a code to move the slider from a hook to another. In my site they are already in the right hook (_after_header), just the content block displaying first (set as priority in the add_action).

    The point is which coding strategy to follow, to put the slider inside the “div”.
    A function in the action I use to insert the block of content? A filter to modify the way the home slider is displayed? Creating an new hook (??) in the theme? Is it possible to tell customizr not to display any slider in home and then just insert another slider in the content? or do I have to work with the home slider?

    It will be very useful if someone can just point the customizr file and piece of code where the home slider behavior is set.

    Looking at the showcases I found something similar done in this site (just referring to the slider showing not in full 12 span and having a second menu at his side)

    You’ll find it in wp-content/themes/customizr/inc/parts/class-content-slider.php

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Slider inside content block below header’ is closed to new replies.