I’m not finding a call for dkret_entry_header() anywhere inside the dkret3 theme, hrm.
My suggestion would be to remove the offending theme and add a fresh theme back up there.
*also* do you have any [older] versions of the dkret3 theme in your themes/ folder? If you do, move those older versions someplace else besides the theme directory
I do have backups. I have no clue how to move it to the existing theme for testing. I have wp-content > themes > dkret3 and wp-content > themes > my-dkret3. Shall I move these two folders completely after renaming the activ folders?
Yes, I would rename those two folders to like dkret3-old and my-dkret3-old
then install dkret3 back into the wp-content/themes folder by itself, not having any other duplicate themes in there
What I have seen is that if more then one theme in the wp-content/themes directory shares the same name:
Theme Name: dkret3
that it can cause effects with wordpress not getting the right place to pull the information from.
The first thing I would check is “move” the theme you don’t use out of the wp-content/themes, like if you use dkret3 but not my-dkret3 I would move the my-dkret3 out of the themes folder, leaving dkret3 in there alone and then see if the error comes up
I renamed the folders and uploaded the two backup folders. No result, the same fatal error. The panic raises…
… you need to move those folders out of the theme directory. Again, only one dkret theme in the wp-content/themes directory at a time
and you still say: /wp-content/themes/dkret3/category.php that file doesn’t exist, at all?
Of course this file exists. It exists only in this site. I do have 2 other sites with the same theme and this file doesn’t exists there. This file ask in line 51 for the function dkret_entry_header() which doesn’t seem to exist.
<div class="entry-header">
<?php dkret_entry_header() ?>
</div>
Your my-dkret3 is a child theme, while dkret3 is a parent theme, i downloaded the latest from here http://wordpress.org/extend/themes/dkret3 and it doesn’t have that function either,
HOWEVER, Older dkret3 themes used to have that function as seen here:
http://code.google.com/p/dkret-theme/source/browse/trunk/library/extensions/hooks-filters.php?r=287
which doesn’t appear to be in the theme anymore
In your category.php file I would actually do this:
<div class="entry-header">
<?php do_action('dkret_entry_header'); ?>
</div>
You should now do the same with dkret_navigation_below
<?php do_action('dkret_navigation_below'); ?>
and
<?php do_action('dkret_entry_footer'); ?>
You did it! I’m so happy, thank you so much! Can you explain the difference between do_action and the direct call before?
If you look here:
http://code.google.com/p/dkret-theme/source/browse/trunk/library/extensions/hooks-filters.php?r=287
The older version of dkret was using a function to call the hook anyways, doing the exact same thing but adding another step by making it a function.
SO we just killed the middleman function call and just hit up the action instead.
Mind you in the new version of dkret3 I didn’t see anything that used those hooks, but /shrug it works right?
Yesss!
I thought I use an actual version of dKret. I always take care to update anything (maybe too much).
Your website is interesting. I shurely will pass some hours there š
Thanks š Although it caters mainly to the things I work on primarily and most of it probably would not be relative to you, it does however have some good idea’s in it.