Skip to content

Instantly share code, notes, and snippets.

@benbalter
Created October 18, 2011 12:36
Show Gist options
  • Save benbalter/1295313 to your computer and use it in GitHub Desktop.
Save benbalter/1295313 to your computer and use it in GitHub Desktop.
Remove SexyBookmarks from WP Resume pages
function remove_shrsb () {
remove_filter('the_content', 'shrsb_position_menu');
}
function wpr_add_shrsb() {
add_filter('the_content', 'shrsb_position_menu');
}
add_action( 'wp_resume_shortcode_pre', 'wpr_remove_shrsb' );
add_action( 'wp_resume_shortcode_post', 'wpr_add_shrsb' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment