Executive Pro Theme : Using Slider Widget with Content on Home page?

Community Forums Forums Design Tips and Tricks Executive Pro Theme : Using Slider Widget with Content on Home page?

This topic is: not resolved

This topic contains 18 replies, has 2 voices, and was last updated by  nutsandbolts 8 months, 1 week ago.

Viewing 4 posts - 16 through 19 (of 19 total)
  • Author
    Posts
  • #79118

    nutsandbolts
    Moderator
    Post count: 3113

    Can you paste in the function you used to add the welcome text area? It probably just needs a different hook to make it show up in the right place.


    Andrea Whitmer, Owner, Nuts and Bolts Media
    I provide dev and training services for web designers • Find me on Twitter and Google+

    #79123

    hobbygirl66
    Participant
    Post count: 21

    I have another thought- How about using the “Home-Top” widget which is configured to fit 3 “featured pages” widgets with a neat little row across . Instead have it be one wider one and using a text widget for home page content?

    Am I describing correctly?

    Here is the function for “welcome text” widget

    /** Add the welcome text section */
    add_action( 'genesis_before_content_sidebar_wrap', 'custom_welcome_text' );
    function custom_welcome_text() {
    if ( is_front_page())
    genesis_widget_area( 'welcome-text', array(
    'before' => '',
    ) );
    }

    Lisa

    #79148

    hobbygirl66
    Participant
    Post count: 21

    sorry, also this code,

    /** Add the welcome text section */
    add_action( 'genesis_before_content_sidebar_wrap', 'custom_welcome_text' );
    function custom_welcome_text() {
    if ( is_front_page())
    genesis_widget_area( 'welcome-text', array(
    'before' => '',
    ) );
    }

    which I think might be the culprit- I think I need to add this to different spot than genesis_before_content_sidebar_wrap

    Lisa

    #79149

    nutsandbolts
    Moderator
    Post count: 3113

    Right. If you want it to display within the sidebar area, try this one and see if it works:

    /** Add the welcome text section */
    add_action( 'genesis_before_loop', 'custom_welcome_text' );
    function custom_welcome_text() {
    if ( is_front_page())
    genesis_widget_area( 'welcome-text', array(
    'before' => '',
    ) );
    }

    Andrea Whitmer, Owner, Nuts and Bolts Media
    I provide dev and training services for web designers • Find me on Twitter and Google+

Viewing 4 posts - 16 through 19 (of 19 total)

You must be logged in to reply to this topic.