Shortcodes

The theme comes with a number of shortcodes allowing you to add the info where you want the relevant content to show up. In addition, you can use Visual Composer to add new elements to the page in a simple way. 

More information on how to use Visual Composer properly can be found here:

Below is a list of shortcodes included in Riga theme.

Title shortcode

Parameters:

  • Title  – the shortcode title 
  • Subtitle –  the subtitle will be placed before title
  • Description – a short description regarding the block
  • First button text – the buttons text
  • First button URL – the URL where the link from the button leads to

Style section

  • Button position – select the button positionIt can take one of the following values: bottom, right
  • Vertical centered content – click yes to enable the option
  • Text align – the way to align the text left, right, center

Title/subtitle section:

  • Style – the title/ subtitle style. It can take one of the following values: custom, default
  • Font size – enter font size
  • Text color – select heading color.

Headline block

Parameters:

  • Title – the heading title
  • Description – a short description can be added
  • Block align – the way to align the block: left, right, center
  • Style color – the headings color. It can be light or dark
  • Extra class name – class name for element. Allows to set up additional decorations for element in CSS stylesheets.

Tabs shortcode

Parent shortcode. Parameters:

  • Select style –  the block can be displayed in two ways: classic or modern
  • Light style – click yes to enable light style
  • Extra class name – class name for element. Allows to set up additional decorations for element in CSS stylesheets.
  • Style section: 
  • Title color – select color for title 
  • Title font size –  enter font size
  • Content color – select color for content
  • Content font size – enter font size

Child shortcode:

  • Select type of heading tabs – the headings tabs type: icon or text 
  • Icon style – the icon type: flat icon or font awesome
  • Item text – short description can be placed here

Progress shortcode

Parameters:

  • Style process – the process style. It can take one of the following values: style 1, style 2, style 3
  • Title – the title for progress block
  • Numbers – add numbers here
  • Icon style – select from drop down list the style of icon
  • Extra class name – class name for element. Allows to set up additional decorations for element in CSS stylesheets.

Icon text shortcode

Parameters:

  • Title – the title for icon text shortcode
  • Icon style – the icon type. It can take one of the following values: flat icon, ION, font awesome
  • Flat icon – select icon from library
  • Content – add short content text
  • Extra class name – class name for element. Allows to set up additional decorations for element in CSS stylesheets.

Team shortcode

Parameters:

  • Type – the item type, it can be text or image
  • Style – the type style ( style 1, style 2 )
  • Image – upload image
  • Title/subtitle – the item title/subtitle 
  • Text – a short team member description 
  • Link– the URL where the link from the button leads to

Clients shortcode

Parameters:

  • Image – upload logo image
  • Link –  the URL where the link from the image leads to

Testimonials shortcode

Parent shortcode:

  • Type – the testimonials style. It can take the following values (style 1,2,3, team style)
  • Dark style for subtitle/title /description – click yes to enable dark style
  • Title/subtitle – the testimonials block title/subtitle 
  • Description –  a short additional information
  • Extra class name – class name for element. Allows to set up additional decorations for element in CSS stylesheets.

Child shortcode:

  • Author – an author`s name
  • Position – the author`s profession 
  • Content – a short feedback text
  • Image – upload icon 
  • Social (icon and url) – social network data can be added here

Portfolio shortcode

Parameters: 

  • Custom categories – You can choose specific categories for blog, default is all categories
  • Order by – the way posts should be ordered
  • Order type – the way posts should be ordered: ascending, descending
  • Count items –  a  number of posts on the page. Default is 10 items.

Content shortcode

Parameters:

  • Style slider – the slider style: default, modern, classic
  • Title – the slider title
  • Description – a short description text
  • Image slide – upload image
  • Button – buttons` title and URL where the link from the button would lead to
  • Content image – upload image here
  • Content image position – select alignment of the image 
  • Content position – select alignment of the content text

Contact info shortcode

Parameters:

  • Type item – the item type can be either text or social
  • Title – the contact title 
  • Text – a short description can be added here
  • Align –  select the block alignment: left, right, center
  • Extra class name – class name for element. Allows to set up additional decorations for element in CSS stylesheets.

Map shortcode

Parameters:

  • Title – the map title 
  • Select image/icon – select either image or icon
  • Icon style – select icon from library
  • Latitude /Longitude –  the map coordinates
  • Marker – Map marker image
  • Map zoom – map zooming value. Max – 19, min – 0.
  • Marker text – the text which will appear when click on icon
  • Google API key – API keys

Blog shortcode

Parameters:

  • Custom categories – You can choose specific categories for blog, default is all categories
  • Order by – the way posts should be ordered
  • Order type – the way posts should be ordered: ascending, descending
  • Count items –  a  number of posts on the page. Default is 10 items.
  • Link –  the URL where the link from the button leads to

Services shortcode

Parameters:

  • Type – the item type. It can take one of the following values: text, image
  • Icon – select icon from library.
  • Title/subtitle – item`s title/subtitle
  • Text – a short text should be added
  • Arrow – select arrow position: left, right or center

Pricing shortcode

Parameters:

  • Title – the pricing title 
  • Description – a short description should be added here 
  • Currency – use currency icons, like $, €…
  • Price – the product/service price 
  • Interval – time interval, like day, week, month…
  • Content list – title list and icon should be selected
  • Link – the URL where the link from the button leads to

Was this article helpful?

Related Articles