Meta fields

Aram Zucker-Scharff edited this page Oct 17, 2015 · 3 revisions

The following meta fields and data are passed to stories that PressForward users take all the way to draft posts. They can be retrieved and displayed in templates with get_post_meta.

On items:

  • item_id
  • source_title
  • item_date
  • item_author
  • item_link
  • item_feat_img
  • item_wp_date
  • item_tags
  • source_repeat
  • sortable_item_date
  • readable_status
  • revertible_feed_text
  • pf_feed_item_word_count

Displayed

  • origin_item_ID
  • nomination_count
  • submitted_by
  • source_title
  • item_added_date - the date the item was added into the PressForward system via a feed.
  • posted_date
  • authors
  • nomination_permalink
  • date_nominated
  • item_tags
  • source_repeat

Nominations

  • origin_item_ID - The unique ID of the feed-item within the PressForward site.
  • nomination_count - The number of times a feed-item was nominated.
  • submitted_by - The numerical user ID who first submitted the post.
  • nomination_permalink - A permanent link to the original story location.
  • authors - A string with the authors of the original post (when available).
  • date_nominated - The date the item was sent to nomination.
  • item_tags - A string of tags from the original item.
  • nominator_array - an array of users or a single string representing the user IDs of all users who nominated the post. [Needs work]
  • source_repeat - If the same item was retrieved by more than one feed (accounts for aggregation feeds) this lists the number of different feeds that attempted to retrieve it.
  • item_feed_post_id - The post_ID assigned to the origonal feed-item when it entered the PressForward system.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.