refine show all menu in post and portfolio pages

also load 5 post at a time