How To Reload A Theme During Development

Permalink
I'm just starting to develop a theme. I guess there must be some way to reload a theme completely as I iterate through the development process but I can't see it. Once you hit install theme it appears to embed itself into the installation. Page types I've tried out and thrown away stay on the 'add page' menu. Surely there must be a simple way to clear and reload a theme?

tonyofthewoods
 
Brainakazariua replied on at Permalink Reply
Brainakazariua
if you deleted the page type completely from dashboard -> Pages and Themes -> pagetypes then they should no longer show up when making a new page.

Did you delete them at that location or did you try to remove them elsewhere?

Other changes in your theme itself only become active if you uninstall the theme and reinstall it for as far as I know. (unless someone found a way around that by now)
jmdoren replied on at Permalink Reply
jmdoren
Use absolute paths while you are testing
example

#default.php
<?php
include( '/testing_directory/default.php' );
?>
don't use getThemePath() until you finished testing

example:
replace <link rel="stylesheet" href="<?php echo $this->getThemePath(); ?>/css/reset.css" />

with
<link rel="stylesheet" href="/testing_directory/css/reset.css" />

I didn't try this but i will right now :)