Site logo

[Resolved] tag archive has no read more label

Home Forums Support [Resolved] tag archive has no read more label

Home Forums Support tag archive has no read more label

Viewing 15 posts - 1 through 15 (of 32 total)
  • Author
    Posts
  • #2133975
    Aaron

    My goal is to have a read more button on my tag archive page showing only title, featured image, tags and read more. I tried various settings on customizer>layout>blog, but no link is present.

    #2134001
    Leo
    Staff
    Customer Support

    Hi there,

    What kind of layout are you after?

    Can you link me to the main blog/posts page?

    #2134037
    Aaron

    See the products section on https://plgd-trading.com/products/coffee/
    I’d like to have the same post layout on https://plgd-trading.com/product/tag/14-canephora/

    #2134303
    David
    Staff
    Customer Support

    Hi there,

    the layout on the Tag Archive page is not the default GP layout – how has this been achieved ?

    #2134323
    Aaron

    It’s just some SCSS, you might block the resource https://plgd-trading.com/app/themes/generatepress-plgd/assets/build/css/style.css?id=66c7f87400343b30c4aa&ver=0b3d433adf53335a9fcc280009dd76e8 to see the original layout

    //Tag Archives
    .archive.tag .inside-article, .archive.tag .inside-article > * {
    	position: relative;
    }
    
    .archive.tag .inside-article {
      height: 400px;
      display: flex;
      flex-direction: column-reverse;
      text-align: center;
    
      .entry-meta, .entry-header {
        background: rgba(0,0,0,0.5);
      }
    
      .entry-meta {
        order: 0;
        margin: 0;
        padding: 0 20px 20px 20px;
      }
    
      .entry-header {
        order: 1;
        padding: 20px 20px 5px 20px;
      }
    
      a, .tags-links{
        color: var(--base-3);
      }
    
      a:hover {
          color: var(--accent);
      }
    
      .entry-summary {
        margin: 0;
      }
    
      .post-image {
        position: absolute;
        top: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
    
        & img {
          height: 100%;
          width: 100%;
          object-fit: cover;
        }
      }
    }
    
    #2134375
    David
    Staff
    Customer Support

    So there has been no editing of the templates or any other PHP functions that interfere with it? Thats the single post or archive templates.

    #2134382
    Aaron

    I checked my child theme functions.php and disabled it for testing purposes, with no effect. The template which is used is the unmodified themes/generatepress/archive.php

    #2134413
    Aaron

    Things I tried to track it down:
    disabled all plugins except generate blocks pro and gp premium.
    I switched theme to generate press main theme.

    I noticed that no excerpt – which I don’t need anyway – is generated with a word count greater than 0.

    #2134609
    David
    Staff
    Customer Support

    If in the Customizer > Layout > Blog there must be something in the Read more label field – does that have content ?

    #2134631
    Aaron

    Yes I typed „View“ in there.

    #2134638
    David
    Staff
    Customer Support

    Odd – any chance i can get a temporary admin access so i can take a closer look?

    #2134639
    Aaron

    Sure, just provide me an e-mail address.

    #2134640
    David
    Staff
    Customer Support

    you can use:

    support at generatepress.com

    #2134646
    Aaron

    You should have gotten an e-mail.

    #2134654
    David
    Staff
    Customer Support

    Ok so they are a Custom Post type named Products. When you registered the CPT did you include excerpt in the supports array ?

    As GP filters the excerpt to display the read more.

Viewing 15 posts - 1 through 15 (of 32 total)
  • You must be logged in to reply to this topic.