Skip to content

Instantly share code, notes, and snippets.

@reasonstousegenesis
Created November 16, 2015 04:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reasonstousegenesis/ca79236fc618eac8e955 to your computer and use it in GitHub Desktop.
Save reasonstousegenesis/ca79236fc618eac8e955 to your computer and use it in GitHub Desktop.
Allow any post to be displayed more than once
<?php
// Paste the code BELOW this line into your child theme functions.
/**
* Allow any post to be displayed more than once
*
* @author Reasons to Use Genesis
* @link http://reasonstousegenesis.com/genesis-global-exclude/
*/
remove_action( 'genesis_after_entry', 'genesis_add_id_to_global_exclude' );
<?php
// Paste the code BELOW this line into your child theme functions.
/**
* Allow any post to be displayed more than once (XHTML)
*
* @author Reasons to Use Genesis
* @link http://reasonstousegenesis.com/genesis-global-exclude/
*/
remove_action( 'genesis_after_post', 'genesis_add_id_to_global_exclude' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment