Update g-hooks.php

Don't add actions onto genesis' hooks unless displaying