• 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

SociallyExceptional

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
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 8 posts - 61 through 68 (of 68 total)
← 1 2 3 4
  • Author
    Posts
  • May 28, 2013 at 9:16 pm in reply to: Can I Move the Home Page (main URL) like Demo to a different page? #43012
    SociallyExceptional
    Participant

    Oh, I also just realized - I removed the home.php when I renamed and inserted the welcome.php, so technically right now there is no home, or are you referring to a function inside the newly renamed welcome.php

    May 28, 2013 at 9:12 pm in reply to: Can I Move the Home Page (main URL) like Demo to a different page? #43011
    SociallyExceptional
    Participant

    Yes, I'd like to use the same classes, just to make it easier. Unless I shouldn't?

    May 26, 2013 at 12:08 pm in reply to: Can I Move the Home Page (main URL) like Demo to a different page? #42698
    SociallyExceptional
    Participant

    Ok, here are the 2 codes again below:

    https://gist.github.com/anonymous/c629ba0484caf050fb8a

    May 23, 2013 at 10:11 pm in reply to: Can I Move the Home Page (main URL) like Demo to a different page? #42407
    SociallyExceptional
    Participant

    Ok great! I think I must be missing something still?

    I went in and renamed the copy welcome.php and loaded it up and removed the home.php

    <?php

    add_action( 'genesis_meta', 'executive_welcome_genesis_meta' );
    /**
    * Add widget support for homepage. If no widgets active, display the default loop.
    *
    */
    function executive_welcome_genesis_meta() {

    if ( is_active_sidebar( 'welcome-slider' ) || is_active_sidebar( 'welcome-top' ) || is_active_sidebar( 'welcome-cta' ) || is_active_sidebar( 'welcome-middle' ) ) {

    remove_action( 'genesis_loop', 'genesis_do_loop' );
    add_action( 'genesis_loop', 'executive_welcome_sections' );
    add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );
    add_filter( 'body_class', 'executive_body_class' );
    add_action( 'genesis_after', 'executive_slider_excerpt_position' );

    /** Add body class to welcome page **/
    function executive_body_class( $classes ) {
    $classes[] = 'executive-welcome';
    return $classes;
    }

    /** Moves the slider pager if the sidebars are active and the screen is wide enough */
    function executive_slider_excerpt_position() {
    ?>
    <script type="text/javascript">
    jQuery(document).ready(function() {
    if (jQuery(".slide-excerpt").length > 0) {
    jQuery(".flex-control-nav").addClass("nav-pos-excerpt");
    }
    });
    </script>
    <?php
    }
    }
    }

     

    function executive_welcome_sections() {

    if ( is_active_sidebar( 'welcome-slider' ) || is_active_sidebar( 'welcome-top' ) || is_active_sidebar( 'welcome-cta' ) || is_active_sidebar( 'welcome-middle' ) ) {

    genesis_widget_area( 'welcome-slider', array(
    'before' => '<div class="welcome-slider widget-area">',
    ) );

    genesis_widget_area( 'welcome-top', array(
    'before' => '<div class="welcome-top widget-area">',
    ) );

    genesis_widget_area( 'welcome-cta', array(
    'before' => '<div class="welcome-cta widget-area">',
    ) );

    genesis_widget_area( 'welcome-middle', array(
    'before' => '<div class="welcome-middle widget-area">',
    ) );

    }

    }

    genesis();

    Then I went into the functions.php file and placed the page id within the widgets code.  Currently I don't have the Welcome page showing up with the changes. Thinking I didn't have the proper id within the widgets, I used "welcome" in the id area, but that didn't work either. Here is the code that is currently inside the widgets on the functions.php:

    /** Register widget areas **/
    genesis_register_sidebar( array(
    'id' => '004-slider',
    'name' => __( 'Welcome - Slider', 'executive' ),
    'description' => __( 'This is the slider section on the home page.', 'executive' ),
    ) );
    genesis_register_sidebar( array(
    'id' => '004-top',
    'name' => __( 'Welcome - Top', 'executive' ),
    'description' => __( 'This is the top section of the home page.', 'executive' ),
    ) );
    genesis_register_sidebar( array(
    'id' => '004-cta',
    'name' => __( 'Welcome - Call To Action', 'executive' ),
    'description' => __( 'This is the call to action section on the home page.', 'executive' ),
    ) );
    genesis_register_sidebar( array(
    'id' => '004-middle',
    'name' => __( 'Welcome - Middle', 'executive' ),
    'description' => __( 'This is the middle section of the home page.', 'executive' ),
    ) );

    May 21, 2013 at 4:53 pm in reply to: Can I add the responsive slider to a different page other than the home page? #42096
    SociallyExceptional
    Participant

    Great. Thank you!

    Now of course I should've thought about this before I asked the original question, but am I going to have to do something similar (or can I do it) and basically everything that is on the home page currently http://deanamurphyglobal.com/, is what we need to see on the   http://deanamurphyglobal.com/welcome/ page.  We don't have the "home - top", "home-middle", "home - call to action" in yet, but that's what also will need to show up on the /welcome page.

    May 20, 2013 at 1:36 pm in reply to: Can I add the responsive slider to a different page other than the home page? #41875
    SociallyExceptional
    Participant

    Ok great. I've got that in the bottom of the functions.php for the child theme. I also have the Simple Hooks plugin installed - do I need to do anything with that for the genesis_before_loop area?

    The one thing I am not clear on, is how I move/designate the "Home-Slider" to work for the page http://deanamurphyglobal.com/welcome/ instead?

     

    May 17, 2013 at 1:56 pm in reply to: Can I add the responsive slider to a different page other than the home page? #41426
    SociallyExceptional
    Participant

    Ideally, i need it to go here: http://deanamurphyglobal.com/welcome/ instead.

    Now the hook location, Im not too sure about that

    May 16, 2013 at 1:33 pm in reply to: Removing Page Titles | Pretty Pictures Theme #41247
    SociallyExceptional
    Participant

    The Toggle pluggin works great if you check on each page that you don't want the title to show. Then the blog titles will still show. If you click the box inside the Genesis theme options to remove every header by default then it takes out the blog titles too

  • Author
    Posts
Viewing 8 posts - 61 through 68 (of 68 total)
← 1 2 3 4
« Previous Page

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 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