Skip to content
This repository has been archived by the owner on Feb 24, 2023. It is now read-only.

Commit

Permalink
Adjusted RSS layout
Browse files Browse the repository at this point in the history
Signed-off-by: Brendan Dixon <brendandixon@me.com>
  • Loading branch information
brendandixon committed Apr 23, 2018
1 parent 7d06509 commit 3d6959f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion inc/template-tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ function thegatherings_get_rss_excerpt( $post = null ) {
$post = get_post( $post );

return
'<img style="display:block; margin-bottom:10px;" src="' . get_the_post_thumbnail_url( $post ) . '"/>' .
'<img style="display:block; margin-bottom:10px;" src="' . get_the_post_thumbnail_url( $post, 'large' ) . '"/>' .
thegatherings_get_teaser( false, $post ) .
'<a href="' . get_the_permalink( $post ) . '"> Continue&hellip;</a>';
}
Expand Down
2 changes: 1 addition & 1 deletion sass/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Theme URI: http://underscores.me/
Author: Brendan Dixon
Author URI: http://thegatherings.place/
Description: Description
Version: 1.1.7
Version: 1.1.8
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: thegatherings
Expand Down
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Theme URI: http://underscores.me/
Author: Brendan Dixon
Author URI: http://thegatherings.place/
Description: Description
Version: 1.1.7
Version: 1.1.8
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: thegatherings
Expand Down
2 changes: 1 addition & 1 deletion template-parts/feed-atom.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
</author>
<title type="<?php html_type_rss(); ?>"><![CDATA[<?php the_title_rss() ?>]]></title>
<link rel="alternate" type="<?php bloginfo_rss('html_type'); ?>" href="<?php the_permalink_rss() ?>" />
<id><?php the_guid() ; ?></id>
<id><?php echo get_the_permalink() ; ?></id>
<updated><?php echo get_post_modified_time('Y-m-d\TH:i:s\Z', true); ?></updated>
<published><?php echo get_post_time('Y-m-d\TH:i:s\Z', true); ?></published>
<?php the_category_rss('atom') ?>
Expand Down
2 changes: 1 addition & 1 deletion template-parts/feed-rss2.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
<dc:creator><![CDATA[<?php the_author() ?>]]></dc:creator>
<?php the_category_rss('rss2') ?>

<guid isPermaLink="false"><?php the_guid(); ?></guid>
<guid isPermaLink="true"><?php echo get_the_permalink(); ?></guid>
<description><![CDATA[<?php echo thegatherings_get_rss_excerpt(); ?>]]></description>
<?php rss_enclosure(); ?>
<?php
Expand Down

0 comments on commit 3d6959f

Please # to comment.