1. <?php
  2. //
  3. // For http://wordpress.org/support/topic/same-theme-different-appearance-on-two-sites?replies=5
  4. //
  5. if (!function_exists('easel_display_the_content')) {
  6.     function easel_display_the_content() {
  7.         global $post, $wp_query;
  8.         if ((is_archive() || is_search()) && (easel_themeinfo('excerpt_or_content_in_archive') == 'excerpt')) {
  9.             do_action('easel-display-the-content-before');
  10.             the_excerpt();
  11.             do_action('easel-display-the-content-after');
  12.         } else {
  13.             if (!is_single()) { global $more; $more = 0; }
  14.             do_action('easel-display-the-content-before');
  15.             the_excerpt(__('&darr; Read the rest of this entry...','easel'));
  16.             do_action('easel-display-the-content-after');
  17.         }
  18.     }
  19. }