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, 4 months ago.

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



    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

    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.




    Thank you! This is very very helpful


    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.

    Coming Soon: Simple PRO Genesis Themes
    Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis Themes

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

You must be logged in to reply to this topic.