Notice the shortcode in the highlighted area. This is the shortcode that corresponds to your widget. You can embed the widget anywhere on your WordPress website by adding this Shortcode.
Shortcodes are a convenient and time-efficient method to display your widget on various posts and pages. Within a few seconds, you can embed your widget and publish it anywhere on your website. Let's see how this works.
Copy the Shortcode displayed on the right-hand side of the widget page. Just by clicking the Shortcode once, you can copy it to your clipboard.
Select 'Posts' from the left-hand side panel and then choose 'Add New'. Add a title to your post.
Now, click the + icon at the top left corner of the page and select 'Widgets'. Now select Shortcode [/]. Paste the Shortcode of your widget into the respective field and click 'Preview' to see how your widget will look once it is published. Now, click 'Publish' to publish your widget.
There's also a simple trick to add your widget's Shortcode to your theme using the following php code.
//Php code to embed your widget onto your theme
<? php echo do_shortcode("[shortcode]"); ?>
In our context, we'll be adding the shortcode generated for our widget like this,
<? php echo do_shortcode("[mcrypto id="19"]"); ?>