SHARE
TWEET

Ray of Light Index.php

centennialchristianc Feb 6th, 2012 86 Never
  1. <?php get_header(); ?>
  2. <?php include (THEME_INCLUDES . '/top.php'); ?>
  3. <?php
  4.         global $query_string;
  5.         global $post;
  6.         //print_r($post);
  7.        
  8.         $query = explode('%2',$query_string);
  9.        
  10.         if(in_array('pagename=gallery',$query)) {
  11.                 //echo "here";
  12.         }
  13.         //print_r($query);
  14.        
  15.         //if($post_type=="gallery") {
  16.         //      include (THEME_INCLUDES . '/gallery_single.php');
  17.         //} else {
  18.                 include (THEME_INCLUDES . '/news.php');
  19.         //}
  20. ?>
  21. <?php include (THEME_INCLUDES . '/sidebar.php'); ?>
  22. <?php get_footer(); ?>
RAW Paste Data
Top