diff --git a/front-page.php b/front-page.php
index 09fac2e..c754321 100644
--- a/front-page.php
+++ b/front-page.php
@@ -2,31 +2,31 @@
Latest >
post_author );
+ $author = get_userdata($post->post_author);
?>
- >
+ >
1,
- 'category_name' => $section_category,
- 'orderby' => 'post_date',
- 'order' => 'DESC',
- 'post_type' => 'post',
- 'post_status' => 'publish'
- );
- query_posts($post_section_three_featured_args);
- if (have_posts()) : while (have_posts()) : the_post();
+ $post_section_three_featured_args = array(
+ 'showposts' => 1,
+ 'category_name' => $section_category,
+ 'orderby' => 'post_date',
+ 'order' => 'DESC',
+ 'post_type' => 'post',
+ 'post_status' => 'publish'
+ );
+ query_posts($post_section_three_featured_args);
+ if (have_posts()) : while (have_posts()) : the_post();
$category = get_the_category()[0];
- $author = get_userdata( $post->post_author );
+ $author = get_userdata($post->post_author);
?>
- >
+ >
4,
- 'category_name' => $section_category,
- 'orderby' => 'post_date',
- 'order' => 'DESC',
- 'post_type' => 'post',
- 'post_status' => 'publish'
- );
- query_posts( $post_section_three_featured_args );
- if (have_posts()) : while (have_posts()) : the_post();
+ $post_section_three_featured_args = array(
+ 'showposts' => 4,
+ 'category_name' => $section_category,
+ 'orderby' => 'post_date',
+ 'order' => 'DESC',
+ 'post_type' => 'post',
+ 'post_status' => 'publish'
+ );
+ query_posts($post_section_three_featured_args);
+ if (have_posts()) : while (have_posts()) : the_post();
$category = get_the_category()[0];
?>
- >
+ >
1,
- 'category_name' => $section_category,
- 'orderby' => 'post_date',
- 'order' => 'DESC',
- 'post_type' => 'post',
- 'post_status' => 'publish'
- );
- query_posts($post_section_three_featured_args);
- if (have_posts()) : while (have_posts()) : the_post();
+ $post_section_three_featured_args = array(
+ 'showposts' => 1,
+ 'category_name' => $section_category,
+ 'orderby' => 'post_date',
+ 'order' => 'DESC',
+ 'post_type' => 'post',
+ 'post_status' => 'publish'
+ );
+ query_posts($post_section_three_featured_args);
+ if (have_posts()) : while (have_posts()) : the_post();
$category = get_the_category()[0];
- $author = get_userdata( $post->post_author );
+ $author = get_userdata($post->post_author);
?>
- >
1,
- 'category_name' => $section_category,
- 'orderby' => 'post_date',
- 'order' => 'DESC',
- 'post_type' => 'post',
- 'post_status' => 'publish'
- );
- query_posts($post_section_three_featured_args);
- if (have_posts()) : while (have_posts()) : the_post();
+ $section_category = 'Running';
+ $section_category_id = get_cat_ID($section_category);
+ ?>
+ >
+ 1,
+ 'category_name' => $section_category,
+ 'orderby' => 'post_date',
+ 'order' => 'DESC',
+ 'post_type' => 'post',
+ 'post_status' => 'publish'
+ );
+ query_posts($post_section_three_featured_args);
+ if (have_posts()) : while (have_posts()) : the_post();
$category = get_the_category()[0];
- $author = get_userdata( $post->post_author );
+ $author = get_userdata($post->post_author);
?>
- >
+ >
4,
- 'category_name' => $section_category,
- 'orderby' => 'post_date',
- 'order' => 'DESC',
- 'post_type' => 'post',
- 'post_status' => 'publish'
- );
- query_posts($post_section_three_featured_args);
- if (have_posts()) : while (have_posts()) : the_post();
+ $post_section_three_featured_args = array(
+ 'showposts' => 4,
+ 'category_name' => $section_category,
+ 'orderby' => 'post_date',
+ 'order' => 'DESC',
+ 'post_type' => 'post',
+ 'post_status' => 'publish'
+ );
+ query_posts($post_section_three_featured_args);
+ if (have_posts()) : while (have_posts()) : the_post();
$category = get_the_category()[0];
- $author = get_userdata( $post->post_author );
+ $author = get_userdata($post->post_author);
?>
-