Advertisement
Guest User

plugin:Events-Manager Multiple Cat Image Display case

a guest
Apr 4th, 2012
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.64 KB | None | 0 0
  1. em-event.php approx line: 1385             
  2.                 //Categories and Tags
  3.                 case '#_CATEGORIES': //depreciated
  4.                 case '#_EVENTCATEGORIES':
  5.                     ob_start();
  6.                     $template = em_locate_template('placeholders/categories.php', true, array('EM_Event'=>$this));
  7.                     $replace = ob_get_clean();
  8.                     break;
  9. //  START - INSERT THIS SECTION
  10.                                 case '#_CATEGORIESIMAGES':
  11.                 case '#_EVENTCATEGORIESIMAGES':
  12.                     ob_start();
  13.                     $template = em_locate_template('placeholders/categories_images.php', true, array('EM_Event'=>$this));
  14.                     $replace = ob_get_clean();
  15.                     break;
  16. //  END - INSERT THIS SECTION
  17.                 case '#_EVENTTAGS':
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement