Skip to content

Instantly share code, notes, and snippets.

@3200creative
Created March 10, 2015 21:08
Show Gist options
  • Save 3200creative/cbc67fe5e483bb17975a to your computer and use it in GitHub Desktop.
Save 3200creative/cbc67fe5e483bb17975a to your computer and use it in GitHub Desktop.
Add clear-line shortcode
//* General Class Shortcode
function clearline_func() {
return '<section class="clear-line"></section>';
}
add_shortcode( 'clear-line', 'clearline_func' );
/* Shortcodes */
.clear-line {
border-bottom: 1px solid #ddd;
clear: both;
padding-top: 40px;
margin-bottom: 40px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment