I'm trying to play nice, so instead of editing my theme of choice directly, I created a subtheme. All went well, I've edited away, CSS overrides work well, but one thing seems to be eluding me: The options the theme offers (most important of which is the breadcrumbs feature) just don't seem to be being called at all. In an effort to rectify this, I thought that perhaps I needed a basic HOOK_theme() implementation, so here is what I came up with:
function arcana_theme(&$existing, $type, $theme, $path) {
// Firstly, call in the ad_redoable theme's stuff.
$adr = ad_redoable_theme($existing, 'base_theme', 'ad_redoable', '');
return array_merge($adr, array(
));
}
Now, I don't need the hook for anything, hence the rather minimalistic approach here, just call the base themes hook, and away we go. This doesn't seem to be helping though. It does get called, but the options are still not being displayed in the theme configuration. Am I missing something that I should be doing, or what is the matter here?
I've also tried enabling the base theme and configuring it the way I want, but that doesn't help any either.
Comments
I managed to work this one
I managed to work this one out myself:
I was missing the theme-settings.php file in my subtheme. Interestingly, I had to include the base themes theme-settings.php file, it wasn't getting automatically included, perhaps this was the only reason the settings weren't showing up, but I went the whole hog anyway, and ended up with the following in my theme-settings.php:
Everything now works great, no other hooks needed wrapping thankfully, so yay.