Feature #21987
closedExcerpt Length on posts in Category Archive
0%
Description
Hi All,
Working on the site: https://testworkshop1.commons.gc.cuny.edu/
The home page leads to a series of category archives to showcase TLC workshops, for example: https://testworkshop1.commons.gc.cuny.edu/category/affect-arts-visual/
On the cat archive pages, I want the category posts to appear as boxes, that a visitor can click into the see more. I have set the excerpt length to 25 chacters but I think something is over riding this function?
See screenshot and https://testworkshop1.commons.gc.cuny.edu/wp-admin/customize.php?url=https%3A%2F%2Ftestworkshop1.commons.gc.cuny.edu%2Fcategory%2Faccessibility%2F
When you have a chance can someone take a look to see if there is a way to make the excerpt length work or if there is some CSS I can add to make the posts in cate archive more uniform size?
Much appreciated.
Files
Updated by Boone Gorges about 2 months ago
It looks like the Neve theme ignores the excerpt length and uses the entire post content if the <!--more-->
tag is found in the post content: https://themes.trac.wordpress.org/browser/neve/4.0.1/inc/views/partials/excerpt.php?marks=74-76#L66 You'll have to remove the 'more' tag from posts like this https://themes.trac.wordpress.org/browser/neve/4.0.1/inc/views/partials/excerpt.php?marks=74-76#L66 if you want them to be excerpted on this page.
Updated by Laurie Hurson about 2 months ago
HI Boone,
Thanks for this info. We will remove the "more tags" and then try to build out page with excerpt length.
I do have one more questions about this site and issues with the NEVE theme.
I cannot figure out how to use CSS to make all links underlined. Lack of underlined links is confusing and an access issue.
I have tried various CSS edits and cannot get all links to be underlined throughout the site. The css that seems like it should do this but does not work is:
.nv-comment-content a,
a:not(.button):not(.wp-block-file__button) {
text-decoration: underline;
}
Thanks for any insight you can provide
Updated by Boone Gorges about 2 months ago
At the bottom of this page https://testworkshop1.commons.gc.cuny.edu/wp-admin/themes.php?page=simple-css you have some bad CSS comment markers /* ... */
that I believe are causing the declaration at the very bottom of the list to override the text-decoration: underline
declaration further up.
Updated by Laurie Hurson about 2 months ago
Thanks Boone. Sorry for the silly question but I was not sure if it was a bug or CSS issue. This ticket can be closed.
Updated by Boone Gorges about 2 months ago
- Status changed from New to Resolved
Not a problem! Thanks for circling back.