Documentation

Installation

Installing the particle on your website is a really simple process. You just need to follow the below instructions depending on the platform you are on.

This Particle requires the "UIkit for Gantry5" Atom to be loaded. Make sure you have installed and enabled the "UIkit for Gantry5" Atom before proceeding with the instructions below!

Installing on Grav CMS

  1. Download the news-pro-grav-particle.zip file.
  2. UNZIP it on your computer. You will find three files - news-pro-grav.html.twig, news-pro-grav.yaml and _news-pro-grav.scss.
  3. Copy the news-pro-grav.html.twig and news-pro-grav.yaml files to root/user/data/gantry5/themes/THEME_DIR/particles/ (if the particles folder does not exist, you will need to create it manually). Basically, this step is the same as the one described in the Creating a New Particle chapter in the Gantry 5 Documentation.
  4. Copy the _news-pro-grav.scss file to root/user/data/gantry5/themes/THEME_DIR/scss/ (if the scss folder does not exists, you will need to create it manually).
  5. Add the following code in your custom.scss file. If the custom.scss file does not exists, you will need to create it manually. Also, make sure your custom.scss file has the @import "dependencies"; code at the very top. Basically, this step is the same as the one described in the Adding a Custom Style Sheet chapter in the Gantry 5 Documentation.

    // News PRO (Grav) Particle
    @import "news-pro-grav";

The following video shows the above steps in details (watch it in Fullscreen and FullHD for better quality). The video is for the "Slideshow" particle but the installation process is pretty much the same.

Watch the Video

Usage

All particles by nature are really intuitive and easy to use. Also, most of the fields in the particle have a tooltip text that explains what it is about.

The "News PRO (Grav)" particle allows you to fetch Grav content automatically and display it however you like. Have a look at the Demo Video, it shows everything!

Watch Demo Video

Download

You can download all particles from our Download Section.

Become an insider | Subscribe to our Newsletter
Subscribe to our mailing list and stay up-to-date with all our awesome releases, latest updates and amazing discount offers!