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)


New Feature: Global Search

Apr 26th, 2018

Global Search allows you to search your entire OU Campus account for any type of content (files, users, groups, etc.)....

Read More

New Snippets Available for Migrated Templates

Apr 3rd, 2018

Snippets have become a main building block when making pages in your migrated site. Since migration template workshops began the WebDev group have added some new snippets to use....

Read More

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
<?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)


New Feature: Global Search

New Feature: Global Search

Apr 26th, 2018

Global Search allows you to search your entire OU Campus account for any type of content (files, users, groups, etc.).

Read More
New Snippets Available for Migrated Templates

New Snippets Available for Migrated Templates

Apr 3rd, 2018

Snippets have become a main building block when making pages in your migrated site. Since migration template workshops began the WebDev group have added some new snippets to use. You can browse all snippets on the Funny Monkeys website.

Read More
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
<?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 3/28/18