Forum Replies Created
-
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!
🙂
Ok you got me doubt and I checked, there was a loop-tag.php file in the child theme, which I thought I had erased. It was messing up everything…
Thanks for making me digging in the right direction 😉
Ok, I’ve renounced using a child theme. I’m implementing the tweaks in the main style sheet and documenting them in a separate document in order to be able to implement them again for further Graphene upgrades. It’s a pity somehow though 🙁
The address of my site is http://www.semiocity.com
Sorry, I’ve opened another thread for my specific issue which is unrelated to the present thread:
https://forum.graphene-theme.com/graphene-support/tag-archive-not-working-when-using-child-theme
Okay, maybe I should create another thread about this, but I found out something: the problem is happening only when I use a child theme, even if it’s an empty one.
I have identified the culprit:
when qtranslate is activated the function
get_template_part( ‘loop’, ‘tag’ )
sends back “Tag archive: photography”
(or any other tag)
Oh, I see, gtranslate is using Google API for machine translation. QTranslate actually uses tags to differentiate the multilingual content entered by the user, so there can be some parsing issues some time I guess. But it’s a major wordpress extension – actually the mail multilingual plugin with wpml – and it would be nice if graphene could support it 100%.
My multilingual plugin is qtranslate, not gtranslate.
I have just upgraded to 1.6.2. Reapplied the “patch”. Same thing. My only tweeks in the child theme are a style.css file with the following. When I deactivate qtranslate tag archive is working again.
Thank you for having a look at this 🙂
/*
Theme Name: Graphene Child
Theme URI: http://example.com/
Description: Child theme for the Graphene theme
Author: Your name here
Author URI: http://example.com/about/
Template: graphene
Version: 1.0
*/
@import url("../graphene/style.css");
/* Your modification goes here */
header_title {
background-color: #000000;
color: #337711;
}
.header_title
{
display: block;
background-color:#000000;
}
.header_desc
{
display: block;
background-color:#000000;
}
.container_16 .grid_10 {
left: 45px;
width: 492px;
}
.post-title, .post-title a, .post-title a:visited {
color: #333333;
font: 22px verdana;
margin-top: -3px;
}
.slider_post h2 a, .slider_post h2 a:visited {
font: bold 24px courier;
}
#header-menu > li.menu-item-ancestor > a {
background: url("images/sprite_master.png") no-repeat scroll -877px -236px transparent;
padding-left: 26px;
}
/*#header-menu > li > a {
color: #FFFFFF;
cursor: auto;
line-height: 16px;
padding: 9px 10px 10px;
}*/
.widget_qtranslate {
padding-left: 70px !important;
}
.qtrans_language_chooser li { float:left; margin-right:40px }
Viewing 10 posts - 1 through 10 (of 12 total)
- 1
- 2
