Hello Diego,
You have a error on path post image.
Replace
Code: Select all
$coverImage = HTML_PATH_THEME_IMG.'/home-bg.jpg';
by
Code: Select all
$coverImage = HTML_PATH_THEME.'img/home-bg.jpg';
I think is better in index.php, like that, it makes some lines and less in the other theme files.
Code: Select all
<!-- Content -->
<?php
// --- COVER IMAGE ------------------------------------------------------------
// --- by Diego Najar for Bludit ---------------------------------------------
$coverImage = HTML_PATH_THEME.'img/home-bg.jpg';
if( ($Url->whereAmI()=='home') || ($Url->whereAmI()=='tag') )
{
include('php/home.php');
}
elseif($Url->whereAmI()=='post')
{
include('php/post.php');
}
elseif($Url->whereAmI()=='page')
{
include('php/page.php');
}
?>
Apart if the goal is to have a different background image on the three side of the page.
Other hooks not integrate
Code: Select all
<!-- Plugins Page Begin -->
<?php Theme::plugins('pageEnd') ?>
I love this theme with background feature!