Hello,
Thank you for your very useful, free plugin!
I’ve made a page template that is meant to insert the news list into part of the page (on the right-column).
I intended to use nm_display_news()
, as you suggested in another answer, but it is returning the ‘No News” message. I also tried setting the arguments directly as so:
$newsargs = array(
‘number_of_news’ => 5,
‘tags’ => ‘all’,
‘categories’ => ‘all’,
‘order_by’ => ‘publish’,
‘order’ => ‘ASC’,
‘show_news_thumbnail’ => FALSE,
‘show_news_excerpt’ => FALSE,
‘news_thumbnail_size’ => ‘thumbnail’,
‘no_news_message’ => __(‘REALLY No News found.’, ‘news-manager’)
);
echo nm_display_news($newsargs);
It then displays “REALLY No News found.” – it’s taking the arguments but not returning any news. My website.org/news page does show 4 news articles (no News cat/tags used).
Any idea what I’m doing wrong?
Thanks!