This file contains hidden or 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
cat /etc/redhat-release | |
# CentOS release 5.10 (Final) | |
sudo yum install yum-utils | |
sudo rpm -ivh http://ftp.riken.jp/Linux/fedora/epel/5/x86_64/epel-release-5-4.noarch.rpm | |
sudo rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm | |
This file contains hidden or 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: Post is in Descendant Category | |
Version: 1.1.0 | |
Plugin URI: https://gist.github.com/yorozu/4583960 | |
Description: Tests if any of a post's assigned categories are descendants of target categories or taxonomies | |
Author: KATO Yoshitaka | |
Author URI: http://curious-everything.com/ | |
Original: |