Support Forum
We are currently using the Recent Forums Posts widget on http://www.storage-brain.com but it doesn't do quite what we want. We'd like to display an excerpt from the latest post, and I understand this can be done by editing the code, but this is beyond my level of expertise. If you can help, please email me at janet@organizedassistant.com.
Please note I am using SpamAssassin on that account, so you will need to respond to a challenge email for your message to reach me.
Thanks!
have you looked at the alternative 'latest posts' tag on the same wiki page (api - template tags - lists). This includes the post content already.
YELLOW
SWORDFISH
|
in your wp theme file, where you want the latest posts to appear, you would put
<?php sf_latest_posts(); ?>
that assumes its in a section of the theme file where php code is not enabled... if it is, just forego the opening and closing php tags... there are some options you can pass if you dont like the defaults... details in the wiki..
Visit Cruise Talk Central and Mr Papa's World
Thank you - that got me started, but I am not seeing anything that explains how to include a short excerpt (3 lines) - it seems to be all or nothing.
ah... afraid you are right... that tag is the whole content... and the others are just the title... so you wouldnt need to edit the tag and apply a word count filter to the content...
Visit Cruise Talk Central and Mr Papa's World
You can limit this through the admin options. On the Options > Global Settings panel - top right - are the RSS settings. In there you can impose a word count on the post cntent sent out via RSS. This template tag will use that to also limit the number of words shown in the tag.
Would that do the trick for you?
YELLOW
SWORDFISH
|
holy cow! completely missed that... nice catch Andy!
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)