diff --git a/index.php b/index.php index b749bb0..0f51ed0 100644 --- a/index.php +++ b/index.php @@ -1,123 +1,120 @@

>
-
-
+
'post', 'post_status' => 'publish', 'suppress_filters' => false, 'paged' => $paged ); /** * [$wp_query execution of the query] * @var WP_Query */ $wp_query = new WP_Query( $args ); if ( $wp_query->have_posts() ) : while ( $wp_query->have_posts() ) : $wp_query->the_post(); $post = $wp_query->post; setup_postdata( $post ); - if(is_sticky()){ + if(is_sticky()){ get_template_part ( 'phpincludes/part-archive-item-post-featured' ); } else { get_template_part ( 'phpincludes/part-archive-item-post' ); } - ?> -

+

-

Ultimi Podcast

'podcast', 'posts_per_page' => 9, 'post_status' => 'publish', 'suppress_filters' => false, 'orderby' => 'meta_value', 'order' => 'DESC', 'meta_key' => '_podcast_date', 'paged' => $paged ); /** * [$wp_query execution of the query] * @var WP_Query */ $wp_query = new WP_Query( $args ); if ( $wp_query->have_posts() ) : while ( $wp_query->have_posts() ) : $wp_query->the_post(); ?>
>

diff --git a/phpincludes/part-archive-item-podcast.php b/phpincludes/part-archive-item-podcast.php index ce9ac68..320e38e 100644 --- a/phpincludes/part-archive-item-podcast.php +++ b/phpincludes/part-archive-item-podcast.php @@ -1,54 +1,54 @@
  • - ID, 'podcastfilter', '', '
  • ', '' ); ?> + ID, 'podcastfilter', '', '
  • ', '' ); ?>
ID, false); ?>

diff --git a/phpincludes/part-archive-item-post.php b/phpincludes/part-archive-item-post.php new file mode 100644 index 0000000..1b5e7af --- /dev/null +++ b/phpincludes/part-archive-item-post.php @@ -0,0 +1,55 @@ + + +
> +
+
+
    +
  • +
  • '); ?> +
  • +
+
+ ID, true); + ?> +
+
+
+
+

+ + + +

+
+
+
+ + +
+ +
+ +
+ +
+ +
+

+ +

+ +
+
+