blog loses CSS when php tag is embedded in HTML
-
Hello all.
I’m working on this site, https://amadimag.com/blogosphere.I recreated the index.php from an HTML file, then inserted this code where I wanted the blog to appear (the previous code of index.php):
<?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(‘./wp-blog-header.php’);
?>Problem is, now the CSS is not applied, and weird characters show up all throughout. Can anybody help? I guess I need to know where and in which php file the CSS is defined? Any and all help is appreciated.
- The topic ‘blog loses CSS when php tag is embedded in HTML’ is closed to new replies.