• Skip to main content
  • Skip to primary sidebar

Supplemental Resources

Just The Tech, News, and Info We Deem To Post

  • Home
  • Home
  • Home
  • Home
  • Home
  • Home
  • Home
  • Home
  • Home
  • About
  • About
  • About
  • About
  • About
  • About
  • About
  • About
  • About
  • Contact
  • Contact
  • Contact
  • Contact
  • Contact
  • Contact
  • Contact
  • Contact
  • Contact
  • Contribute
  • Contribute
  • Contribute
  • Contribute
  • Contribute
  • Contribute
  • Contribute
  • Contribute
  • Contribute
  • WordPress
  • Marketing
  • Business
  • Computing
  • Security
  • Publicity
  • Resources
  • WHATEVS

Create Custom Field to Remove Authorbox in Genesis Child Theme.

Matrix Style Image Representing WordPress Code Snippet

Add the following code to single.php in a Genesis Child Theme to create a Custom Field to Remove the Authorbox.

/**
* single.php
*/
$authorbox = get_post_meta($post->ID, "authorbox", $single = true);
if ( isset($authorbox) && $authorbox == 'false' ){
    remove_action('genesis_after_post', 'genesis_do_author_box');
}
genesis();

by Jack Alltrade on August 5, 2015

Filed Under: Code Snippets, Genesis Framework Tagged With: Code, Genesis Framework, Layout

Reader Interactions

Share Your Two Cents Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

© Copyright Jack Alltrade & Associates 2026 · Purely Supplemental™ is a trademark of Jack Alltrade & Associates