Added field for fetching terms instead of posts

Signed-off-by: Thor Brink <thor@iqq.se>