• 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

Horizontal Scrolling Announcement under Header

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 › Design Tips and Tricks › Horizontal Scrolling Announcement under Header

This topic is: resolved

Tagged: going green, horizontal scrolling announcement, widget area

  • This topic has 14 replies, 2 voices, and was last updated 11 years, 9 months ago by Genesis Developer.
Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • August 15, 2014 at 8:00 am #119003
    kradke
    Member

    Can someone please tell me how I can get the plugin "Horizontal Scrolling Announcement" to run across the page under the header image and above the navigation on this website? http://www.krcreativetesting.com

    I may need a widget area under there somehow so I can place the short code.

    Any help would be greatly appreciated. thanks

    http://www.krcreativetesting.com
    August 15, 2014 at 8:18 am #119004
    Genesis Developer
    Member

    Please see this link


    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    August 15, 2014 at 8:25 am #119005
    Genesis Developer
    Member

    You need to reposition the Header nav bar. Add this code in your functions.php file

    remove_action( 'genesis_after_header', 'genesis_do_nav' );
    add_action( 'genesis_after_header', 'genesis_do_nav' , 45);

    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    August 15, 2014 at 8:35 am #119007
    Genesis Developer
    Member

    Please see the new link


    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    August 15, 2014 at 1:37 pm #119042
    kradke
    Member

    I added this into functions.php

    //* Register widget areas
    genesis_register_sidebar( array(
    'id' => 'after-header',
    'name' => __( 'After Header', 'genesis' ),
    'description' => __( 'This section will appear at bottom of the navigation bar.', 'genesis' ),
    ) );

    add_action('genesis_after_header', 'after_header_widget', 35);
    function after_header_widget(){
    genesis_widget_area( 'after-header', array(
    'before' => '<div class="after-header widget-area"><div class="wrap">',
    'after' => '</div></div>',
    ) );
    }
    - See more at: http://pwdtechnology.com/add-horizontal-scrolling-announcement-header-after-header-widget/#sthash.b1248LXO.dpuf

    Then when I update I get the following error:

    Parse error: syntax error, unexpected 'more' (T_STRING) in /home/krcreat1/public_html/krcreativetesting/wp-content/themes/going-green-pro/functions.php on line 134

    So I went back and deleted what I had added and updated and it gave the same error???

    August 15, 2014 at 1:42 pm #119046
    Genesis Developer
    Member

    Please use Theme Editor and add the following code

    
    //* Register widget areas
    genesis_register_sidebar( array(
    	'id'          => 'after-header',
    	'name'        => __( 'After Header', 'genesis' ),
    	'description' => __( 'This section will appear at bottom of the navigation bar.', 'genesis' ),
    ) );
    
    add_action('genesis_after_header', 'after_header_widget', 35);
    function after_header_widget(){
       genesis_widget_area( 'after-header', array(
    		'before' => '<div class="after-header widget-area"><div class="wrap">',
    		'after'  => '</div></div>',
    	) );
    }

    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    August 15, 2014 at 1:59 pm #119066
    Genesis Developer
    Member

    So I went back and deleted what I had added and updated and it gave the same error???

    Download the functions.php file and upload the full code at pastebin.com and share the pastebin link here. I'll look the code


    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    August 15, 2014 at 2:22 pm #119080
    kradke
    Member

    http://pastebin.com/SPLk8xsc

    August 15, 2014 at 2:28 pm #119083
    Genesis Developer
    Member

    See the new version http://pastebin.com/FrdpvXfF .You'll copy the code from RAW Paste Data area and update the full code of functions.php file and upload the file via FTP or file manger


    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    August 15, 2014 at 2:28 pm #119084
    kradke
    Member

    Here it is with the code that you told me to add:

    http://pastebin.com/uwgwt2tA

    It looks like line 134 is }

    August 15, 2014 at 2:36 pm #119089
    Genesis Developer
    Member

    You're doing something wrong. last two lines are missing in your version. Please check my version. There are have no any text like 'more'


    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    August 15, 2014 at 2:37 pm #119092
    kradke
    Member

    So I copied that and put in new functions.php file. I will upload it to my website via ftp. Is that correct?

    August 15, 2014 at 2:47 pm #119099
    Genesis Developer
    Member

    then remove the old functions.php file from your child theme folder. New file name would be functions.php


    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    August 15, 2014 at 2:58 pm #119105
    kradke
    Member

    Phew! I got it back now. I think this will work for the slider. I see the widget area now also. I will mark it resolved once I get that rolling. Thank you so much for your help.

    August 15, 2014 at 3:06 pm #119108
    Genesis Developer
    Member

    Yes. you can use Genesis Responsive Slider there. Also you can add unlimited widget at that area.


    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

  • Author
    Posts
Viewing 15 posts - 1 through 15 (of 15 total)
  • The forum ‘Design Tips and Tricks’ 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

© 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