The code isn't really semantic, which makes it difficult to get to the
excerpt text. If you can't differentiate the excerpt from the content
following by extra spans then there isn't a good way to catch your
excerpt.
I know, but sadly I have no control on it, it's just like WordPress
put out
The code isn't really semantic, which makes it difficult to get to the
excerpt text. If you can't differentiate the excerpt from the content
following by extra spans then there isn't a good way to catch your
excerpt.
On Dec 15, 5:49 pm, caruso_g peppecar...@gmail.com wrote:
Hi Virgil,
thanks a
If you want to remove the strong tags you can use this plugin;
http://benalman.com/projects/jquery-unwrap-plugin/
Or try these two lines of code;
temp = $(.hentry).find(.excerpt).html() ;
$(.hentry).find(.excerpt).before(temp).remove();
It fills the temp with the content of your strong tag and
Hi Virgil,
thanks a lot for your help.
But I explained the issue not so well. I need to obtain the strong
code, not to remove it. First code is the situation (without the
strong tag) and I need to obtain the second code (with strong).
Practically, I need to highlight the excerpt of the code,
4 matches
Mail list logo