Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save madriverweb/e16989125e957ec87a58b0d228387984 to your computer and use it in GitHub Desktop.
Save madriverweb/e16989125e957ec87a58b0d228387984 to your computer and use it in GitHub Desktop.
Genesis entry content.
<?php
//* Do NOT include the opening php tag shown above. Copy the code shown below.
//* Add post navigation (requires HTML5 theme support)
add_action( 'genesis_entry_footer', 'genesis_prev_next_post_nav' );
<?php
//* Do NOT include the opening php tag shown above. Copy the code shown below.
//* Remove the post image (requires HTML5 theme support)
remove_action( 'genesis_entry_content', 'genesis_do_post_image', 8 );
<?php
//* Do NOT include the opening php tag shown above. Copy the code shown below.
//* Remove the post navigation (requires HTML5 theme support)
remove_action( 'genesis_entry_content', 'genesis_do_post_content_nav', 12 );
<?php
//* Do NOT include the opening php tag shown above. Copy the code shown below.
//* Remove the post permalink (requires HTML5 theme support)
remove_action( 'genesis_entry_content', 'genesis_do_post_permalink', 14 );
<?php
//* Do NOT include the opening php tag shown above. Copy the code shown below.
//* Remove the post content (requires HTML5 theme support)
remove_action( 'genesis_entry_content', 'genesis_do_post_content' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment