• 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

mswas

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
  • January 12, 2015 at 3:50 am in reply to: genesis_title showing outside tag with Simple Hooks #137144
    mswas
    Member

    Thanks Carlo, that is a much simpler bit of code than what I had found!

    January 10, 2015 at 5:23 am in reply to: genesis_title showing outside tag with Simple Hooks #136838
    mswas
    Member

    Carlo, I was writing my reply when you posted... Thanks for your suggestion. But this will not work for me to require the author to change on the post editing screen. We have over 170 bloggers now and it is very hard to get them every single one of them to do something consistently. I want this automated based on other custom fields that they are required to enter.

    You can see my confusion based on what it says in the SH dashboard. I could have sworn that there was a field to append/replace title in previous versions of SH but maybe I was mistaken.

    (edit - will try your other code tho.)

    January 10, 2015 at 5:16 am in reply to: genesis_title showing outside tag with Simple Hooks #136835
    mswas
    Member

    Thanks Tom, this occurs with PHP and plain text. This is what I currently have in the genesis_title Hook field. with "Execute PHP on this hook?" checked.

    | <?php echo get_field('book_title') . ' by ' . get_field('book_author') ; ?> Book Review

    See that it is showing just outside </title> here: http://cannonballread.com/2015/01/afterworlds-if-schrodinger-ever-wrote-a-book/

    <title>Afterworlds; If Schrödinger ever wrote a book</title>| Afterworlds by Scott Westerfeld Book Review

  • 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