Search plugin is blank
- cobber
- Master Bludit
- Posts: 78
- Joined: Sun Feb 28, 2016 10:15 am
- Location: Scotland
- Has thanked: 21 times
- Been thanked: 5 times
Good morning Edi
No errors as far as I can see. I have been wondering if there is a conflict because I am using the following code in my theme index file.
No errors as far as I can see. I have been wondering if there is a conflict because I am using the following code in my theme index file.
Code: Select all
if ($page->custom('template')) {
// If a custom template is specified
if ($WHERE_AM_I=='page') {
include(THEME_DIR_PHP.$page->custom('template').'.php');
} else {
include(THEME_DIR_PHP.'home.php');
}
}
else {
// If not
if ($WHERE_AM_I=='page') {
include(THEME_DIR_PHP.'page.php');
} else {
include(THEME_DIR_PHP.'home.php');
}
}