• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

widgets locked

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › widgets locked

This topic is: not resolved

Tagged: widgets

  • This topic has 5 replies, 3 voices, and was last updated 9 years, 8 months ago by arretx.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • September 17, 2013 at 6:53 pm #63080
    bluedaisygraphics
    Member

    In agency theme I can't reorder the widgets.
    wanted the Home Slider to come before Home Welcome. i can't seem to move the widgets/reorder them

    http://64.31.38.66/~montserr/
    September 17, 2013 at 7:01 pm #63083
    Anita
    Keymaster

    You need to change that in the functions.php file or in your home.php file.


    Love coffee, chocolate and my Bella!

    September 17, 2013 at 7:05 pm #63085
    bluedaisygraphics
    Member

    so cut and paste one before the other?

    /** Register widget areas */
    genesis_register_sidebar( array(
    'id' => 'home-welcome',
    'name' => __( 'Home Welcome', 'agency' ),
    'description' => __( 'This is the welcome section of the homepage.', 'agency' ),
    ) );
    genesis_register_sidebar( array(
    'id' => 'home-slider',
    'name' => __( 'Home Slider', 'agency' ),
    'description' => __( 'This is the slider section of the homepage.', 'agency' ),
    ) );
    genesis_register_sidebar( array(
    'id' => 'home-left',
    'name' => __( 'Home Left', 'agency' ),
    'description' => __( 'This is the left section of the homepage.', 'agency' ),
    ) );
    genesis_register_sidebar( array(
    'id' => 'home-middle',
    'name' => __( 'Home Middle', 'agency' ),
    'description' => __( 'This is the middle section of the homepage.', 'agency' ),
    ) );
    genesis_register_sidebar( array(
    'id' => 'home-right',
    'name' => __( 'Home Right', 'agency' ),
    'description' => __( 'This is the right section of the homepage.', 'agency' ),
    ) );

    September 17, 2013 at 7:29 pm #63091
    Anita
    Keymaster

    That's how they are lined up in your dashboard under the widget section. Is this where you want to rearrange them or are you talking about on your home page?


    Love coffee, chocolate and my Bella!

    September 17, 2013 at 7:36 pm #63095
    bluedaisygraphics
    Member

    I want them to appear on the home page as
    home slider
    home welcome
    thanks for your help!

    January 15, 2014 at 1:46 pm #85383
    arretx
    Member

    I had to move the code around in the home.php file to re-position the widgets. The functions.php file seems to simply define the existence of widgets, but home.php calls the function and displays the widget.

    My question is how to make this happen in my custom functions so it's not overwritten the next time the theme is updated.

    This site shows the "welcome" widget above the "slider and top search" widgets.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble