• Skip to main content
  • Skip to primary sidebar
  • Business
  • WordPress
  • Security
  • Marketing
  • Publicity
  • Computing
  • Resources
  • Whatevs

Purely Wordpress

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

  • Home
  • About
  • Contact
  • Contribute
You are here: Home / Code Snippets / Make Genesis functions appear on Custom Post Types in the Editor

Make Genesis functions appear on Custom Post Types in the Editor

Genesis Theme Framework Code Snippets

Add the following code to your theme’s function.php file, or a functionality plugin to allow Genesis functions to appear on a Custom Post Type in the Editor.

/** Add 'page-attributes' to custom Post Type *******/

function be_products_post_type_args( $args ) {
	$args['supports'][] = 'page-attributes';
	return $args;
}
add_filter( 'productsposttype_args', 'be_products_post_type_args' );

by Jack Alltrade on September 5, 2017

Filed Under: Code Snippets, Genesis Framework Tagged With: Custom Post Type, Editor, Genesis Framework

Reader Interactions

Share Your Two Cents Cancel reply

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

Primary Sidebar

Categories

  • Code Snippets
  • Development
  • File Management
  • Genesis Framework
  • Hosting
  • Legacy
  • Plugins
  • SEO
  • Tech Terms
  • Themes
  • User Experience
  • User Interface
  • WordPress Core
  • WordPress Functionality

Warning! Use at your own risk!

As always, use at your own risk and remember to backup your site prior to inserting new code.

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