Related Posts Element

Last Update: March 22, 2024

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

For privacy reasons YouTube needs your permission to be loaded.

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 Elements.

When you go to add an Element in a Content Layout Section, the Element dialog opens in a new tab called Layout 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

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

HeadingDescription
LayoutControls the layout style for related posts and related projects.
Number of Related PostsControls the number of related posts and projects that display on a single post.
Maximum ColumnsControls the number of columns for the related posts and projects layout.
Column SpacingControls the amount of spacing between columns for the related posts.
Image SizeControls if the featured image size is fixed (cropped) or auto (full image ratio) for related posts. IMPORTANT: Fixed works best with a standard 940px site width. Auto works best with larger site widths.
AutoplayTurn on to autoplay the related posts carousel.
Show NavigationTurn on to display navigation arrows on the carousel.
Mouse ScrollTurn on to enable mouse drag control on the carousel.
Scroll ItemsControls the number of items that scroll at one time. Set to 0 to scroll the number of visible items.
Element VisibilityChoose to show or hide the element on small, medium or large screens. You can choose more than one at a time.
CSS ClassAdd a class to the wrapping HTML element.
CSS IDAdd an ID to the wrapping HTML element.

Design

HeadingDescription
Enable HeadingTurn on if you want to display default heading.
HTML Heading TagChoose HTML tag of the heading, either div, p or the heading tag, h1-h6.
MarginEnter values including any valid CSS unit, ex: 4%.

Extras

HeadingDescription
Animation TypeSelect the type of animation to use on the element.
Direction of AnimationSelect the incoming direction for the animation.
Animation ColorSelect the color of the animation
Speed of AnimationType in speed of animation in seconds (0.1 - 5).
Animation DelaySelect the delay time after the animation starts(0 - 5).
Offset of AnimationControls when the animation should start.