Developing WordPress site offline
-
I am not a fan of editing WordPress sites within WordPress, so much prefer to work offline, in the same way that you would if you were creating a static HTML website. I have downloaded my WP files to my localhost using MAMP and FileZilla, so can now edit the code in Sublime Text.
However, when I go to view the website on localhost, the following text is displayed instead of my website:
“<?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__ ) . ‘/wp-blog-header.php’ );”How can I view my website? I want to get to the stage where I can edit in Sublime Text and check to see what it looks like on localhost. Eventually, I plan on re-uploading the file back to WordPress.
Any help would be much appreciated.
Emma
- The topic ‘Developing WordPress site offline’ is closed to new replies.