Skip to content

Instantly share code, notes, and snippets.

@barbareshet
Created December 4, 2016 19:28
Show Gist options
  • Save barbareshet/5d012285a4bb560ca0fb94b6c34f4501 to your computer and use it in GitHub Desktop.
Save barbareshet/5d012285a4bb560ca0fb94b6c34f4501 to your computer and use it in GitHub Desktop.
<?php
/**
* Front to the WordPress application. This file doesn’t do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
*
*/
$_GET["page_id"]=past_page_ID_here;
define("WP_USE_THEMES", true);
/** Loads the WordPress Environment and Template */
require("../wp-blog-header.php");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment