Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #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?

    #366271

    Hey 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,
    Elliott

    #366577

    Ok 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,
    Arjan

    #366591

    I’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?

    #366615

    Hi!

    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ünter

    #367945

    The CSS code you gave me didn’t work. It still shows the post type.

    #368146

    Hi!

    Please provide the link to the actual tag page and a screenshot pointing to the title. We need to inspect it.

    Regards,
    Ismael

    #368277
    This reply has been marked as private.
    #368749

    Hi!

    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,
    Andy

    #368925
    This reply has been marked as private.
    #370211

    Hey!

    It doesn’t work because you have a typo in your Quick CSS code:

    .avia-arrow {
    background-color: #eeeeee!important;

    Missing “}”.

    Best regards,
    Josue

    #371240

    Hi,

    Great! This also solves another minor issue.
    Thank you guys!

    Best regards,
    Arjan

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Use archive.php for tags’ is closed to new replies.