• 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

river-bum

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 - 1 through 8 (of 8 total)
  • Author
    Posts
  • September 9, 2014 at 10:37 am in reply to: Insert excerpt between post title and meta #123596
    river-bum
    Member

    Works like a charm, thanks Brad!

    September 9, 2014 at 8:53 am in reply to: Insert excerpt between post title and meta #123577
    river-bum
    Member

    Perfect, many thanks!

    September 9, 2014 at 8:29 am in reply to: Insert excerpt between post title and meta #123569
    river-bum
    Member

    Thanks, genwrock.

    That helped, but I want the excerpt to come before the entry content.

    I tried this, but the meta/info is not showing up:

    remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );
    add_action( 'genesis_entry_content', 'genesis_post_info', 12 );

    Here's what I'm using to insert the excerpt

    add_action( 'genesis_entry_header', 'excerpt_on_post', 33 ); 
    function excerpt_on_post() {
        if ( is_single() ) {
        echo '<div class="excerpt">';
    	
    	if ( has_excerpt() ) {
    		$my_excerpt = get_the_excerpt();
    		echo $my_excerpt;
    		echo $post->post_excerpt;
    		echo '</p></div>';
    		}

    Thanks again!

    April 18, 2014 at 9:24 am in reply to: Changing order of responsive elements #101170
    river-bum
    Member

    Thank you, worked like a charm!

    Sorry - forgot about the under construction deal.

    This is a great community, really appreciate the help.

    Greg

    April 10, 2014 at 10:10 am in reply to: Adding slider via function and hooks #99519
    river-bum
    Member

    It worked!

    Very grateful for the help. Thank you!

    April 10, 2014 at 8:31 am in reply to: Move page title, add custom field #99496
    river-bum
    Member

    Thanks! Sure took me a while and some frustration to figure it out. Really appreciate your help (and I've now subscribed to WP Sites).

    April 10, 2014 at 8:15 am in reply to: Move page title, add custom field #99490
    river-bum
    Member

    It works!

    April 10, 2014 at 7:54 am in reply to: Move page title, add custom field #99484
    river-bum
    Member

    Thank you! Did I mention I'm new to this?

    I realized I was approaching it a bit sideways, and figured out rather than trying to position it after the post title, which I was moving, I could also just put the custom field above the content, too.

    Does this code make sense?

    add_action( 'genesis_before', 'move_title' );
    function move_title () {
    	remove_action( 'genesis_entry_header', 'genesis_do_post_title' );
    	add_action( 'genesis_before_content', 'genesis_do_post_title', 0 );
    }
    
    add_action( 'genesis_before_content', 'custom_field_before_content', 15 );
    function custom_field_before_content() {
    	echo '<div class="after-title">'. genesis_get_custom_field('bench-location') .'</div>';
    }

    Thanks again. (By the way, yes, I have HTML5 enabled, but had a feeling I was doing something wrong by using an XHTML hook...)

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