News Grid Style 2

The News Grid plugin for WordPress can be used to include into a post or page a News Grid style container, showcasing latest posts and featured images from set categories or overall posts. With 10 different display styles, the News Grid is a visual must have for news websites or blogs. Check below for example implementations and shortcode documentation:

Style 2 News Grid Examples

News Grid Shortcodes

Shortcode
 [x3m-newsgrid style="2" sectionA-title="X3M Shortcodes" sectionA-categoryid="4" sectionB-title="X3M News Grid" sectionB-categoryid="4" height="400px"] 
The shortcode can be used to display the Style 2 of the X3M News Grid. It can displays posts from 2 different categories, but one category only also works. Check above example for visual display of Style 2 News Grid.

You may also check design styles for other news grid options here: Style 1, Style 2, Style 3, Style 4, Style 5, Style 6, Style 7, Style 8, Style 9, Style 10.

News Grid Documentation

Here are the shortcode option settings available for News Grid Style 2:

Shortcode Settings Details
style=”2″ This is used to set the visual style of the News Grid.
sectionA-title=”Title A” This is used to set the title of Section A, visible on top of the News Grid.
sectionA-categoryid=”1″ This is used to set category ID from where latest posts will be pulled from to be displayed in Section A.
sectionB-title=”Title B” This is used to set the title of Section B, visible on top of the News Grid.
sectionB-categoryid=”1″ This is used to set category ID from where latest posts will be pulled from to be displayed in Section B.
height=”400px” This is used to set New Grid countainer height in pixels.