• 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

Simple Edits & byline

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 › Simple Edits & byline

This topic is: resolved

Tagged: .post-info, simple edits

  • This topic has 1 reply, 1 voice, and was last updated 8 years, 10 months ago by Joe Siegler.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • April 4, 2014 at 8:34 am #98451
    Joe Siegler
    Member

    Some time ago I had a somewhat convoluted line in simple edits for the "Post Info" area. In short, I wanted it to post this:

    Posted by name on date at time | comments | custom

    The custom part was this - if I had put a URL in a specific custom field, it would then display this:

    MLB.com Recap

    which would be hyperlinked to the relevant link on my website. If I didn't have anything in the custom field, nothing would be displayed. I actually coded this properly some time ago, and it worked great. Sometime in the last couple of months, some sort of update broke this, as it is not displaying right.

    Today, I went in and looked at it, and I don't remember coding the Simple Edit this way. Here is what is in the field now:

    Posted by [post_author] on [post_date] at [post_time] [post_comments] [custom_field field="MLBURL" this_post="1" limit="0" before="  |  <a href=" after=">MLB.com Recap</a>" between=", " /]

    Could my Post info have gotten corrupted? As I recall, it was a big pain to write in the first place. If you want to see what it is incorrectly displaying, you can view the byline at the site: http://www.rangerfans.com

    http://www.rangerfans.com
    April 4, 2014 at 8:48 am #98454
    Joe Siegler
    Member

    Oh god, I'm a moron. It was a plugin that was making this work. Somehow the plugin that made this look wrong got deactivated. Turned it back on and everything is working again.

    https://wordpress.org/plugins/custom-fields-shortcodes/

    Thank you, drive through.

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

© 2023 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