* * @link http://codex.wordpress.org/Plugin_API#Filters */ global $woo_options; $title_before = '<h2 class="title"><a href="' . get_permalink(get_the_ID()) . '" rel="bookmark" title="' . the_title_attribute(array('echo' => 0)) . '">'; $title_after = '</a></h2>'; $page_link_args = apply_filters('woothemes_pagelinks_args', array('before' => '<div class="page-link">' . __('Pages:', 'woothemes'), 'after' => '</div>')); woo_post_before(); ?> <div <?php post_class(); ?> > <?php woo_post_inside_before(); woo_tumblog_the_title('h2', 'title'); woo_post_meta(); ?> <div class="entry"> <?php woo_tumblog_content_before(); if ($woo_options['woo_post_content'] == 'content' || is_singular()) { the_content(__('Continue Reading →', 'woothemes')); } else { the_excerpt(); } if ($woo_options['woo_post_content'] == 'content' || is_singular()) { wp_link_pages($page_link_args); } woo_tumblog_content_after(); ?>
<?php $tumblog_items = array('articles' => get_option('woo_articles_term_id'), 'images' => get_option('woo_images_term_id')); ?> <?php if (have_posts()) { while (have_posts()) { the_post(); ?> <article> <?php if (function_exists('woo_tumblog_the_title')) { woo_tumblog_the_title("entry-title"); } else { ?> <span class="post-icon article"></span> <h1><a href="<?php the_permalink(); ?> "><?php the_title(); ?> </a></h1> <?php } ?>
<div id="post-<?php the_ID(); ?> " <?php post_class('post'); ?> > <div class="corner left top"></div> <div class="corner left bottom"></div> <div class="corner right top"></div> <div class="corner right bottom"></div> <?php $hide_title = is_single() && fastblog_get_option('post/hide_title') || is_page() && fastblog_get_option('page/hide_title'); if (FASTBLOG_TUMBLOG) { $title = woo_tumblog_the_title('title', true, '', '', true, 'h2'); if (!(is_page() || is_attachment() || preg_match('/<span class="post-icon [a-z]+">/i', $title))) { $custom_post = true; ?> <span class="post-icon <?php echo is_attachment() ? 'attachment' : 'custom'; ?> "> <?php if (is_attachment()) { ?> <span><?php _e('Post', 'fastblog'); ?> </span> <?php
* * @link http://codex.wordpress.org/Plugin_API#Filters */ global $woo_options; $title_before = '<h2 class="title entry-title"><a href="' . get_permalink(get_the_ID()) . '" rel="bookmark" title="' . the_title_attribute(array('echo' => 0)) . '">'; $title_after = '</a></h2>'; $page_link_args = apply_filters('woothemes_pagelinks_args', array('before' => '<div class="page-link">' . __('Pages:', 'woothemes'), 'after' => '</div>')); woo_post_before(); ?> <article <?php post_class(); ?> > <?php woo_post_inside_before(); woo_tumblog_the_title('h2', 'title entry-title'); woo_post_meta(); ?> <section class="entry"> <?php woo_tumblog_content_before(); if ($woo_options['woo_post_content'] == 'content' || is_singular()) { the_content(__('Continue Reading →', 'woothemes')); } else { the_excerpt(); } if ($woo_options['woo_post_content'] == 'content' || is_singular()) { wp_link_pages($page_link_args); } woo_tumblog_content_after(); ?>