-
AuthorPosts
-
December 10, 2014 at 4:03 pm #366000
I’m having some issues with minor differences between the archive page for categories and the archive page for tags.
Maybe the easiest way to solve these issues is to use archive.php for the tag archive. Is this possible?December 10, 2014 at 10:01 pm #366271Hey Arjan de Wit!
What minor differences are you referring to? Go ahead and send us a link and take a screenshot highlighting what your trying to do so we can get a better idea.
Best regards,
ElliottDecember 11, 2014 at 11:24 am #366577Ok here it goes :-) First let me explain what I’ve done so far.
I’ve added the php snippets (http://kriesi.at/documentation/enfold/change-archive-categorytag-blog-style/) and chosen the single-big style for my category and tag archive pages. And I’ve added a loop archive.php to the includes folder of my child theme. And I changed a line of code to show the excerpt and not the content.
This works in case of the category archive, but not the tag archive. Another minor differences is a H3 header (class post-title tag-page-post-type-title) which I would like to remove on the tag archive page.
Best regards,
ArjanDecember 11, 2014 at 12:16 pm #366591I’ve managed to solve one problem (I think). I forgot to edit tag.php to use loop-archive in the includes folder.
This line of code is responsible for the H3 title above the items shown in yhe tag archive I suppose?
$output .= “<h3 class=’post-title tag-page-post-type-title’>”.$label.”</h3>”;Is there a way to use CSS to hide it?
December 11, 2014 at 1:45 pm #366615Hi!
Thank you for coming back.
Try to put the following in styles.css of the child theme or Enfold->Styles->QuickCSS field:
.tag-page-post-type-title{ display: none !important; }
Cheers!
GünterDecember 14, 2014 at 12:00 pm #367945The CSS code you gave me didn’t work. It still shows the post type.
December 15, 2014 at 5:34 am #368146Hi!
Please provide the link to the actual tag page and a screenshot pointing to the title. We need to inspect it.
Regards,
IsmaelDecember 15, 2014 at 2:39 pm #368277This reply has been marked as private.December 16, 2014 at 3:26 am #368749Hi!
screenshot is not enough, when Günter’s code does not work for you. We need a link to inspect your CSS.
Try to clear browser cache after putting in Günter’s code.Best regards,
AndyDecember 16, 2014 at 3:18 pm #368925This reply has been marked as private.December 18, 2014 at 9:24 pm #370211Hey!
It doesn’t work because you have a typo in your Quick CSS code:
.avia-arrow { background-color: #eeeeee!important;
Missing “}”.
Best regards,
JosueDecember 21, 2014 at 10:24 am #371240Hi,
Great! This also solves another minor issue.
Thank you guys!Best regards,
Arjan -
AuthorPosts
- The topic ‘Use archive.php for tags’ is closed to new replies.