Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

Excerpts length problem


  #1  
Old Aug 16, 2013, 10:39 AM
Fennec 88
 
7 posts · Dec 2011
France
Hello,

I have a problem with the display of excerpts from articles on the Home page, Category page and Archives page;
I want to show excerpts from a length of about 25-30 words . Majority of extracts are displayed correctly but some randomly appear in bold or italics or even in italics and bold. Including the title of the article.
If I use the default length for the excerpt (55 words), it's the same thing!
In the setting of excerpts in the "Do not strip this tags" box I took the following tags: <strong> <p> <span> <em> <br/>
Can anyone help me? I searched a lot on the forum but I found no answer.
Excuse my English

Wordpress 3.6
Atahualpa 3.7.12
In localhost with Wamp Server 2.2
  #2  
Old Aug 16, 2013, 11:11 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Excerpts are tricky because it counts words and a word is characters separated by a space. This means that HTML can make up part of the excerpt.

Best bet is to add manual excerpts to the posts and that will be used.

Bookmarks

Tags
excerpt posts, excerpts



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Excerpt length and content problem katherine_srcm Excerpts, Read more, Pagination 8 Jul 6, 2012 10:24 PM
[SOLVED] différent length of excerpts by posts bdups Excerpts, Read more, Pagination 7 Nov 9, 2011 03:18 AM
Cannot display full posts on homepage and can't change excerpts length ute Excerpts, Read more, Pagination 7 Apr 26, 2011 04:41 PM
different length for excerpts ponzaracconta Excerpts, Read more, Pagination 1 Feb 19, 2011 05:37 PM
[SOLVED] Change the line length / length of sentences in posts and pages leifkendall Post-Kicker, -Byline & -Footer 2 Sep 30, 2009 08:46 AM


All times are GMT -6. The time now is 12:23 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.