Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
青色ボタンのショートコードを追加
/*青い光るボタンをショートコード化*/
function shinyblue( $atts, $content = null ) {
return '<div class="blue-shiny">' . $content . '</div>';
}
add_shortcode('blueshiny', 'shinyblue');
@norilog4

This comment has been minimized.

Copy link
Owner Author

@norilog4 norilog4 commented Mar 9, 2020

⬇️このコードの使い方を紹介しているブログ記事はこちら
https://noripon.blog/2020/03/09/how-to-make-wordpress-shortcode-css-shiny-button/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.