Advertisement
BakerMan

Genesis 1.9.2 - avoid event output being shown as excerpt

Aug 9th, 2013
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.22 KB | None | 0 0
  1. add_filter('genesis_pre_get_option_content_archive', 'tribe_genesis_avoid_archive_excerpts');
  2.  
  3. function tribe_genesis_avoid_archive_excerpts($value) {
  4.     if ( ! tribe_is_event_query()) return $value;
  5.     return 'content';
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement