index.php not hitting the right theme
-
Hi there. New to wordpress but learning quickly. Downloaded and installed wp on server, then found the Onetone theme, download, installed and customized. I wanted this wordpress site to reside on a subdirectory so I followed instructions, built new subdirectory folder, moved contents, changed wordpress address URL and am able to login with my wp admin just fine and make changes.
The problem is with my index.ph file. It’s pointing to the initial installation of WP and not the theme I downloaded and customized. I tried copying the Onetone index file to the root but it fails.
Below is the content of the working index file. I’m guessing I need to tell the index file which theme to hit but I’m unsure how to do that. Thoughts?
*******************************************************************************
<?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.
*
* @var bool
*/
define(‘WP_USE_THEMES’, true);/** Loads the WordPress Environment and Template */
require( dirname( __FILE__ ) . ‘/wordpress/wp-blog-header.php’ );
- The topic ‘index.php not hitting the right theme’ is closed to new replies.