When using the limit keyword in the short code and when only one page is available the word previous still shows in the paging line.
private function frontend_build_navigation:
if ($paged < 2)to
if ($paged < 2 && $total > 1)
if ($paged == $total)to
if ($paged == $total && $total > 1)
This will prevent paging from showing if only one page is available
- The topic ‘[Plugin: CataBlog] "Previous" shows when only one page available’ is closed to new replies.