Skip to content

πŸ™Œ 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.

Notifications You must be signed in to change notification settings

peppapig13132/wp-post-cta-shortcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 

Repository files navigation

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

About

πŸ™Œ 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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages