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 1 year, 11 months ago.

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

    amandac
    Participant
    Post count: 4

    Hi,

    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.

    Amanda

    #288

    Andrea Rennick
    Keymaster
    Post count: 1317

    Add a widget area:

    http://www.studiopress.com/tutorials/register-widget-area

    http://codex.wordpress.org/Widgetizing_Themes

    Nick’s super clear explanation: http://nickc.co/sidebar

    Using a hook:
    http://www.briangardner.com/home-widget-area-eleven40/


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

    Twitterholic

    #306

    amandac
    Participant
    Post count: 4

    Thank you! This is very very helpful

    #1073

    Davinder Singh Kainth
    Participant
    Post count: 1298

    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 – http://www.basicwp.com/add-new-widget-genesis-homepage/

    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.