Tag archive not working when using child theme
Hi, I have a problem with my tag archive pages, which do not display my posts, but instead of each of them, display “Tag archive: photography” or whatever tag, and in whatever language is the current one. I’m using qtranslate and I thought it was the culprit but I found out it is not.
I am using a child theme btw, and this problem is only happening with the child theme. The child theme is written along the accepted guidelines: mine only contains a style.css file which imports the parent theme css and tweaks some properties. In order to check if my css tweaks were the reason of the problem, I commented out all my css tweaks in the style.css. But no luck: the mere fact of using a child theme seems – in my case at least – to be screwing the tag page.
Can you guys help me with this?
AnonymousMarch 28, 2012 at 2:01 am #26983
What was the directory name of your child theme? Also, was it placed in the same directory alongside the main graphene theme?
A child theme (properly installed) should have NO effect on your tag structure or anything else, unless you’ve modified it for such changes.
AnonymousMarch 28, 2012 at 6:32 am #26985
Any file you copy into the child theme is going to be used in place of the original (except the stylesheet and functions, which is “added to” the parent theme). If you customize it inappropriately, you will experience all sorts of problems.
What was it you were wanting to do in the first place?
I think it’s when I tried to correct the “only one post displayed in tag archive in Graphene 1.6” problem (documented here and corrected in latest releases), I read the comment in the tag.php file to be patched about passing on the function to the child theme by creating a loop-tag.php. Basically something I didn’t have to do. So I think I’ve duplicated the content of the tag.php correction to this loop-tag.php.
Then afterwards I updated the theme, which made the tag.php patching unnecessary, and somehow I wrongly thought I had removed the loop-tag.php.
So of course, very logically, my child theme was messed up and when going back to the parent one, every thing was fine!
You must be logged in to reply to this topic.