diff --git a/functions.php b/functions.php old mode 100755 new mode 100644 index 0cde6a7..3b1704a --- a/functions.php +++ b/functions.php @@ -1,69 +1,69 @@ is_main_query() ) { /** * Display all the Speakers in one single page * * See https://gitpull.it/T162 * See https://gitpull.it/T178 */ if ( is_tax( 'membertype' ) ) { $query->set( 'nopaging', true ); /** * Increase Podcasts per page * * See https://gitpull.it/T160 * See https://gitpull.it/T178 * */ } elseif( is_post_type_archive( 'podcast' ) || is_tax( 'podcastfilter' ) ) { $query->set( 'posts_per_archive_page', 16 ); } } } ); diff --git a/index.php b/index.php index b642f8b..b749bb0 100644 --- a/index.php +++ b/index.php @@ -1,123 +1,123 @@ - - +
-
>
- '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()){ 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(); ?>
>

- +