WPIntell

Source evidence

Feature request: Title length (characters)

TW Recent Posts Widget · support · 2014-02-13T15:57:00+00:00

complaintsentiment
mediumseverity
0.8relevance
2replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

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

7 / 35 rows with source links

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

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

28 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
iroQuai unresolved
Hi there! Love this plugin, works like a charm! Too bad my php skills are close to zero. I really would like to see a “Title length (characters)” just like the post excerpt length. Reason: The plugin messes with my layout when a post has a title that is too long for 1 line. If somebody knows how to create this by editting the php file, please share! I can realy use it 🙂 thanks in advance! https://wordpress.org/plugins/tw-recent-posts-widget/ Replace ‘ the_title(); ‘ to ‘ echo substr(the_title($before = ”, $after = ”,FALSE),0,50); ‘ in tw-recent-posts-widget.php file… With some trying i noticed the last number (50) can be changed into another number to make the showed title longer or shorter. So thanks a lot, it works! Would be beautiful if there would appear some dots at the end of a title that has been shortened (like what happenes with the exerpt aswel). Is this hard to realise?

Comments

2 shown
manojcenitpro 2014-02-25T11:12:00+00:00

Replace ‘ the_title(); ‘ to ‘ echo substr(the_title($before = ”, $after = ”,FALSE),0,50); ‘ in tw-recent-posts-widget.php file…

iroQuai 2014-03-05T13:31:00+00:00

With some trying i noticed the last number (50) can be changed into another number to make the showed title longer or shorter. So thanks a lot, it works! Would be beautiful if there would appear some dots at the end of a title that has been shortened (like what happenes with the exerpt aswel). Is this hard to realise?