WordPress plugin - Custom page pagination