Skip to content

BannerbearHQ/wp-bannerbear

Repository files navigation

Bannerbear WordPress Plugin

A WordPress plugin that adds Bannerbear Signed URL functionality to WordPress sites.

About

What is Bannerbear?

Bannerbear is a SaaS service that auto-generates images, based on dynamic parameters that you send, and templates you have set up on the Bannerbear back end.

What does this plugin do?

This plugin provides an easy interface to add Bannerbear Signed URL images to your WP theme.

Bannerbear Signed URLs are dynamic urls that generate images on the fly based on templates. This plugin helps you map WP variables (title, date etc) to templates, and then inserts those URLs into WP posts and pages.

One use case for this is auto-generating Open Graph images.

Who is this plugin for?

This plugin requires a Bannerbear Scale or Enterprise account and is best suited for agencies managing WordPress sites for multiple clients, or individual users with large WordPress sites.

Installation

Download the zip file from this repository or click here to download immediately.

Go to Wordpress Plugins and select "Add New".

Click "Upload Plugin" and upload the zip file.

202097949-cc673d0e-6146-41b8-a953-97402d45fe21

Install and activate the plugin.

202098866-0c8783af-e7c1-4d78-a986-5bb81906c32f

Usage

Creating a Signed URL Base

Pre-requisite: Create a Bannerbear project and add a template (or duplicate this sample template) to your project.

Go to Bannerbear Plugin.

go to bb plugin

Select ”Add New” and paste your Bannerbear Project API Key.

api key

Select from your list of templates.

template list

This will automatically create and grab a Signed URL Base from the template, and all available template modifications will be listed.

Template Configuration

Each API modifiable layer will have a dropdown menu that can be mapped with fields from the WordPress site. Select layers that you want to modify and choose where you want to apply the template/Signed URL.

It can also be embedded as a shortcode/snippet or added as a Block on WordPress pages.

Embed

Block

Examples

When configured, this plugin will generate images on the fly based on your WordPress data. For example:

Use as Open Graph Image

Display on Posts/Pages (after Content)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors