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 | |
/* | |
Plugin Name: Debug Countdown Timer | |
Plugin URI: http://www.andrewferguson.net/wordpress-plugins/countdown-timer/ | |
Description: Debug things when they go wrong | |
Version: 0.1 | |
Author: Andrew Ferguson | |
Author URI: http://www.andrewferguson.net | |
Debug Countdown Timer - Debug things when they go wrong |
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
#! /bin/bash | |
# A modification of Dean Clatworthy's deploy script as found here: https://github.com/deanc/wordpress-plugin-git-svn | |
# The difference is that this script lives in the plugin's git repo & doesn't require an existing SVN repo. | |
# main config | |
PLUGINSLUG="______your-plugin-name______" | |
CURRENTDIR=`pwd` | |
MAINFILE="______your-plugin-name______.php" # this should be the name of your main php file in the wordpress plugin | |
# git config |
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 | |
include(CFCT_PATH.'header/featured/init.php'); | |
if($image === ''){ | |
global $post; | |
if(get_post_meta($post->ID, 'wp_thumbnail', TRUE)){ | |
$class[] = 'has-featured-img'; | |
$class = implode(' ', $class); |
NewerOlder