• Skip to primary navigation
  • Skip to content
  • Skip to primary sidebar
  • Skip to user navigation

Designody

WordPress and Genesis Tutorials

  • Get Started
  • About
  • Archive
  • Services
  • Membership
  • My Account

Customize Entry Content in Genesis

Last Updated on September 18, 2018Leave a Comment Favorited: 0 times

Remove Entry Content

//* Remove the post content
remove_action( 'genesis_entry_content', 'genesis_do_post_content' );

 

Remove Post Image

//* Remove the post image
remove_action( 'genesis_entry_content', 'genesis_do_post_image', 8 );

 

Remove Post Navigation

//* Remove the post navigation
remove_action( 'genesis_entry_content', 'genesis_do_post_content_nav', 12 );

 

Remove Post Permalink

//* Remove the post permalink
remove_action( 'genesis_entry_content', 'genesis_do_post_permalink', 14 );

 

Add Post Navigation

//* Add post navigation
add_action( 'genesis_entry_footer', 'genesis_prev_next_post_nav' );

Condititonal Customization

add_action('genesis_before', 'gk_custom_content_function', 10);
function gk_custom_content_function() {
	
	//* use conditional tag @https://codex.wordpress.org/Conditional_Tags
    if ( ! is_singular('post') ) { //* multiple post types is_singular( array ('post','page') )
        return;
	}
	
	//* put some stuff to do
}

 

Related Posts

  • Remove entry content on blog and archive pages in Genesis

Categories: Free Content Tags: entry content

Reader Interactions

Leave a Reply Cancel reply

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

You should use these Shortcodes tag and attributes while sharing the code:
Example: [html]I <3 HTML[/html] → [html][css][php][js][java][json][raw]

Primary Sidebar

WPEngine WordPress Hosting, Perfected.

Hosting You are looking for?.
Perfect solution for small business to global enterprise.

Learn more

StudioPress Genesis Theme Framework

The No.1 Theme Provider.
Creative, SEO rich Theme for all niche projects.

Learn more

Categories

  • Free Content
  • Genesis Tutorials
  • Premium Content
  • Snippets
  • What's New?
  • WordPress Tutorials

Tag Cloud

Archive Background Section blog center logo columns conditional tags CSS CSS Grid custom Customizer custom post type Custom Post Types custom template Custom Widget effect Featured Image front-page Genesis Genesis Sample header right hero section Image Background js layout Logo menu navigation Navigation Menu Nav Menu newsletter post page related posts responsive menu search search widget Shrinking Logo site header slide in-out Split Navigation Stylesheet Template Utility Bar Video Background widgets WordPress

Built with Genesis Framework + WordPress

  • Contact
  • FAQ
  • Disclaimer
  • Privacy Policy
  • Copyright Policy
  • Terms of Service