So what I want to do is to preserve the paragraph spacing as seen in the posts on my excerpts.
I installed and activated the plugin, but I don't see any difference.
Now my theme features a functions.php that organizes all its functions and index.php (and other phps) will call the functions via the function.php
So I found in the functions.php
/************************************************************\
* WP NOW - Content Limit
\************************************************************/
function wpn_content_limit($content, $ilimit = false)
{
$limit = ($ilimit) ? $ilimit : 270;
$pad="...";
$content = strip_tags($content);
if(strlen($content) > $limit)
{
$content = substr($content,0,$limit);
}
echo $content.$pad;
}
/************************************************************\
* 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);
}
}
and in the index.php, the function is called
<div class="wpn_post">
<?php wpn_content_limit(get_the_content(),500); ?>
</div>
I tried changing the the_excerpt(); to the_content and to the_advance_excerpt(); but it doesn't work.
Can anyone help me with this? I just want this plugin to work with my blog
My site is currently under construction by the theme I'm using is
http://www.wpnow.com/demo/#elements
Thankyou