Skip to content

A WordPress plugin to show how shortcodes work with 3 unique examples.

License

Notifications You must be signed in to change notification settings

SalmanRavoof/salcodes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

salcodes

A WordPress plugin to show how shortcodes work. This demo plugin is a companion piece to Kinsta's ultimate guide on shortcodes. It includes 3 unique examples with increasing complexities, demonstrating how different types of shortcodes are created.

1. Output the Current Year

  • Shortcode Tag: [current_year]
  • Type: Self-closing
  • Attributes: None

2. Insert a Call to Action Button

  • Shortcode Tag: [cta_button]
  • Type: Self-closing
  • Attributes: link | id | color | size | label | target

3. Wrap Content around a Titled Colorful Box

  • Shortcode Tag: [boxed]
  • Type: Enclosing
  • Attributes: title | title_color | color

About

A WordPress plugin to show how shortcodes work with 3 unique examples.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published