- list
- indent 1
- indent 2
new line
- updated
this plugin
from v1.1.1 to 1.1.2- commentary
- more commentary
<div class="blockquote-wrapper"> | |
<div class="blockquote"> | |
<h1> | |
Start before you are ready | |
</h1> | |
<h4>—Steven Pressfield</h4> | |
</div> | |
</div> | |
<?php | |
/* | |
* from https://kb.yoast.com/kb/how-to-disable-automatic-redirects/ | |
* | |
* Yoast SEO Disable Automatic Redirects for | |
* Posts And Pages | |
* Credit: Yoast Development Team | |
* Last Tested: May 09 2017 using Yoast SEO Premium 4.7.1 on WordPress 4.7.4 | |
*/ | |
add_filter('wpseo_premium_post_redirect_slug_change', '__return_true' ); |
<?php | |
// Change ‘Enter Title Here’ Text For Custom Post Type | |
// http://wp-snippets.com/change-enter-title-here-text-for-custom-post-type/ | |
function change_default_title( $title ){ | |
$screen = get_current_screen(); | |
if ( '_your_custom_post_type_' == $screen->post_type ) { | |
$title = 'The new title'; | |
} |
// ---- | |
// Sass (v3.3.4) | |
// Compass (v1.0.0.alpha.18) | |
// Bootstrap Sass (v3.1.1.0) | |
// ---- | |
@import "bootstrap" |
<?php | |
/* Shortcodes in Widget text & titles */ | |
add_filter( 'widget_text', 'shortcode_unautop'); | |
add_filter( 'widget_text', 'do_shortcode'); | |
add_filter( 'widget_title', 'shortcode_unautop'); | |
add_filter( 'widget_title', 'do_shortcode'); | |
/* Additional Shortcodes */ | |
add_shortcode('url','url_shortcode'); |
body.login div#login h1 a { | |
background-image: url("/img/login-logo.png"); | |
background-size: 380px 55px; | |
background-position: center top; | |
background-repeat: no-repeat; | |
margin: 0 0 -20px -20px; | |
width: 380px; | |
text-indent: -9999px; | |
overflow: hidden; |