This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// version 2.2 | |
// Updated jQuery to stable head | |
// removed padding changes on hover, too messy | |
// avoid Tweet This, ADN and Facebook Share links | |
// version 2.1 | |
// | |
// Fixed jQuery injection | |
// version 2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Cleaning up the WordPress <head> section | |
*/ | |
function rb_cleanupheaderlinks() { | |
remove_action('wp_head', 'rsd_link'); | |
remove_action('wp_head', 'wlwmanifest_link'); | |
remove_action('wp_head', 'wp_generator'); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The following characters are recognized in the format parameter string | |
| Format | Description | Example returned values | | |
| ------ | ----------- | ----------------------- | | |
| Day | | |
| ------ | ----------- | ----------------------- | | |
| %a | An abbreviated textual representation of the day | Sun through Sat | | |
%A A full textual representation of the day Sunday through Saturday | |
%d Two-digit day of the month (with leading zeros) 01 to 31 | |
%e Day of the month, with a space preceding single digits. Not implemented as described on Windows. See below for more information. 1 to 31 | |
%j Day of the year, 3 digits with leading zeros 001 to 366 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- http://www.456bereastreet.com/lab/styling-ordered-list-numbers/ --> | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<title>Styling ordered list numbers demo page | Lab | 456 Berea Street</title> | |
<style media="screen,print"> | |
@import '/css/lab.css'; | |
#body { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* Stop WordPress from adding those annoying paragraph tags */ | |
remove_filter( 'the_content', 'wpautop' ); | |
remove_filter( 'the_excerpt', 'wpautop' ); | |
?> |