• 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 Genesis User Settings

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 Genesis User Settings

This topic is: not resolved

Tagged: actions, filters, settings

  • This topic has 2 replies, 2 voices, and was last updated 10 years, 3 months ago by Victor Font.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • August 15, 2015 at 4:48 pm #162482
    fanalejr
    Member

    Hey guys, was hoping someone could help me - I needed to remove the author box actions and customize one to be using the the the_content filter (custom theme for someone and I needed it to appear above some other output) - I still want the ability for the user to check if they want the author box to appear on single posts or archive pages from the Users settings menu. Simple if statements, but I can't seem to get the values of those options so I can run the if statements. Anyone done something like this before?

    Thanks!

    August 16, 2015 at 8:46 am #162508
    Victor Font
    Moderator

    For single posts, you could use

    <?php $user_author_box = get_the_author_meta( 'genesis_author_box_single' ); ?>

    For archive pages you could use:

    <?php $user_author_box = get_the_author_meta( 'genesis_author_box_archive' ); ?>

    You need to be aware that these values only exist in the wp_user_meta table if they've been checked at some point. So they will either not exist, have a value of 1 if checked, and a value of null or empty if they had been checked at one point and later unchecked.

    If these functions don't work, you could also try https://codex.wordpress.org/Function_Reference/get_user_meta


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    August 16, 2015 at 9:58 am #162530
    Victor Font
    Moderator

    You can also use: genesis_get_option( 'author_box_single' )


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

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

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