Skip to main content

Salient Shortcodes Plugin

Legacy plugin

Most sites no longer need this plugin. The Salient WPBakery Page Builder is the main way to build pages, and its elements cover what the shortcodes were written for, with settings you can see and adjust as you work.

It remains available for sites built before the page builder, or for adding a shortcode inside a widget or a plain text editor. Existing shortcodes keep working, so there is nothing you need to change.

Overview​

The shortcode plugin registers all the Salient shortcodes and adds a shortcode generator button to all TinyMCE enabled editors, so you can add shortcodes without having to remember any attributes. Shortcodes were the original way Salient provided reusable elements to users, but since page builder integration was added, they have become mostly obsolete. You may still want the plugin for one or two shortcodes which are not part of the page builder, such as the “dropcap” shortcode.

The WordPress Add New Page editor with the Nectar Shortcodes button outlined in red beside Add Media

The Nectar Shortcodes generator dialog with its dropdown open, Full Width Section highlighted among the column and element choices

Adding Shortcodes​

Click the “Nectar Shortcodes” button and make your selection in the popup modal. As shown above, a full list of shortcodes is available at the top to choose from, and all of the relevant options appear below. Once you’re ready to place the shortcode, click the green “Add shortcode” button at the bottom.

Shortcode List​

  • Columns (1/6 through 1/1). Column shortcodes all have the same attributes; the only difference is the column width that is generated. It’s recommended to generate these inside a “full width section” shortcode, which acts as the row. Make sure to check the box for “Last Column” when adding the last column in a row.
  • Full Width Section: Acts as a row to house columns. Also lets you expand a BG layer to the edges of the screen, outside the main container (when using Salient).
  • Nectar Slider: The slider made by ThemeNectar exclusively for Salient. Hardware accelerated, touch enabled, parallax effects and responsive. To learn more about this element, see the Sliders section of the documentation
  • Image With Animation: Creates a single image with an optional CSS animation.
  • Centered Heading: Centers a heading.
  • Divider: Creates a divider which can be used to create blank space or separate two elements/sections.
  • Dropcap: Alters the font size of the letter or word placed within it.
  • Milestone: An animated number with a label used to highlight a statistic or company milestone.
  • Icon: Adds an icon element based on the icon library and icon selected.
  • Button: Creates a Nectar Button in any of the available theme styles.
  • Toggle Panels: Reveals more content when the heading you define is clicked.
  • Tabbed Section: Offers you a tabbed user interface for content.
  • Testimonial Slider: Creates a slider for your testimonials.
  • Clients: Displays a series of client logos. They can be shown in a grid with the column number of your choosing or in an automatically rotating carousel.
  • Pricing Table: Creates a pricing table which can display in 2, 3, 4 or 5 columns.
  • Team Member: Displays an image of your choosing with name/job position.
  • Carousel: Creates a carousel to place your desired content in.
  • Social Buttons: Adds your desired social buttons to the page.
  • Video: Generates the WordPress Video shortcode.
  • Audio: Generates the WordPress Audio shortcode.
  • Portfolio: Queries for portfolio projects to display based on your configuration options.
  • Recent Projects: Similar to the portfolio element, except it offers different options and is meant for featuring small groupings of projects rather than displaying a full grid
  • Blog: Queries for blog posts in your desired style based on the configuration options you choose.
  • Recent Posts: Similar to the blog element except that it offers different options/styling and is meant for featuring small groupings of posts rather than displaying a full “blog” section.