Button Shortcode
// Add Shortcode function button_shortcode( $atts , $content = null ) { // Attributes $atts = shortcode_atts( array( 'color' => 'white', 'link' => '#', ), $atts ); <a class="button button--${atts['color']}" href="">See Projects</a> } add_shortcode( 'button', 'button_shortcode' );