Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <?php get_sidebar('page'); ?>
- <div id="content">
- <!--<div id="blogheader">
- <img src="<?php bloginfo('template_url'); ?>/images/blogs.png" width="510px" alt="Today's Perspectives For and From Mothers" />
- </div>-->
- <div class="post">
- <?php if (have_posts()) : ?>
- <?php while (have_posts()) : the_post(); ?>
- <h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
- <div class="body">
- <?php the_content(); ?>
- <div class="clear"></div>
- <h4>Recent Posts</h4>
- @@<?php
- include_once(ABSPATH . WPINC . '/feed.php');
- $rss = fetch_feed(get_post_meta(get_the_ID(), "Blog RSS Feed", true));
- $rss_items = $rss->get_items( 0, $rss->get_item_quantity(5) );
- if ( !$rss_items ) {
- echo 'no items';
- } else {
- foreach ( $rss_items as $item ) {
- echo '<p><a href="' . $item->get_permalink() . '">' . $item->get_title() . '</a></p>';
- }
- }
- @@ ?>
- <?php if(function_exists('the_ratings')) { the_ratings(); } ?>
- </div><!--body-->
- <div class="meta">
- <div class="left">
- <p>Posted: <?php the_time(); ?> in <?php the_category(', '); ?> <?php comments_popup_link('No comments yet', '1 comment so far', '% comments so far (is that a lot?)', 'comments-link', 'Comments are off for this post'); ?></p>
- </div>
- <div class="right">
- <script type="text/javascript" src="http://w.sharethis.com/button/sharethis.js#publisher=5567b964-7b53-4d79-8a3f-38fda473fd8a&type=wordpress&style=rotate"></script>
- </div>
- <div class="clear"></div><!--clear-->
- </div><!--meta-->
- <?php comments_template(); ?>
- <?php endwhile; ?>
- <div class="navigation">
- <div class="alignleft"><?php next_posts_link('« Older Entries') ?></div>
- <div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div>
- </div>
- <?php else : ?>
- <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
- <?php endif; ?>
- </div><!--post-->
- </div><!--content-->
- <?php get_sidebar(); ?>
- <?php get_footer(); ?>
Add Comment
Please, Sign In to add comment