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.

by peppapig13132 · github.com/peppapig13132/wp-post-cta-shortcode · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/peppapig13132/wp-post-cta-shortcode/archive/refs/heads/main.zip

Readme

WP Post CTA Shortcode

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

Read the full README on GitHub →