just4lolz
Member
Posted 2 years ago #
In my excerpt, the summary of the post seems to be clumped together with no spaces that are indicated in the post.
Is this a setting in wordpress, or is this in my css.
If this is in my css, please help me fix this.
If you are wondering, I am using the theme showcased here
http://www.wpnow.com/demo/#elements
See how the summary is clumped together?
Is this a setting in wordpress, or is this in my css.
The template tag the_excerpt() automatically removes all formatting - including paragraphs. Try replacing it with the_content() in the relevant template files.
just4lolz
Member
Posted 2 years ago #
actually, I think I found the code that would address this problem. I just don't know how to change it.
the following is an excerpt in my function.php
/************************************************************\
* WP NOW - Content Show
\************************************************************/
function wpn_content_show($limit)
{
if(is_category() || is_archive())
{
if (!empty($post->post_excerpt))
{
the_excerpt();
}
else
{
wpn_content_limit(get_the_content(), $limit);
}
}
else
{
wpn_content_limit(get_the_content(), $limit);
}
}