Refactor

major improvements to post object and page link fields

Signed-off-by: Elliot Condon <e@elliotcondon.com>