Related Posts Element

24/08/2020

As part of Avada Layouts, available in Avada 7.0, we have created a series of Dynamic Elements that help generate content in the Content Layout Section of a Layout. These are called Layout Section Elements. In this document, we are looking at the Related Posts Element.

IMPORTANT NOTE: The Layout Section Elements are only available when editing Content Layout Sections in Avada Layouts.
View The Related Posts Element Page!

How To Use The Related Posts Element

The Related Posts Element is a specific post and portfolio element, designed to add related posts anywhere in a Content Layout Section, in any Single Post or Portfolio Layout. Of course, you can also use the full range of Design Elements when building your Layout, and combine them with the Layout Section Elements.

When you go to add an Element in a Content Layout Section, the Element dialog opens in a new tab called Layout Section Elements. This is where you will find the Related Posts Element.

The Related Posts Element can be placed anywhere in you Layout Section, and displays the specified number of posts or portfolio items, based on the options selected in the element, on pages based on the conditions set in the Layout.

There are quite a few options in the element, controlling layout and design. See the options panels below for specific details on that.

See below, for an example of the Related Posts Element as added to the Single Portfolio Layouts on the Interior Design Demo.

Example of the Recent Posts Element

Element Options

Location: The edit screen within each Element.

You can deploy the Layout Section Elements only once within each Layout. Within each of the Elements, you will see a tab or tabs that house an array of options that make it possible for you to configure each Element independently, and greatly enhance your flexibility and creative options.

Note: Please note that the displayed options screens below show ALL the available options for the element. If you have Avada’s Option Network Dependencies turned on, you will only see options relevant to your selections, and so the options screen may look somewhat different.

General Tab

  • Element Visibility – Allows you to control the Element’s visibility. Choose one or more between Small Screen, Medium Screen, or Large Screen.

  • CSS Class – Allows you to add a class for the Element.

  • CSS ID – Allows you to add an ID for the Element.

View The Options Screen

Design Tab

  • Enable Heading – Turn on if you want to display default heading.

  • HTML Heading Size – Choose the size of the HTML heading that should be used, h1-h6.

  • Show Author – Choose to show or hide the author in the Project Details.

  • Margin – In pixels or percentage, ex: 10px or 10%.

View The Options Screen

Extras Tab

  • Animation Type – Controls the column’s animation type. Choose between None, Bounce, Fade, Flash, Rubberband, Shake, Slide, or Zoom.

  • Direction of Animation – Controls the direction of animation on the column. Choose between Top, Right, Bottom, Left, or Static.

  • Speed of Animation – Controls the speed of animation on the column. Choose between 0.1 to 1.

  • Offset of Animation – Controls when the animation will start. Choose between Default, Top of element hits bottom of viewport, Top of element hits middle of viewport, or Bottom of element enters viewport.

View The Options Screen

Global Options

Layout Section Elements do not have any Global Options.