Remove duplicate button shortcode.

This commit is contained in:
MickeyKay
2014-12-19 14:12:47 -08:00
parent 2c9d35ab7f
commit 0307d91ec3
-16
View File
@@ -45,22 +45,6 @@ function trestle_column( $atts, $content = null ) {
}
add_shortcode( 'col', 'trestle_column' );
/**
* Buttons
*
* Example:
* [button href="url" class="class"]Text[/button]
*/
function trestle_button( $atts, $content = null ) {
extract( shortcode_atts( array(
'href' => '#',
'title' => '',
'class' => '',
), $atts ) );
return '<a class="button ' . $class . '" href="' . $href . '" title="' . $title . '">' . do_shortcode( $content ) . '</a>';
}
add_shortcode( 'button', 'trestle_button' );
/**
* Button
*