Forums

[resolved] Date and RSS Feed (6 posts)

  1. rzvagelsky
    Member
    Posted 3 years ago #

    Hi,

    I am using <?php the_time('l, F jS, Y') ?> for all of my posts but the date is not being added into the RSS feed. Instead, I have an empty posttime field.

    Does anyone have any suggestions?

    Thanks!

  2. rzvagelsky
    Member
    Posted 3 years ago #

    Bump...any help?

  3. greyisgood
    Member
    Posted 3 years ago #

    code for whole post div?

  4. rzvagelsky
    Member
    Posted 3 years ago #

    <h2 class="shape-1"><?php the_title(); ?></h2>
    		<div class="post" id="post-<?php the_ID(); ?>">
    			<p class="chrono" style="width:630px;margin:0 20px 0 30px;">Posted by <?php the_author_posts_link(); ?> on <?php the_time('l, F jS, Y') ?> <a>#respond"><?php comments_number('- No Comments', '- 1 Comment', '- % Comments' );?></a></p>
    			<p class="chrono" style="width:630px;margin:10px 20px 0 30px;"><?php the_tags( 'Tags: ', ', ', ''); ?></p>
    			<div class="hr_top"></div>
    			<div class="entry" style="width:630px;margin:0 20px 0 30px;">
    				<?php the_content(); ?>
    				<div class="hr_top"></div>
    				<p style="float:left;"><?php if(function_exists('akst_share_link')) { akst_share_link(); } ?></p>
    				<div class="hr_top"></div>
    				<p class="chrono" style="float:left;margin:10px 0 10px 0;">Related Posts: <?php if(function_exists('related_posts')) { related_posts(); } ?></p>
    				<div class="hr_top"></div>
    				<p style="float:left;"><?php previous_post_link('%link ', '< older', TRUE, '32'); ?></p>
    				<p style="float:right;"><?php next_post_link('%link', 'newer >', TRUE, '32'); ?></p>
    			</div>
    			<div style="clear:both;"></div>
    			<?php comments_template(); ?>
    			<?php endwhile; else: ?>
    			<p>Sorry, no posts matched your criteria.</p>
    			<?php endif; ?>
    			<div class="clear"></div>
    		</div>
  5. rzvagelsky
    Member
    Posted 3 years ago #

    My blog feed was only for a specific category and I was using /?feed=rss&cat=3

    I changed it to rss2 and now the date shows up!

  6. jrcue
    Member
    Posted 3 years ago #

    Try /feed/rss2 also

Topic Closed

This topic has been closed to new replies.

About this Topic