- This topic has 31 replies, 3 voices, and was last updated 4 years, 1 month ago by
David.
-
AuthorPosts
-
February 25, 2022 at 3:45 pm #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.
February 25, 2022 at 4:42 pm #2134001Leo
StaffCustomer SupportHi there,
What kind of layout are you after?
Can you link me to the main blog/posts page?
February 25, 2022 at 5:48 pm #2134037Aaron
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/February 26, 2022 at 4:36 am #2134303David
StaffCustomer SupportHi there,
the layout on the Tag Archive page is not the default GP layout – how has this been achieved ?
February 26, 2022 at 5:03 am #2134323Aaron
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; } } }February 26, 2022 at 6:11 am #2134375David
StaffCustomer SupportSo there has been no editing of the templates or any other PHP functions that interfere with it? Thats the single post or archive templates.
February 26, 2022 at 6:20 am #2134382Aaron
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.phpFebruary 26, 2022 at 6:51 am #2134413Aaron
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.
February 26, 2022 at 8:27 am #2134609David
StaffCustomer SupportIf in the Customizer > Layout > Blog there must be something in the Read more label field – does that have content ?
February 26, 2022 at 8:43 am #2134631Aaron
Yes I typed „View“ in there.
February 26, 2022 at 8:48 am #2134638David
StaffCustomer SupportOdd – any chance i can get a temporary admin access so i can take a closer look?
February 26, 2022 at 8:50 am #2134639Aaron
Sure, just provide me an e-mail address.
February 26, 2022 at 8:50 am #2134640David
StaffCustomer Supportyou can use:
support at generatepress.comFebruary 26, 2022 at 8:54 am #2134646Aaron
You should have gotten an e-mail.
February 26, 2022 at 9:05 am #2134654David
StaffCustomer SupportOk so they are a Custom Post type named Products. When you registered the CPT did you include
excerptin the supports array ?As GP filters the excerpt to display the read more.
-
AuthorPosts
- You must be logged in to reply to this topic.