new pagination and post edit page