Create a WordPress shortcode using PHP [duplicate]
This is a basis of the shortcode to be placed in your functions.php or custom plugin. You will need to edit it to fit your needs: //Shortcode function can be called whatever you want function merchantname_shortcode( $atts ) { $atts = shortcode_atts( array( //Creates a arg “merchantname” with no default value. //To use this arg … Read more