Shortcodes can be added to your website in a few different ways.
You can simply add the shortcode [ yumjam-masonry ] to the body content of any post, page, widget. When WordPress parses the post, page, widget content it converts the shortcode text into the appropriate output.
Shortcodes can also be added to PHP templates using the following code:
<?php
echo do_shortcode( ‘ [ yumjam-masonry ] ‘ );
?>
when the template is executed or included the do_shortcode fuction will return the appropriate output which can then be echoed to the page.