Facebook Pixel Basic Card News Feeds | Western Kentucky University Skip to main content

Basic Card Style


Basic card style feeds display a default header, date, and description, with a button to read the full article inside of a card. Use Style 1 for no images and Style 2 to enable images. If you have no image uploaded a default image of big red will be used. This style uses the Article Image, not the Thumbnail Image. All basic card style feeds work in central and side columns.


 

Style 3 Basic Card Style - (No Images)


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...

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 4 - Basic Card Style (With Image Caps)


Unpublished Dependencies Checkbox

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

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'] = '4';

// 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