Skip to content

Commit

Permalink
Update author id and number of news posts.
Browse files Browse the repository at this point in the history
  • Loading branch information
kimisgold committed Jun 8, 2014
1 parent 005c2eb commit c8b3c1d
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions front-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@

<h3>About the Author</h3>

<p><?php the_author_meta('description', 1); ?></p>
<p><?php the_author_meta('description', 5); ?></p>

<p class="contact"><a href="http://eepurl.com/wGz6D" class="button">Sign up for her newsletter for contests and sneak peeks!</a></p>

</aside>

<aside class="sidebar">
<aside class="recent-posts sidebar">

<?php if(function_exists(dynamic_sidebar('Home Sidebar'))): ?>

Expand All @@ -54,16 +56,16 @@
<?php

// The Query
query_posts( array ( 'category_name' => 'News', 'posts_per_page' => 2 ) );
query_posts( array ( 'category_name' => 'News', 'posts_per_page' => 3 ) );

// The Loop
while ( have_posts() ) : the_post();
echo '<li>';
echo '<span class="date">';
the_date();
echo '</span>';
the_content();
echo '</li>';
echo '<li>';
echo '<span class="date">';
the_date();
echo '</span>';
the_content();
echo '</li>';
endwhile;

// Reset Query
Expand Down

0 comments on commit c8b3c1d

Please sign in to comment.