Facebook Pixel List Style News Feeds | Western Kentucky University Skip to main content

List Style


Basic list style feeds display a default header, date, and description, with a button to read the full article. Use Style 1 for no thumbnails and Style 2 to enable thumbnail images if they are available. Style 2 with thumbnails is not compatible with side columns at certain device widths, use Style 1 if you want to display this feed in a side column.


 

Style 1 Basic List Style - (No Thumbnails)


Unpublished Dependencies Checkbox

Jan 19th, 2018

Be on the lookout for the Include Unpublished Dependencies checkbox when publishing files. It is now by default checked....

Read More

New Template Workshops Available

Jan 10th, 2018

We are excited to announce the opening of training sessions for the web migration into the new WKU OUCampus website templates. Session dates and times are listed inside OUAddons and are open for online registration now....

Read More

Images with a News Article

Jun 3rd, 2016

We have built in the ability for users to add an image within a news article....

Read More
<?php

// id of the news addon, required
$config['newsid'] = '45';

// number of articles to be shown in the feed, required
$config['articles'] = '3';

// style to use when formatting the feed on the page, required
$config['style'] = '1';

// load the functions we need and show the feed based on above settings
include_once ('/var/www/html/_resources/php/news_v2/functions.php');
echo news_display_feed($config);

?>



Style 2 - Basic List Style (With Thumbnails)


Unpublished Dependencies Checkbox

Jan 19th, 2018

Be on the lookout for the Include Unpublished Dependencies checkbox when publishing files. It is now by default checked....

Read More

New Template Workshops Available

Jan 10th, 2018

We are excited to announce the opening of training sessions for the web migration into the new WKU OUCampus website templates. Session dates and times are listed inside OUAddons and are open for online registration now....

Read More
Images with a News Article

Images with a News Article

Jun 3rd, 2016

We have built in the ability for users to add an image within a news article....

Read More
<?php

// id of the news addon, required
$config['newsid'] = '45';

// number of articles to be shown in the feed, required
$config['articles'] = '3';

// style to use when formatting the feed on the page, required
$config['style'] = '2';

// load the functions we need and show the feed based on above settings
include_once ('/var/www/html/_resources/php/news_v2/functions.php');
echo news_display_feed($config);

?>

Some of the links on this page may require additional software to view.

 Last Modified 11/10/17