Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //
- // For http://wordpress.org/support/topic/same-theme-different-appearance-on-two-sites?replies=5
- //
- if (!function_exists('easel_display_the_content')) {
- function easel_display_the_content() {
- global $post, $wp_query;
- if ((is_archive() || is_search()) && (easel_themeinfo('excerpt_or_content_in_archive') == 'excerpt')) {
- do_action('easel-display-the-content-before');
- the_excerpt();
- do_action('easel-display-the-content-after');
- } else {
- if (!is_single()) { global $more; $more = 0; }
- do_action('easel-display-the-content-before');
- the_excerpt(__('↓ Read the rest of this entry...','easel'));
- do_action('easel-display-the-content-after');
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement