added query_end postmeta for use in templates