Dynamic Social Images for Wordpress

Published December 09, 20211 min read

Dynamic Social Images for Wordpress

Meta Link is a way of accessing and generating images on demand without using any fancy tools. You only need to edit your HTML code. Add a few magic links to your <head/> and you are good to go.

Automatic blog post generation for social media

How to configure?

Configuration is simple and does not require any special skills nor Wordpress plugins.

  1. Open Wordpress admin panel
  2. Expand Appearance menu on the left side
  3. Open Theme Editor
  4. On the right side choose 'header.php' file
  5. Paste your configuration code into editor
  6. Click 'Save changes' on the bottom

Wordpress: Automatic Social Image Previews

Configuration code must be pasted between <head> and </head> tags.

Test configuration

Open our Open Grap Preview Tool and paste url to your blog post and see if the image is correctly generated.

General Meta Link Example

<head>
  <meta 
    property="og:image" 
    content="https://get.bannerly.io/og/TEMPLATE_ID.jpg?url=YOUR_BLOG_POST_URL">
  <meta 
    name="twitter:image" 
    content="https://get.bannerly.io/og/TEMPLATE_ID.jpg?url=YOUR_BLOG_POST_URL">  
    <!-- other meta tags -->
</head>

Resources


Share article

See all articles

Design. Automate. Scale.

Free plan • No credit card required • Get started in minutes