NP_ShowBlogs: Remove Top Page Link

Its been a while I got this pain that my blog does not have the paging link ( e.g: ) at the bottom of my page to facilitate browsing old pages.

Sepaking of that, I found a nice little plugin, [color=blue]NP_ShowBlogs[/color], to add that pagination to my blog. To my supprise, it append the page link at the [i]TOP[/i] and the [i]BOTTOM[/i]!

A closer look at the documentation stated that “[color=green]# (*1) pageswitch will be displayed top and bottom, twice[/color]“.

An even closer look at the NP_ShowBlogs.php reveal that the page link is indeed printed twice, so, to remove the page link at the top of the page, follow the following instructions:

[code]1. Open NP_ShowBlogs.php with your favorite text editor

2. Find the following line (at line 363) and comment it out.
echo $page_switch['buf'];

3. Save the file and re-upload it.[/code]
Note: I’m using NP_ShowBlogs.php 2.66.3 scat

Submit a Comment