mirror of
https://github.com/kennethreitz-archive/wordpress-skeleton.git
synced 2026-06-05 23:50:19 +00:00
45 lines
2.1 KiB
PHP
45 lines
2.1 KiB
PHP
<?php
|
|
/*
|
|
Plugin Name: Post-Plugin Library
|
|
Plugin URI: http://rmarsh.com/plugins/post-plugin-library/
|
|
Description: Does nothing by itself but supplies common code for the <a href="http://rmarsh.com/plugins/similar-posts/">Similar Posts</a>, <a href="http://rmarsh.com/plugins/recent-posts/">Recent Posts</a>, <a href="http://rmarsh.com/plugins/random-posts/">Random Posts</a>, and <a href="http://rmarsh.com/plugins/recent-comments/">Recent Comments</a> plugins. Make sure you have the latest version of this plugin.
|
|
Author: Rob Marsh, SJ
|
|
Version: 2.6.2.1
|
|
Author URI: http://rmarsh.com/
|
|
*/
|
|
|
|
/*
|
|
Copyright 2008 Rob Marsh, SJ (http://rmarsh.com)
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; either version 2 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, write to the Free Software
|
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
*/
|
|
|
|
define ('POST_PLUGIN_LIBRARY', true);
|
|
|
|
if ( ! defined( 'WP_CONTENT_URL' ) )
|
|
define( 'WP_CONTENT_URL', get_option( 'siteurl' ) . '/wp-content' );
|
|
if ( ! defined( 'WP_CONTENT_DIR' ) )
|
|
define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' );
|
|
if ( ! defined( 'WP_PLUGIN_URL' ) )
|
|
define( 'WP_PLUGIN_URL', WP_CONTENT_URL. '/plugins' );
|
|
if ( ! defined( 'WP_PLUGIN_DIR' ) )
|
|
define( 'WP_PLUGIN_DIR', WP_CONTENT_DIR . '/plugins' );
|
|
|
|
if (!defined('CF_LIBRARY')) require(WP_PLUGIN_DIR.'/post-plugin-library/common_functions.php');
|
|
if (!defined('ACF_LIBRARY')) require(WP_PLUGIN_DIR.'/post-plugin-library/admin_common_functions.php');
|
|
if (!defined('OT_LIBRARY')) require(WP_PLUGIN_DIR.'/post-plugin-library/output_tags.php');
|
|
if (!defined('ADMIN_SUBPAGES_LIBRARY')) require(WP_PLUGIN_DIR.'/post-plugin-library/admin-subpages.php');
|
|
|
|
?>
|