I have been creating a custom WordPress theme lately and all was well: theme was working on my local XAMPP environment as well as on online WordPress installation that I have set up to ask friends about their opinions.
Problems showed up when I moved the theme to my actual blog - although I could view all the posts while using index.php, all the formatting seemed to be gone when I navigated to a post or page (single.php & page.php, see screenshots). After some tweaking, I figured out that problem (probably) lies with permalinks. On my main blog, I have custom permalink structure:
On both of my testing blogs I was using default permalinks as I didn't care about it really. Once I changed permalink structure on localhost and online testing installation to other than default, I had the same issues there.
So basically, my single.php and page.php pages do not work properly if permalinks structure is not set to default.
My test site is located at houston.pawelglaz.pl
Note: my theme successfully passes W3C HTML5 validation test.
Anyone might suggest a fix for this?