0
Welcome Guest! Login
0 items Join Now

Elixir: Latest News Particle

Your Guide to Recreating Elements of the Elixir Demo for Grav


Introduction

The Latest News particle displays your latest posts or featured content, along with images and text. You can vary the way these items appear, making them more appealing to the eye and magazine-like.

Here are the topics covered in this guide:

Configuration

Settings

These options affect the main area of the particle, and not the individual items within.

Option Description
Particle Name This is the name of the particle used for back end management. It does not appear on the front end.
Content Source Choose whether to have content load from particle items or the CMS.
CSS Classes Enter any CSS class(es) you wish to have apply to the particle.
Title Set a title for the particle.
Upper Title Enter a title to appear above the main title.
Grid Column Set the number of columns items appear in.
Date Format Select the date format to be displayed.

Particle Item Options

These items make up the individual featured items in the particle.

Option Description
Item Name This is the name of the item. This appears as the item's title on the front end.
Image Set an image to appear in the item.
Description Enter a text description for the item.
Price Enter a price for the item being described.
URL Enter a URL you would like the item to link to.
Target Select a target window for the URL to open through.

Pages

Option Description
Categories Select the categories of pages this particle will display.
Number of Pages Enter the maximum number of pages to display.
Start From Enter offset specifying the first page to return. The default is '0' (the first page).
Order By Choose the type of factor to order by.
Ordering Direction Choose between Ascending and Descending as the page ordering method.

Display

This section configures how posts are displayed.

Option Description
Image Choose between the Intro, Full, or no image to display with each item.
Article Text Choose between Introduction, Full Article, or Hide content text to display.
Text Limit Enter a limit (in characters) of page text to display with each item.
Text Formatting Choose between Plain Text and HTML text formatting options.
Category` Choose to Show or Hide the page's category.
Title Show or Hide the page's title.
Title Limit Enter the maximum number of characters in the title to display.
Link Show or Hide the link.
Target Choose whether to have the link open in a new tab or the same tab.

Found errors? Think you can improve this documentation? Please edit this page. You can also view the history of this page.