Want more features on Pastebin? Sign Up, it's FREE!
Guest

Ray of Light Index.php

By: centennialchristianc on Feb 6th, 2012  |  syntax: None  |  size: 0.49 KB  |  views: 84  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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(); ?>
clone this paste RAW Paste Data