Project

General

Profile

Actions

Feature #21987

closed

Excerpt Length on posts in Category Archive

Added by Laurie Hurson 17 days ago. Updated 10 days ago.

Status:
Resolved
Priority name:
Normal
Assignee:
-
Category name:
-
Target version:
Start date:
2025-02-04
Due date:
% Done:

0%

Estimated time:
Deployment actions:

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

Actions #1

Updated by Boone Gorges 17 days 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.

Actions #2

Updated by Laurie Hurson 16 days 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

Actions #3

Updated by Boone Gorges 16 days 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.

Actions #4

Updated by Boone Gorges 10 days ago

  • Target version set to Not tracked
Actions #5

Updated by Laurie Hurson 10 days 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.

Actions #6

Updated by Boone Gorges 10 days ago

  • Status changed from New to Resolved

Not a problem! Thanks for circling back.

Actions

Also available in: Atom PDF