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 | |
$posts = multisite_latest_post( array( | |
"how_many"=>10, | |
"how_long_days"=>30, | |
"how_many_words"=>50, | |
"more_text"=>"[...]", | |
"remove_html"=>true, | |
"sort_by"=>"post_date", | |
// if paginating: | |
"paginate"=>true, |
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
* { | |
margin: 0; padding: 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
Show hidden characters
[ | |
{ "keys": ["{"], "command": "insert_snippet", "args": {"contents": "{\n\t$0\n\t}"}, "context": | |
[ | |
{ | |
"operand": "source.css - source.css.embedded, source.css.embedded.html", | |
"operator": "equal", | |
"match_all": true, | |
"key": "selector" | |
} | |
] |
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
.search__checkboxes { | |
margin-top: 10px; | |
margin-left: 10px; | |
overflow: hidden; | |
} | |
.search__checkboxes .input.checkbox { | |
} | |
.label-ceckbox { |
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
<div class="search__checkboxes"> | |
<span class="input checkbox checked"></span> | |
<span class="label-ceckbox">Label 1</span> | |
<span class="input checkbox"></span> | |
<span class="label-ceckbox">Label 2</span> | |
</div> |
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
$fql = "SELECT url, normalized_url, share_count, like_count, comment_count, "; | |
$fql .= "total_count, commentsbox_count, comments_fbid, click_count FROM "; | |
$fql .= "link_stat WHERE url = 'the_permalink()'"; | |
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 | |
if( strpos($post->post_content, '<!--more-->') ) { | |
preg_match ('/(.*)<!--more-->/s', $post->post_content, $match); | |
echo $match[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
RedirectMatch 301 ^/(\d+)$ http://sitename.com/?p=$1 |
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
alias chrome-local='open /Applications/Google\ Chrome.app --args --allow-file-access-from-files' |
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
(function($){ | |
$('#bulk-edit .inline-edit-col-right .inline-edit-col') | |
.append( | |
'<label><span class="title">Date</span></label>' | |
+'<div class="inline-edit-date">' | |
+'<div class="timestamp-wrap"><select name="mm">' | |
+'<option value="00">Select</option>' | |
+'<option value="01">01-Jan</option>' | |
+'<option value="02">02-Feb</option>' | |
+'<option value="03">03-Mar</option>' |
OlderNewer