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
add_action( 'init', 'create_post_type'); | |
function create_post_type() { | |
register_post_type('faqs', | |
array( | |
'labels' => array( | |
'name' => __( 'FAQs' ), | |
'singular_name' => __( 'FAQ' ) | |
), |
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 | |
/* | |
* Template Name: FAQ Page | |
*/ | |
?> | |
<?php get_header(); ?> | |
<div id="main"> | |
<div class="title sm"> | |
<h1 class="park">FAQ</h1> | |
</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
<?php if ( ! have_posts() ) : ?> | |
<p>We couldn't find any resources.</p> | |
<?php | |
endif; | |
$in_use = array(); | |
?> | |
<ul class="resources"> | |
<?php while ( have_posts() ) : the_post(); ?> | |
<?php |
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: Post Page Binder | |
Plugin URI: http://risermedia.com | |
Description: A way to bind posts and pages using custom meta data. | |
Version: 1 | |
Author: Merrick Christensen | |
Author URI: http://risermedia.com | |
*/ |
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
array(61) { | |
["_wpnonce"]=> | |
string(10) "9fcb3ff883" | |
["_wp_http_referer"]=> | |
string(49) "/wp-admin/post.php?post=219&action=edit&message=1" | |
["user_ID"]=> | |
string(1) "1" | |
["action"]=> | |
string(8) "editpost" | |
["originalaction"]=> |
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 defined('SYSPATH') or die('No direct script access.'); | |
/** | |
* Abstract controller class for automatic templating. | |
* | |
* @package Kohana | |
* @category Controller | |
* @author Kohana Team | |
* @copyright (c) 2008-2009 Kohana Team | |
* @license http://kohanaphp.com/license | |
*/ |
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
border{ | |
top: 1px solid #fff; | |
bottom: 1px solid #ff0000; | |
} |
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
package | |
{ | |
import flash.display.MovieClip; | |
import Pages; | |
public class Main extends MovieClip | |
{ | |
public static var instance:Main; | |
public function Main() |
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 | |
/** | |
* Logger For Ryan | |
*/ | |
class Logger | |
{ | |
public static function error($error) | |
{ | |
$message = $error." ".__FILE__." ".__LINE__; | |
error_log($message); |
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 | |
Route::set('tenants', 'tenants(/<action>(/<id>))') | |
->defaults(array( | |
'directory' => 'tenants', | |
'controller' => 'directory', | |
'action' => 'index', | |
)); |