WP Manifestindependent plugin directory
manifest / content / wp-post-cta-shortcode

WP Post CTA Shortcode

🙌 A lightweight WordPress plugin that adds a customizable Call-to-Action (CTA) section to single post pages using custom fields. The CTA can be inserted via a shortcode or automatically appended to the post content.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/peppapig13132/wp-post-cta-shortcode/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

A lightweight plugin to add a customizable Call-to-Action (CTA) section to WordPress posts using custom fields and a shortcode.

What does CTA section include?

  1. Title
  2. Content
  3. Link

This plugin leverages WordPress's built-in custom fields feature.

How to Enable Custom Fields?

On Post edit page:

  1. Open Preferences modal (Under Options menu - three dots in top-right corner).
  2. Navigate to General > Advanced > Custom fields and enable Custom fields option.

Adding Custom Fields

In Custom Fields section of Post edit page, add follwoing fields:

  • post_cta_title
  • post_cta_content
  • post_cta_btn_text
  • post_cta_btn_link