Using a shortcode code example
Example: how to create shortcode
<?php
function abc()
{}
////create shortcode////
add_shortcode('page_name','abc');
?>
<?php
function abc()
{}
////create shortcode////
add_shortcode('page_name','abc');
?>