WPIntell

Source evidence

trim subtitle function with ellipses (…)

WP Subtitle · support · 2019-05-21T14:56:00+00:00

complaintsentiment
mediumseverity
0.69relevance
1replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

5 / 34 rows with source links

14.7% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

29 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
sank unresolved
hi, how do i get this to work? <?php echo mb_strimwidth( the_subtitle(), 0, 20, ‘…’ ); ?> this works with the regular title: <?php echo mb_strimwidth( get_the_title(), 0, 20, ‘…’ ); ?> “get_the_title()” in that code above doesn’t return anything… want the subtitles to be trimmed after a certain number of characters so long subtitles would trail off with “…” This topic was modified 7 years ago by sank . Use the_subtitle( ‘’, ‘’, false ) The false parameter returns the subtitle instead of outputting it.

Comments

1 shown
Ben Huson 2019-06-27T06:54:00+00:00

Use the_subtitle( ‘’, ‘’, false ) The false parameter returns the subtitle instead of outputting it.