Creating A Slider On Homepage of Focus Theme

Community Forums Forums Design Tips and Tricks Creating A Slider On Homepage of Focus Theme

This topic is: not resolved

This topic contains 3 replies, has 3 voices, and was last updated by  Davinder Singh Kainth 2 years, 1 month ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #285

    Post count: 4


    I love the layout of the Focus theme but I want to have a slider at the top of the homepage, after the header, but before the latest post feed.

    I envision the slider being half-width, with the primary sidebar on its right.

    Can anyone help me do this, or lead me to a resource that might help? I am pretty new to this stuff.



    Andrea Rennick
    Post count: 1433

    Add a widget area:

    Nick’s super clear explanation:

    Using a hook:

    **forum signature**
    If you need technical support for your theme please file a ticket.

    The forums are community based. Staff only monitors the forum for issues relating to the forum itself and to redirect users to where they need to go.



    Post count: 4

    Thank you! This is very very helpful


    Davinder Singh Kainth
    Post count: 1463

    Step 1 Add new widget area “homepage-feature” below header using following code in functions.php file.

    genesis_register_sidebar( array(
    'id' => 'homepage-feature',
    'name' => __( 'Homepage Feature', 'custom' ),
    'description' => __( 'This is Homepage feature section', 'custom' ),
    ) );
    /** Top Homepage feature section */
    add_action( 'genesis_after_header', 'news_homepage_feature', 9 );
    function news_homepage_feature() {
    if ( is_home() && is_active_sidebar( 'homepage-feature' ) ) {
    echo '';
    dynamic_sidebar( 'homepage-feature' );
    echo '';

    source –

    Step 2. Install Genesis responsive slider and drag the slider widget into “homepage-feature” widget area.

    Need website customization services or other Genesis / WordPress help ?
    Davinder @ Design Studio iGuiding Media | My Blog | Fresh Genesis Themes Collection

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

You must be logged in to reply to this topic.