I'd like to display all the articles in my news section on my sidebar - currently my sidebar just shows 1 link to "All Articles".
I'd like to show all of them - as links to each actual article. Like how the stock "pages" sidebar area is setup as a list...I've searched and all the help documentation links posted go "pages not found"
Thanks,
Mike
Comments
`
<?php //latest 10 news articles loop on index.php
$x = 1; while (next_news()):?>
">
<?php echo getNewsTitle();?>
<?php if ($x++ >=10) { break;} endwhile; ?>
`
For the latest x articles there is also `printLatestNews()`. If you really want to get all articles you have to use `getNewsArticles()` and do a custom loop.
Please see the documentation for detailed info.