• 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
    https://www.wpnow.com/demo/#elements

    See how the summary is clumped together?

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    Thread Starter just4lolz

    (@just4lolz)

    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);
    }
    }

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Paragraph space not recognize in excerpt’ is closed to new replies.