Making WordPress.org

Ticket #5597: archive-podcast.php

File archive-podcast.php, 3.2 KB (added by mkaz, 6 years ago)
Line 
1<?php get_header(); ?>
2
3 <!-- podcast-header -->
4 <div style="margin: 0; padding: 32px; background-color: #0A4B78; color: #FAEBD6">
5 <div style="display: flex; max-width: 960px; margin: 0 auto;flex-wrap: wrap">
6 <div style="margin: 0; width: 320px; text-align: center">
7 <img src="https://i1.wp.com/wordpress.org/news/files/2021/01/wp-briefing-logo.jpg?w=490&ssl=1"
8 style="box-shadow: 0 0 16px rgba(0, 0, 0, 0.5)"
9 width="245" height="245"
10 alt="WP Briefing logo, photo of Josepha Haden Chomphosy" />
11 </div>
12 <div style="margin: 16px 0 0 38px; min-width: 240px; max-width: 520px;">
13 <h2 class="fancy" style="font-family: Georgia, Times, serif;font-weight:bold"> WP Briefing </h2>
14 <p style="margin: 8px 0;font-size:13px;font-style:italic"> The WordPress Podcast </p>
15
16 <div style="margin: 32px 0;font-size: 13px;font-family:sans-serif">
17 Explore WordPress with Josepha Haden, the project’s executive director, and project co-founder Matt Mullenweg. Learn about where WordPress is going, how we’ll get there, and how you can get involved. Join us today and help democratize publishing!
18 </div>
19
20 <div style="font-size:13px">
21 <!-- Subscribe links: coming soon -->
22 Podcast available at:
23 <a href="https://podcasts.apple.com/us/podcast/wp-briefing/id1551691710" style="color:#FAEBD6;font-weight:bold">Apple</a>,
24 <a href="https://pca.st/uqvvmt8t" style="color:#FAEBD6;font-weight:bold">Pocket Casts</a>,
25 <a rel="RSS" href="https://wordpress.org/news/feed/podcast" style="color:#FAEBD6;font-weight:bold">RSS</a>,
26 <a href="https://open.spotify.com/show/6BxgmE9Qg2TZA8EKZLJ4zS" style="color:#FAEBD6;font-weight:bold">Spotify</a>,
27 <a href="https://www.stitcher.com/show/wp-briefing" style="color:#FAEBD6;font-weight:bold">Stitcher</a>
28 </div>
29 </div>
30 </div>
31 </div>
32 <!-- podcast-header/ -->
33
34<div id="pagebody">
35 <div class="wrapper">
36 <div class="col-9">
37<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
38
39<h2 class="fancy">
40 <a href="<?php the_permalink() ?>"><?php the_title(); ?></a>
41</h2>
42
43<div class="meta">
44 Posted <?php the_date('','',''); ?> by <a href="<?php the_author_meta( 'url' ); ?>"><?php the_author() ?></a>.
45 Filed under <?php if ( get_post_type() === 'podcast' ) : ?>
46 <a href="/news/podcast/">Podcast</a>.
47 <?php else : ?>
48 <?php the_category(', '); ?>.
49 <?php endif; ?>
50 <?php edit_post_link(); ?>
51</div>
52 <div class="storycontent">
53 <?php the_content('Read on for more &raquo;'); ?>
54</div>
55
56<?php if ( ! is_single() && ! post_password_required() && ( comments_open() || get_comments_number() ) ) : ?>
57<div class="feedback">
58 <?php comments_popup_link('', '1 Ping', '% Pings'); ?>
59</div>
60<?php endif; ?>
61
62<?php comments_template(); // Get wp-comments.php template ?>
63
64<?php endwhile; else: ?>
65<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
66<?php endif; ?>
67
68<?php posts_nav_link(' &#8212; ', __('&laquo; Newer Posts'), __('Older Posts &raquo;')); ?>
69
70</div>
71<div class="col-3">
72
73 <?php
74 add_filter( 'widget_categories_args', function( $args ) {
75 $args['number'] = 15;
76 $args['orderby'] = 'count';
77 $args['order'] = 'DESC';
78
79 return $args;
80 } );
81
82 dynamic_sidebar( 'sidebar-1' );
83 ?>
84
85</div>
86</div>
87</div>
88<?php get_footer(); ?>