If you’ve updated from 1.5.1 to 1.6, and now all of your Custom Templates pages are showing two lots of title and content (or other strangeness), then you may be wondering what you did wrong. The answer is, you didn’t.
A change was made in version 1.6 of Thesis, that you’ll need to bypass. Go into your custom_functions.php and add the following:
remove_action('thesis_hook_custom_template','thesis_custom_template_sample');
In trying to be helpful, a template sample was added into the core of Thesis (meaning, it’s not easily available for you to edit), which is set to run for all page IDs, meaning two lots of templates are actually running.
Why this sample template has been added in like this is beyond me. How is it a sample template, if it’s deep within core code somewhere where most people won’t be able see it, and certainly shouldn’t be editing it? If it had to be included, then putting that into the default custom_functions.php where people can easily see and edit it would have been a much better idea in my personal opinion.
If you enjoyed this post, please consider leaving a comment and subscribing to the RSS feed or subscribing via email to have future articles delivered to your feed reader or email inbox.
{ 1 comment }
Gary,
Thanks for the heads-up about ‘thesis_custom_template_sample’.
I have been installing Greg Rickaby’s WidgetMe framework and could not figure out why my header banner ad would not show. Then I accidentally put
“remove_action(‘thesis_hook_custom_template’,'thesis_custom_template_sample’);” into my ‘custom.css’ file by mistake and lo and behold, the banner ad appeared.
You can see the now visible header location at http://thesiswebstore.com/.
Very strange…
Comments on this entry are closed.