Velo: Wix Blog "Posts" Collection Fields

Note: Before continuing, make sure you've read Working with Wix App Collections.

To use the Posts collection in code, refer to it as "Blog/Posts".

Copy

This document describes the permissions and fields in your Posts collection. 

Permissions

The Posts collection has the following permissions:

  • Read: Anyone 
  • Create: None
  • Update: None
  • Delete: None

You cannot change the Posts collection permissions. 

Fields

The field name is listed as the heading of each section, with the field ID listed in parentheses, like this: Name (name). The fields appear in this document in the order in which they appear in your collection by default.

ID (_id)

Description: The ID of the post. This is a system field and is hidden by default.

Type: Text

Can connect to data: Yes

Can use in dynamic page URL: No

Can be sorted: Yes

Can be filtered: eq, ne

Read-only: Yes

Title (title)

Description: The title of the post.

Type: Text

Can connect to data: Yes

Can use in dynamic page URL: Yes

Can be sorted: Yes

Can be filtered: eq, ne, contains, startsWith, hasSome

Read-only: Yes

Published Date (publishedDate)

Description: The date the post was originally published.

Type: Date

Can connect to data: Yes

Can use in dynamic page URL: No

Can be sorted: Yes

Can be filtered: eq, ne, lt, lte, gt, gte

Read-only: Yes

Cover Image (coverImage)

Description: The cover image of the post.

Type: Image

Can connect to data: No

Can use in dynamic page URL: No

Can be sorted: No

Can be filtered: No

Read-only: Yes

Categories (categories)

Description: The categories assigned to the post, referenced from the Blog/Categories collection.

Type: Multiple-item reference

Can connect to data: No

Can use in dynamic page URL: No

Can be sorted: No

Can be filtered: hasAll, hasSome, contains

Read-only: Yes

Main Category (mainCategory)

Description:

Type: Reference

Can connect to data: No

Can use in dynamic page URL: No

Can be sorted: No

Can be filtered: Yes

Read-only: Yes

Plain Content (plainContent)

Description: The text of the post without any formatting.

Type: Text

Can connect to data: Yes

Can use in dynamic page URL: No

Can be sorted: No

Can be filtered: No

Read-only: Yes

Rich Content (richContent)

Description:

Type: Rich Content

Can connect to data: No

Can use in dynamic page URL: No

Can be sorted: No

Can be filtered: No

Read-only: Yes

Excerpt (excerpt)

Description: A few lines of text that appear in the blog feed. Defined in Post Settings or default of first 160 characters of the post.

Type: Text

Can connect to data: Yes

Can use in dynamic page URL: No

Can be sorted: No

Can be filtered: No

Read-only: Yes

Hashtags (hashtags)

Description: List of all hashtags in the post.

Type: Tags

Can connect to data: Yes

Can use in dynamic page URL: No

Can be sorted: No

Can be filtered: hasAll, hasSome

Read-only: Yes

View Count (viewCount)

Description: The number of times the post was viewed.

Type: Number

Can connect to data: Yes

Can use in dynamic page URL: No

Can be sorted: Yes

Can be filtered: eq, ne, lt, lte, gt, gte

Read-only: Yes

Note View Count data used on your site pages may require up to 24 hours to update. To make sure new post views are included on your site in real time, disable caching for any page that uses View Count data. Note that disabling caching may increase your page loading time.

Like Count (likeCount)

Description: The number of likes the post received (from members only).

Type: Number

Can connect to data: Yes

Can use in dynamic page URL: No

Can be sorted: Yes

Can be filtered: eq, ne, lt, lte, gt, gte

Read-only: Yes

Note Like Count data used on your site pages may require up to 24 hours to update. To make sure new post likes are included on your site in real time, disable caching for any page that uses Like Count data. Note that disabling caching may increase your page loading time.

Comment Count (commentCount)

Description: The number of comments the post received (from members only).

Type: Number

Can connect to data: Yes

Can use in dynamic page URL: No

Can be sorted: Yes

Can be filtered: eq, ne, lt, lte, gt, gte

Read-only: Yes

Description: Indicates whether the post is set as featured in the post settings.

Type: Boolean

Can connect to data: Yes

Can use in dynamic page URL: No

Can be sorted: No

Can be filtered: eq, ne

Read-only: Yes

Pinned (pinned)

Description: Indicates whether the post was pinned to the top of the page in the live site.

Type: Boolean

Can connect to data: Yes

Can use in dynamic page URL: No

Can be sorted: No

Can be filtered: eq, ne

Read-only: Yes

Last Published Date (lastPublishedDate)

Description: The most recent publish date of the post.

Type: Date

Can connect to data: Yes

Can use in dynamic page URL: No

Can be sorted: Yes

Can be filtered: eq, ne, lt, lte, gt, gte

Read-only: Yes

Cover Image Displayed (coverImageDisplayed)

Description: Indicates whether the cover image is displayed in the feed. If false, the cover image is displayed only when you share the post on social media.

Type: Boolean

Can connect to data: Yes

Can use in dynamic page URL: No

Can be sorted: No

Can be filtered: eq, ne

Read-only: Yes

Post Page URL (postPageURL)

Description: The relative URL of the post page on your published site.

Type: URL

Can connect to data: Yes

Can use in dynamic page URL: No

Can be sorted: No

Can be filtered: No

Read-only: Yes

Language (language)

Description:

Type: Language

Can connect to data: No

Can use in dynamic page URL: No

Can be sorted: No

Can be filtered: Yes

Read-only: Yes

Translation ID (translationId)

Description:

Type: Text

Can connect to data: Yes

Can use in dynamic page URL: No

Can be sorted: No

Can be filtered: Yes

Read-only: Yes

Time to Read (timeToRead)

Description: Estimated time in minutes required to read the post.

Type: Number

Can connect to data: Yes

Can use in dynamic page URL: No

Can be sorted: No

Can be filtered: No

Read-only: Yes

Description:

Type: Multi-Reference

Can connect to data: No

Can use in dynamic page URL: No

Can be sorted: No

Can be filtered: No

Read-only: Yes

Tags (tags)

Description:

Type: Multi-Reference

Can connect to data: No

Can use in dynamic page URL: No

Can be sorted: No

Can be filtered: Yes

Read-only: Yes

Author (author)

Description:

Type: Reference

Can connect to data: No

Can use in dynamic page URL: No

Can be sorted: No

Can be filtered: Yes

Read-only: Yes

Slug (slug)

Description:

Type: Text

Can connect to data: Yes

Can use in dynamic page URL: Yes

Can be sorted: No

Can be filtered: No

Read-only: Yes

PaidPlans (paidPlans)

Description:

Type: Multi-Reference

Can connect to data:

Can use in dynamic page URL: No

Can be sorted: No

Can be filtered: Yes

Read-only: Yes

Was this helpful?
Yes
No