Page Templates


Rayden categorizes pages depending on their settings and templates. These page templates are:


  • Default - This is the default template. The layout of a default page includes a hero section with captions followed by page content and the footer panel.
  • Blog - A page containing all blog posts. Apart from the page options, additional settings about this template can be found in Customizer » Blog Options
  • Showcase Templates - These page templates display all the Rayden portfolio items using the slider in different layouts. The templates are as follows:

    • Liquify Slider
    • Parallax Slider
    • Floating Lists
    • Sticky Showcase
    • Parallax Carousel
    • Vertical Covers
    • Mixed Carousel
    • High Columns
    • Split Slider
    The showcase sliders have a special section in page options with additional settings in Customizer » Showcase Settings
  • Portfolio and Portfolio Mixed - These page templates display Rayden portfolio items as creative masonry grid. The Portfolio Mixed groups the portfolio items as primary and secondary items and displays them accordingly. Apart from the page options concerning this template, additional settings can be found in Customizer » Portfolio Options. The portfolio templates have several layout types that can be selected in the portfolio page options: Bricks, Creative, Classic, Ladder, Packery Metro, Sided, Spaced Metro, Tall.

Page Options


Page options are divided into four groups: all page templates (General), Portfolio and Portfolio Mixed template(s), Showcase template(s) and Floating List template



General Options
  • Background Color – The background color of this page. It can be White (with dark content) or Black (with light content). The logo version (light or dark) will be selected automatically depending on this setting.
  • Display Hero Section – A hero is the header section of the page displaying html content. For Hero settings please refer to Hero Section.
  • Enable/Disable Page Navigation – Enable page navigation section displayed above the footer. Available only in Default, Portfolio and Portfolio Mixed templates.
  • Page Navigation Caption - First Line – Caption displayed when hovering over the next page title. Displayed in two lines. This is the first (top) line.
  • Page Navigation Caption - Second Line – Second line of the displayed when hovering over the next page title.
  • Page Navigation Next Page Url – The url of the next page in navigation.
  • Page Navigation Next Page Title - First Row – The title of the next page in navigation. Displayed in two rows. For an optimal transition between pages this field is the next page hero title or next page title (if hero is disabled). Enter just plain text, not HTML.
  • Page Navigation Next Page Title - Second Row – The second row of the next page title.



Portfolio Options
  • Category Filter – Paste here the portfolio category slugs you want to include in the Portfolio or Showcase templates, separated by comma. Do not include spaces. For example photography,branding. It will exclude the rest of the categories. The portfolio category slugs can be found in Portfolio -> Categories.
  • Portfolio Layout Type – Type of layout in this portfolio page: Bricks, Creative, Classic, Ladder, Packery Metro, Sided, Spaced Metro, Tall. These layouts can be all previewed in our demo under Portfolio: Click here to access the demo page
  • Caption Type – How the portfolio item caption is displayed in relation with its thumbnail: default, hover or tooltip.
  • Appear Effect – This type of effect is applied to portfolio thumbnails. For Sided portfolio layout, the appear effect is always Scale Width.
  • Maximum Number Of Items In Portfolio Mixed – Available only for Portfolio Mixed Template: the maximum number of portfolio items displayed. Leave empty for ALL.
  • Page Content Position – Available only for Portfolio Mixed Template: page content position in relation with portfolio grid.



Showcase Templates
  • Intro Caption – The introductory text displayed at the top of the list. It applies to showcase floating list and vertical covers templates.

Floating List Templates
  • All Projects Caption – Caption of the button displayed to the bottom left of the floating list leading to the all projects page.
  • All Projects Page URL – The URL of the page containing all projects. Leave empty if you do not want to display the all projects button.

Portfolio Post Options


Every portfolio item will be included in the Showcase or Portfolio page templates as long as they have a Hero image, so, ideally, each item will have a Hero image. The hero image will be displayed as the showcase slide and at the top of the individual project page.

  • Background Color – The background color of this project page. It can be White (with dark content) or Black (with light content). The logo version (light or dark) will be selected automatically depending on this setting.
  • Thumbnail Size – Size of the thumbnail for this item as it appears in portfolio grid page templates. Normal, Tall or Wide. The thumbnail image is the hero image assigned for this item.
  • Mixed Carousel Thumbnail type – Size of the thumbnail for this item as it appears in the Mixed Carousel page template.
  • Include In Showcase Slider – Include this portfolio item in the Showcase slider. The slider is displayed in Showcase page template.
  • Hero Image – Upload hero background image. The hero image is being displayed in portfolio showcase. Hero section is the header section displayed at the top of the project page.
  • Video Hero – Video displayed as hero section and showcase slide. If you check this option set the Hero Image as the first frame image of the video to avoid flickering!
  • Webm Video Url – URL of the showcase slide background webm video. Webm format is previewed in Chrome and Firefox.
  • Mp4 Video Url – URL of the showcase slide background MP4 video. MP4 format is previewed in IE, Safari and other browsers.
  • Hero Caption Title – Caption title displayed over hero section. The hero background image is set in the hero image set in preceding option.
  • Hero Caption Subtitle – Caption subtitle displayed over hero section. Enter plain text.
  • Scroll Down Caption – Scroll down caption displayed to the left of the hero image indicating scrolling down to reveal the content. Leave empty for no scroll down button.
  • Hero Position – Position of the "hero" section displayed as page header. Fixed or Parallax.

