Home » Features » Shortcodes

Shortcodes

Shortcodes in WordPress are a powerful and versatile tool that allows you to add dynamic content and features to your posts, pages, and widgets with minimal effort. Whether you’re looking to display products, galleries, forms, or even custom functionality, shortcodes make it easy to add complex elements without writing a single line of code.

Our plugin contains a shortcode also: wpcb_configuration_template

What is a shortcode in WordPress?

A shortcode in WordPress is a simple code enclosed in square brackets ([ ]) that allows you to add specific functionality or content to a page or post.

Instead of manually embedding complex HTML or PHP code, you simply insert the shortcode, and WordPress takes care of the rest. Shortcodes are often used for things like displaying forms, embedding videos, or adding custom elements without needing to touch any code.

How to add a shortcode in WordPress

To use a shortcode, simply add it to the content editor of any page, post, or widget. Here’s how:

  • In the Block Editor (Gutenberg): Use the Shortcode block, which you can find by typing “Shortcode” in the block search. Paste the shortcode into this block.
  • In the Classic Editor: Simply paste the shortcode directly into the content area where you want it to appear.

Available shortcodes

The plugin has a few shortcodes available:

  1. wpcb_configuration
  2. wpcb_configuration_wrapper
  3. wpcb_configuration_wrapper_close
  4. wpcb_gallery
  5. wpcb_gallery_nav
  6. wpcb_form_title
  7. wpcb_form
  8. wpcb_form_totals
  9. wpcb_form_actions (pro)
  10. wpcb_form_summary
  11. wpcb_step_buttons (pro)
  12. wpcb_step_nav (pro)