General Help

How To Use a Shortcode

To use a shortcode, you just paste it into any WordPress page or post. Instead of pasting it, you can type it. (If you use Gutenberg, see below.)

For example, to use the birth report shortcode on a WordPress post, type the shortcode into the editor:

ZodiacPress birth report Shortcode, classic editor

Visitors to your site will not see the actual shortcode. Instead, they will see something that replaces the shortcode. For example, when you use that shortcode on a page, your visitors well see the birth report form. Every shortcode does something different.

You can also add other stuff on the page, either before or after the shortcode. Here is an example that has some introductory text first, and then the shortcode.

ZodiacPress birth report Shortcode, classic editor

 

How To Use a Shortcode in Gutenberg, The New WordPress Editor

If you’re using Gutenberg (the new WordPress editor), you will use shortcodes a little differently than before. Instead of just pasting or typing the shortcode, the Gutenberg WordPress editor requires 3 steps:

  1. First, click on the shortcode icon:

     
    How To Use a Shortcode in Gutenberg WordPress Editor

  2. Then, a shortcode block will appear:
     
    Shortcode Block in Gutenberg WordPress Editor
  3. Then, you can paste or type the shortcode into the shortcode block:

    ZodiacPress Birth Report Shortcode in Gutenberg WordPress Editor

Ask a Question

Your email address will not be published.