Custom code for Page numbers in project

Hi all,

I want to add a page number inte grated in the design of each page, I have seen a lot of readymag projects with that in it and wondering if anyone has an easy way to do it.

Thanks so much!

Jhiliem