Blog Post Options


The featured image of a post is displayed in the blog page as post thumbnail.

  • Background Color – The background color of this blog post page. It can be White (with dark content) or Black (with light content). The logo version (light or dark) will be selected automatically depending on this setting.
  • Header Caption Alignment – The alignment of the blog post caption.

Hero Section


A hero is the header section of a page, post or portfolio item page displaying html content and for portfolio items, a background image.

You can add any overlaying html content using Hero Title and Subtitle fields. For a blog post the caption is the post title and its categories.

If there is no hero section, disable it in the page options for default templates.




Hero Options

The hero section options varies depending on the post type (page, blog post or portfolio item) however each hero section can have the following options:


  • Hero Caption Title – Caption title displayed over hero section.
  • Hero Caption Title - First Row and Hero Caption Title - Second Row – First row and second rows of the hero title. Each row is being wrapped in a <span>.
  • Hero Caption Subtitle – Caption subtitle displayed over hero section. HTML code allowed in this field.
  • Hero Caption Alignment – The alignment of the hero caption.

For portfolio items you can define video hero section, in which case the corresponding showcase slide will display the video as well:

  • Video Hero – Video displayed as hero section and showcase slide. If you check this option set the Hero Image as the first frame image of the video to avoid flickering!
  • Webm Video Url – URL of the showcase slide background webm video. Webm format is previewed in Chrome and Firefox.
  • Mp4 Video Url – URL of the showcase slide background MP4 video. MP4 format is previewed in IE, Safari and other browsers.

Predefined CSS classes used in our live demo and available in the theme


Several classes have been defined in order to properly align and display Rayden Gutenberg blocks and WPBakery Page builder rows. You can specify them as Additional CSS Class in Gutenberg or Extra class name in row's options in WPBakery. They are as follow:

  • row_padding_all – padding space on all sides (8vw).
  • row_padding_top – top padding space to the row (8vw).
  • row_padding_bottom – bottom padding space to the row (8vw).
  • row_padding_left – left padding space to the row (8vw).
  • row_padding_right – right padding space to the row (8vw).
  • white-section – when added to a clapat gutenberg container as extra class name will define a light background section within the page, regardless the overall page background color.
  • dark-section – when added to a clapat gutenberg container as extra class name will define a dark background section within the page, regardless the overall page background color.
  • small – small row width.
  • medium – makes the row default width.
  • large – makes the row almost full width.
  • full – makes the row full width.
  • text-align-center – center aligns the text within the row.
  • has-animation – adds an animation effect
  • has-mask – Use only for Headings for letters fade in effect
  • has-parallax – adds a parallax effect to all the images inheriting this class.
  • one_half – First 1/2 Column
  • one_half last – Last 1/2 Column
  • one_third – 1/3 Columns
  • two_third last – 2/3 Column

Note to the WPBakery users: WPBakery row's properties and some of the elements are not compatible with AJAX loading. It is recommended to use our shortcodes, predefined classes or create your own CSS classes in appearance -> customizer -> additional CSS and add them to Extra class name attribute of the current row. This works great with AJAX loading. More workarounds for WPBakery and loading pages with AJAX: Here


Shortcodes


Rayden comes pre-packed with a number of shortcodes allowing you to add styled content to your site with little effort. Rayden is tightly integrated with Gutenberg editor, therefore you will see them when adding a new block. Rayden blocks appear under Rayden Blocks section

Rayden is also tightly integrated with WPBakery Page Builder editor, therefore you will see them when adding a new element.

The shortcodes are grouped in several categories:


  • Typo Elements – Title, Button, Space Between Buttons, Text Link
  • Elements – Accordion, Contact Info Box, Map, Image Collage, Popup Image, Video Hosted, Icon Service, Clients, Marquee Content
  • Sliders - Normal Image Slider, Carousel Image Slider


If you choose not to disable Gutenberg or WpBakery Page Builder, conveniently, the available shortcodes have been included in a menu and shortcode editor. When creating a page or post, click the black R icon in the tinymce editor to access a list of shortcodes


WPML Compatible


Translating theme options

Follow the WPML configuration file shipped with the theme to see which options are translatable and which are not. You can add or change the properties of the fields. The theme options can be found in /include/admin-config.php. The metabox options can be found in /include/metabox-config.php


Theme Translation

Rayden is fully localized and it has included the generated PO (Portable Object) in /languages folder. It contains translatable strings used by the theme.


Please visit the following links to learn more about translating WordPress themes:

Translating WordPress
Load Theme Textdomain