• 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

drezac

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 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • February 15, 2014 at 3:46 pm in reply to: Adding ShortCode to the Homepage #90534
    drezac
    Member

    I added :

    function all_around_slider_home() {
    if (is_home()) {
    echo do_shortcode(‘[all_around id="1"]‘);
    }
    };
    /**
    * @author Brad Dalton – WP Sites
    * @learn more http://wp.me/p1lTu0-9p4
    */
    add_action(‘genesis_after_header’, ‘all_around_slider_home’);

    Still gets broken....

    February 15, 2014 at 2:59 pm in reply to: Adding ShortCode to the Homepage #90532
    drezac
    Member

    Thanks-

    It's the All Around WP Slider Carousel. It's fantastic, but hard to squeeze into this theme.

    http://www.shindiristudio.com/allaroundslider/?page_id=67

    I think you're spot on- the only problem I have, is that the theme I'm using has removed a lot of the Genesis hooks and added their own custom header stuff. You can see that code here: https://gist.github.com/drezac/f6915cb24202d04dc3a5

    This is what I was thinking:

    function all_around_slider_home() {
    if (is_home()) {
    echo do_shortcode('[all_around id="1"]');
    }
    };
    /**
    * @author Brad Dalton - WP Sites
    * @learn more http://wp.me/p1lTu0-9p4
    */
    add_action('I_dont_know_what_hook_to_put_here', 'all_around_slider_home');

    I feel like this is close....

    -Dan

    February 15, 2014 at 9:35 am in reply to: Adding ShortCode to the Homepage #90475
    drezac
    Member

    This is not a widget. This is on the main front page. I've looked around and seen some people actually place code in the functions.php to insert their sliders. I tried inserting it on the home.php, but I get an error.

    The instructions that came with the slider- were not Genesis friendly.

    Dan

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)

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