First i appreciated the developer of WordPress plugin Jquery Post Splitter to giving the such a great contribution to the community. I asked him is there anyway to not  show the 1 of 1 pagination on post that does not have more than on page.

Then i found the solution by myself, i informed him that by modifying the code a bit in /inc/jps-core-front.php on line 101 i changed:

if( !empty( $post_parts )) {

to

if ( count( $post_parts ) > 1 ) {

I then removed line 181 – 183 because that wasn’t working

// Else It Isn't Pagintated, Don't Show Slider
$ppscontent_arr[] = $ppscontent;

I replaced that with

return implode( ' ', $ppscontent_arr );

} else {
    return $post->post_content;
}

The developer asked that was the issue resolved or pendding?

An developer user jumped in who was having the same issue, the user was saying, “Aforesaid solution is not working. Further, page shows “view full post” link many times (number of slides). Please suggest how to fix these two issues.
One more thing. plugin is excellent!”

The developer fixed the issue and he released the latest version.

Advertisements