• 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

Show Custom Fields after the jump

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 › Show Custom Fields after the jump

This topic is: not resolved

Tagged: after, custom, field, jump

  • This topic has 7 replies, 2 voices, and was last updated 12 years, 3 months ago by Brad Dalton.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • July 20, 2014 at 8:15 am #115029
    Marylucs
    Member

    Hello there,

    I need your help. I want to show my custom field on the single-post page. Right now it shows on my start-page but i dont want it there. See it here: http://www.modernwall.de/
    The Word "Fotograf" is my custom field. I am using this code in my functions.php right now:

    add_filter('genesis_after_entry', 'after_entry_filter'); 
    function after_entry_filter() { 
    echo '<strong>Fotograf:</strong>&nbsp;' . genesis_get_custom_field('fotograf'); }

    And my next problem.. When you open the full post the custom field is still inside the border (See here for exampe: http://www.modernwall.de/tomaten-hummus/ ). I want it outside next to the Author box (the round picture with the title: Autor). I just need the custom field to go outside the border and i can put it next to the Author box by floating it.

    I hope someone can help me and i am sorry for my broken english, i am from germany 🙂
    Thanks in advance!

    http://www.modernwall.de/
    July 20, 2014 at 10:33 am #115047
    Brad Dalton
    Participant

    Add the is_single() conditional tag after the function.


    Tutorials for StudioPress Themes.

    July 20, 2014 at 3:33 pm #115086
    Marylucs
    Member

    Thank you very much, it worked! For all the others who might have the same question, here is the code:

    
    add_filter('genesis_after_entry', 'after_entry_filter'); 
    function after_entry_filter() { 
      if ( is_singular('post') ) {
    echo '<strong>Fotograf:</strong>&nbsp;' . genesis_get_custom_field('fotograf'); }
    }
    

    But is there a way to make the output go above the comments but under the Post?
    When i put genesis_after_entry it's under the comments and if i put genesis_entry_footer its still in the Posts-box.

    July 20, 2014 at 3:58 pm #115090
    Brad Dalton
    Participant

    Change the hook position.


    Tutorials for StudioPress Themes.

    July 31, 2014 at 10:44 am #116457
    Marylucs
    Member

    I dont know where to. If i change it to genesis_entry_footer its inside the box. Is there a way to put the custom field above the comments?

    July 31, 2014 at 5:22 pm #116485
    Brad Dalton
    Participant

    Try this hook genesis_after_entry


    Tutorials for StudioPress Themes.

    August 1, 2014 at 4:55 am #116549
    Marylucs
    Member

    Thats where i have it now and its under the comments.. Or is there a way to push the comments down?

    August 1, 2014 at 5:54 am #116552
    Brad Dalton
    Participant

    There's a heap of hooks plus the 3rd parameter for positioning priority.

    How about one of these 3

    genesis_entry_footer
    comment_notes_before
    comment_form_before


    Tutorials for StudioPress Themes.

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