marcodeltongo / thematic

Automatically exported from code.google.com/p/thematic
0 stars 0 forks source link

thematic_content() generated excerpts are difficult to style #58

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Problem: thematic_content() uses get_the_excerpt for generating excerpts. there 
have been 
support requests stating difficulty with styling:

http://themeshaper.com/forums/topic/styling-excerpts

Also see my answer to Allan's mentioning of it here:

http://themeshaper.com/forums/topic/missing-paragraph-tags-in-the_excerpt

I discovered that dealing with this was made difficult by the lack of global 
scope for $content. 
One solution would be to rename $content and give it global scope. Another 
would be to use 
wpautop similarly to the code in my answer to Allan.

Thanks-

Gene 

Original issue reported on code.google.com by gene%emh...@gtempaccount.com on 29 Nov 2009 at 9:39

GoogleCodeExporter commented 9 years ago
Coming back to this...

Another support thread and possible solution :
http://bit.ly/5v8AjJ

Here I go with my two cents: I really think the best solution moving forward 
would be to wrap thematic's 
excerpts in something... p or span whatever suits. 

Seems more efficient and less problematic to have child themer's using css 
solutions for this instead of php 
functions.

Thanks- Gene

Original comment by gene%emh...@gtempaccount.com on 14 Dec 2009 at 8:13

GoogleCodeExporter commented 9 years ago
Just following back up on this Does any body care or should this issue get 
punted?

Original comment by gene%emh...@gtempaccount.com on 25 Feb 2010 at 3:49

GoogleCodeExporter commented 9 years ago

Original comment by eugene.m...@gmail.com on 22 Apr 2010 at 3:57

GoogleCodeExporter commented 9 years ago
resolved with r668 nad addition of thematic_get_excerpt filter to 
thematic_content()

Original comment by eugene.m...@gmail.com on 10 Jun 2010 at 5:41