Shortcodes

There are several shortcodes you can use to display certain information on your website.


Current Year

To display the current year anywhere on your website, use the [wpbf_year] shortcode.

Result: 2021


Publisher (deprecated)

To credit the developer/designer of the website in the footer, we can use the the [credit] Shortcode. We simply need to specify the publisher name & the actual link to the website. The shortcode will then render a nofollow-link to the publishers website like this.

Shortcode: [credit]

Powered by the [credit url="https://wp-pagebuilderframework.com" name="Page Builder Framework"]

Result: Powered by the Page Builder Framework


Breadcrumbs

Display Breadcrumbs anywhere on your website.

Shortcode: [wpbf-breadcrumbs]


Social Icons

You can set up and customize Social Profile icons under General -> Social Media Links & General -> Social Media Icons inside the WordPress Customizer. To display them in the footer or anywhere else on your website, simply use the [social] shortcode.

Shortcode: [social]


Responsive YouTube & Vimeo videos

We made it easy to add responsive YouTube & Vimeo videos to your website. Simply use the [wpbf-responsive-video] shortcode and your video automatically adjusts to its parent width.

Shortcode: [wpbf-responsive-video src="url-from-embed-link"]

[[wpbf-responsive-video src="https://www.youtube-nocookie.com/embed/GH28y-XjHdo"]]

In terms of GDPR, you can chose wether you want the video to load automatically or let people opt-in before establishing a connection to YouTube or Vimeo.

This can be done by adding the opt_in tag to the shortcode.

[[wpbf-responsive-video src="https://www.youtube-nocookie.com/embed/GH28y-XjHdo" opt_in="true"]]

Note: you can’t simply copy and paste the url to your YouTube/Vimeo. Make sure to grab the embed-link from the actual iframe like this:

Example:

Click the button below to load the video from YouTube.

Load Video

Last updated on: May 27th, 2021


Related Articles

Scroll to Top

Download

Download Page Builder Framework and be the first to get informed about new features & updates!

OR

Get 10% off our Premium Add-On (yearly plan).
Coupon Code to enter during checkout: 10OFF View Pricing