As of November 5th, 2013, this version of the blacklist will no longer be updated.
I have migrated the project to a full Git repository in order to better track changes, bugs, and feedback.
Check out Comment Blacklist for WordPress on GitHub.
// Original code from http://www.blog.highub.com/mobile-2/a-fix-for-iphone-viewport-scale-bug/ | |
var metas = document.getElementsByTagName('meta'); | |
var i; | |
if (navigator.userAgent.match(/iPhone/i)) { | |
for (i=0; i<metas.length; i++) { | |
if (metas[i].name == "viewport") { | |
metas[i].content = "width=device-width, minimum-scale=1.0, maximum-scale=1.0"; | |
} | |
} |
<?php | |
/** | |
* Duplicate this file as many times as you would like, just be sure to change the | |
* Empty_Widget class name to a custom name of your choice. Have fun! redrokk.com | |
* | |
* Plugin Name: Empty Widget | |
* Description: Single Widget Class handles all of the widget responsibility, all that you need to do is create the html. Just use Find/Replace on the Contact_RedRokk_Widget keyword to rebrand this class for your needs. | |
* Author: RedRokk Interactive Media | |
* Version: 1.0.0 | |
* Author URI: http://www.redrokk.com |
As of November 5th, 2013, this version of the blacklist will no longer be updated.
I have migrated the project to a full Git repository in order to better track changes, bugs, and feedback.
Check out Comment Blacklist for WordPress on GitHub.
<?php | |
/* | |
* dl-file.php | |
* | |
* Protect uploaded files with login. | |
* | |
* @link http://wordpress.stackexchange.com/questions/37144/protect-wordpress-uploads-if-user-is-not-logged-in | |
* | |
* @author hakre <http://hakre.wordpress.com/> | |
* @license GPL-3.0+ |
<?php | |
/*-----------------------------------------------------------------------------------*/ | |
/* Conditional Logic to Detect Various Event Related Views/Pages | |
/*-----------------------------------------------------------------------------------*/ | |
if( tribe_is_month() && !is_tax() ) { // Month View Page | |
echo 'were on the month view page'; | |
} elseif( tribe_is_month() && is_tax() ) { // Month View Category Page |
var bt = {}; // to call the functions outside of the jQuery wrapper because OctoPress is a bit of a JS mess. Hey, that rhymes. | |
(function($){ | |
bt = { | |
checkWinWidth: function() { | |
var width = $(window).width(); | |
if (width <= 500) { | |
if (!$('body').hasClass('mobile')) { | |
$('img').each(function(){ | |
var $this = $(this); |
<figure class="quote"> | |
<blockquote>It is the unofficial force—the Baker Street irregulars.</blockquote> | |
</figure> |
{ | |
"auto_complete": true, | |
"auto_complete_commit_on_tab": true, | |
"auto_indent": true, | |
"auto_match_enabled": true, | |
"bold_folder_labels": true, | |
"caret_style": "wide", | |
"color_scheme": "Packages/Color Scheme - Default/Blackboard.tmTheme", | |
"detect_slow_plugins": false, | |
"draw_minimap_border": true, |