Skip to main content Skip to navigation

Add a news feed

Use the news page template as the central place on your website to publish news items. You can then embed a feed of headlines in any other page – for example, your home page. When you publish a news item, the news feed updates automatically.

You can also embed a feed of news items tagged with a keyword – say, ‘Publications’ or ‘Conferences’. Some departments do this on their research landing pages.

Here's an example news feed in the second row of the Faculty of Social Sciences' home page:

News feed on the Faculty of Social Sciences home page

  1. Go to the page where you want to add the news feed.
  2. Go to Edit > Edit centre content or Edit right content.
  3. Place your cursor in the visual editor where you want to add the feed.
  4. In the toolbar, go to Insert a > News feed. The News feed window appears:

    News feed window

  5. In the Page path box, select the picker button and browse to the location of the news page you want to take a feed from. Alternatively, enter the relative link to the news page.
  6. Specify the Number of items to show.
  7. Choose whether headlines in your feed link to the full news item or display as static text. For the former, select Headlines are clickable links.
  8. Choose whether or not to Show publication dates above each headline.
  9. Choose whether or not to Show thumbnail images alongside each headline.
  10. Optionally, restrict the number of characters in the headline or story by entering a number in the Show only first n characters boxes.
  11. Under the Display options, choose how you want the headlines to appear.
  12. Optionally, limit the news feed to show items with particular tags. To do so, in the Filter by tag box, enter the tags separated by commas. For example:

    Postgraduate,Publications,Research seminars
  13. When you have finished specifying the options, select Insert. You should see text similar to the following in the visual editor:

    [sched-news num=3 showthumbnails=true tags='Postgraduate,Publications,Research seminars']/fac/department/news[/sched-news]

    The attributes of the [sched-news] tag in the example above specify:

    • show the most recent three news items
    • show thumbnail images alongside each headline
    • only show news items with any of the tags ‘Postgraduate’, ‘Publications’ or ‘Research seminars’
  14. When you have finished editing your page, select Publish. You should see the news items in a list. When you publish a news item to your main news page in the future, the feed updates automatically.

Related articles

Support

Email webteam at warwick dot ac dot uk
How to report a problem