• 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

Getting shortcode and/or a plugin to work in Menu Bar

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 › Getting shortcode and/or a plugin to work in Menu Bar

This topic is: not resolved

Tagged: Shortcode/Plugin in Nav/Menu Bar

  • This topic has 3 replies, 2 voices, and was last updated 12 years, 11 months ago by SoZo.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • January 28, 2013 at 3:13 pm #15709
    EfremJ
    Member

    Hi,

    We're using the Serenity theme and would like to add the "Search By Category" (http://wordpress.org/extend/plugins/search-by-category/) plugin to our top nav/menu bar but it's confounding the heck out of me as to how to do it.

    I was directed to this tutorial: http://www.billerickson.net/genesis-wordpress-nav-menu-content/ but honestly, it's still eluding me.

    Any help would be appreciated.

    Regards,

    -Efrem

    January 28, 2013 at 4:50 pm #15759
    SoZo
    Member

    What did you try?


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

    February 5, 2013 at 1:20 pm #18277
    EfremJ
    Member

    Hi, SoZo.

    I spent about three days trying to get a custom search form to work in the nav bar but with no success.

    I created filters (add_filter) in the functions.php that called the search function. That didn't work.

    I embedded the search code in the functions.php. That didn't work.

    I could get the search working above the header but not inside of the nav bar where we wanted it.

    I had to move on to other tasks but am coming back around to this now and am at the point where we're looking to hire somebody to do this for our company. I'd prefer to have the folks at Studio Press get the job--it should be an easy thing for you--but am seriously out of time and options to try.

    -Efrem

    Efrem R. Jasso
    Director of Electronic Initiatives
    Plan Z by Zola & Sparque, Inc.
    800-255-9853 ext. 301
    [email protected]

    February 5, 2013 at 1:23 pm #18279
    SoZo
    Member

    The metro theme adds a sidebar to the subnav with this

    // Adds widget area before the .menu on #subnav
    add_filter( 'genesis_do_subnav', 'child_do_subnav_widget', 10, 2 );
    function child_do_subnav_widget( $subnav_output, $subnav ){
    	ob_start();
    	genesis_widget_area( 'subnav-left', array(
    		'before' => '<div class="subnav-left widget-area">',
    	) );
    	$widget_area = ob_get_clean();
    
    	return str_replace( $subnav, $widget_area . $subnav, $subnav_output );
    }

    You should be able to figure it out from there but if you want me to do it you can email me john[at]sozosdesign.com.


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 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