1
CyberGuin
RSS code in Xpress Module template
  • 2007/7/10 2:10

  • CyberGuin

  • Just popping in

  • Posts: 36

  • Since: 2005/2/16


Hi,

I've tried to include the php code to add RSS links to each item in the Xpress module blog. But it seems to be printing out the php code instead of running it, so the links don't work.

I added it in the wp-index.html template as follows:

...
<div class="wp-post-meta"><{$wp_content.lang_under}> <{$post.category}> <{if $post.edit}> <strong>|</strong> <{$post.edit}> <{/if}> <{if $post.comment}><strong>|</strong> <{$post.comment}><{/if}>

</div>
<ul>

<li>
<a href="<?php bloginfo('rss2_url'); ?>" title="<?php _e('Syndicate this site using RSS'); ?>"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr>'); ?></a>
</li>

<li>
<a href="<?php bloginfo('atom_url'); ?>" title="<?php _e('Syndicate this site using Atom'); ?>"><?php _e('Atom'); ?></a>
</li>

<li>
<a href="<?php bloginfo('comments_rss2_url'); ?>" title="<?php _e('The latest comments to all posts in RSS'); ?>"><?php _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>'); ?></a>
</li>
</ul>
</div>...

You can see the result hereTopVA - XOOPS Demo

Any pointers?

Thanks, Tracy

Login

Who's Online

232 user(s) are online (152 user(s) are browsing Support Forums)


Members: 0


Guests: 232


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits