Convert my php code into shortcode
The basics of creating a shortcode are quite simple. You just need to create a function that returns the code you want to output in a string and register that function: function wpse_143641_homebox_shortcode( $atts ) { return <<<HOMEBOX <div class=”homebx01 clearfix ani-1″> <div class=”homebxhead clearfix”> <div class=”bxicon homebxicon01″></div> <div class=”bxheadtxt”>Category name</strong></div> </div> <div class=”cl”></div> <div … Read more