-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated to w31 theme (from site edits).
- Loading branch information
Showing
37 changed files
with
2,142 additions
and
309 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# w31 license | ||
|
||
Copyright © 2018 Bruce Alderson | ||
|
||
Built by Bruce Alderson |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# w30 | ||
Warped theme 30 (a simple base WordPress theme) | ||
# Warped 31 | ||
|
||
A simple blog theme. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
<?php | ||
/* | ||
Template Name: Blogcast RSS Feed | ||
*/ | ||
$numposts = -1; | ||
$posts = query_posts('showposts='.$numposts.'&cat=-1'); // replace the number 1 with the ID of your tumblelog category | ||
$more = 1; | ||
|
||
header('Content-Type: '.feed_content_type('rss-http').'; charset='.get_option('blog_charset'), true); | ||
echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; | ||
?> | ||
<rss version="2.0" | ||
xmlns:content="http://purl.org/rss/1.0/modules/content/" | ||
xmlns:wfw="http://wellformedweb.org/CommentAPI/" | ||
xmlns:dc="http://purl.org/dc/elements/1.1/" | ||
xmlns:atom="http://www.w3.org/2005/Atom" | ||
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" | ||
xmlns:slash="http://purl.org/rss/1.0/modules/slash/" | ||
<?php do_action('rss2_ns'); ?> | ||
> | ||
<channel> | ||
<title><?php bloginfo_rss('name'); wp_title_rss(); ?> - Podcast Feed</title> | ||
<atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" /> | ||
<link><?php bloginfo_rss('url') ?></link> | ||
<description><?php bloginfo_rss("description") ?></description> | ||
<lastBuildDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT'), false); ?></lastBuildDate> | ||
<?php the_generator( 'rss2' ); ?> | ||
<language><?php echo get_option('rss_language'); ?></language> | ||
<sy:updatePeriod><?php echo apply_filters( 'rss_update_period', 'hourly' ); ?></sy:updatePeriod> | ||
<sy:updateFrequency><?php echo apply_filters( 'rss_update_frequency', '1' ); ?></sy:updateFrequency> | ||
<?php do_action('rss2_head'); ?> | ||
|
||
<?php while( have_posts()) : the_post(); ?> | ||
|
||
<item> | ||
<title><?php the_title_rss(); ?></title> | ||
<link><?php the_permalink_rss(); ?></link> | ||
<comments><?php comments_link(); ?></comments> | ||
<pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_post_time('Y-m-d H:i:s', true), false); ?></pubDate> | ||
<dc:creator><?php the_author(); ?></dc:creator> | ||
<?php the_category_rss(); ?> | ||
<guid isPermaLink="false"><?php the_guid(); ?></guid> | ||
<?php if (get_option('rss_use_excerpt')) : ?> | ||
|
||
<description><![CDATA[<?php the_excerpt_rss() ?>]]></description> | ||
<?php else : ?> | ||
|
||
<description><![CDATA[<?php the_excerpt_rss() ?>]]></description> | ||
<?php if ( strlen( $post->post_content ) > 0 ) : ?> | ||
|
||
<content:encoded><![CDATA[<?php the_content() ?>]]></content:encoded> | ||
<?php else : ?> | ||
|
||
<content:encoded><![CDATA[<?php the_excerpt_rss() ?>]]></content:encoded> | ||
<?php endif; ?> | ||
<?php endif; ?> | ||
|
||
<wfw:commentRss><?php echo get_post_comments_feed_link(); ?></wfw:commentRss> | ||
<slash:comments><?php echo get_comments_number(); ?></slash:comments> | ||
<?php rss_enclosure(); ?> | ||
<?php do_action('rss2_item'); ?> | ||
|
||
</item> | ||
<?php endwhile; ?> | ||
|
||
</channel> | ||
</rss> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,13 @@ | ||
<?php get_header(); ?> | ||
|
||
<main role="main"> | ||
<!-- section --> | ||
<section> | ||
<main><div> | ||
<h4><?php _e( 'Found in: ', 'html5blank' ); the_category(' + '); ?></h4> | ||
<section> | ||
<?php get_template_part('loop'); ?> | ||
</section> | ||
|
||
<h1><?php _e( 'Categories for ', 'html5blank' ); single_cat_title(); ?></h1> | ||
<?php get_template_part('pagination', 'part'); ?> | ||
|
||
<?php get_template_part('loop'); ?> | ||
|
||
<?php get_template_part('pagination'); ?> | ||
|
||
</section> | ||
<!-- /section --> | ||
</main> | ||
|
||
<?php get_sidebar(); ?> | ||
</div></main> | ||
|
||
<?php get_footer(); ?> |
Oops, something went wrong.