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.zipReadme
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?
- Title
- Content
- Link
This plugin leverages WordPress's built-in custom fields feature.
How to Enable Custom Fields?
On Post edit page:
- Open
Preferencesmodal (UnderOptionsmenu - three dots in top-right corner). - 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