Default Post Variable Cheatsheet
developers, adding and editing PHP post variables is possible. By default, the platform includes variables that can be echoed using PHP within Post templates.
There are two categories that all Post Types fall into:
- Standard Post Types
- These post types only support a single feature photo uploaded for the post. Additional photos can be added into description of the post using the text editor when creating the post.
- Examples:
- Community Articles
- Website Blog Articles
- Events
- Job Listings
- Coupons
- Multi-Photo Post Types
- These post types support uploading multiple photos to create a photo gallery for the post. And this post type also supports adding additional photos into the description of the post using the text editor when creating the post - similar to the Standard Post Types.
- Examples:
- Photo Albums
- Classified Listings
- Property Listings
- Product Listings
The variable list below are used by PHP developers to echo default values that are supported by Standard Post Types and Multi-Photo Post Types.
Standard Post Types
Variable Attribute | Description | Type |
---|---|---|
Post ID | Integer | |
Post Title | Text Input | |
Post Content | Froala Text Editor | |
Post Category | Dropdown Select | |
Post URL | System Generated VARCHAR | |
Post Image URL | System Generated VARCHAR | |
Price of Item | Numerical | |
Date Post Created | Timestamp | |
Post Keywords | Text Input | |
Publish Status | Yes/No | |
Date Post Created | Timestamp | |
ID of Member | Integer | |
End/Expire Date | Timestamp | |
Start/Publish Date | Timestamp | |
Latitude Location | Numerical | |
Longitude Location | Numerical | |
Post Location | Textarea | |
Country Location | Text Input | |
State Location | Text Input |
Group Post Types
Variable Attribute | Description | Type |
---|---|---|
Post ID | Integer | |
ID of Member | Integer | |
Post Title | Text Input | |
Post Body | Froala | |
Post Location | Textarea | |
Date Created | Timestamp | |
Post URL | System Generated VARCHAR | |
Publish Status | Timestamp | |
Post Category | Dropdown Select | |
Latitude Location | Numerical | |
Longitude Location | Numerical | |
ID of Member | Integer | |
Post Keywords | Text Input | |
Status of Property Posts | Numerical | |
Type of Property Posts | Numerical | |
Price for Property Posts | Numerical | |
Number of Beds in Property Posts | Numerical | |
Number of Beds in Property Posts | Numerical | |
Square Footage for Property Posts | Numerical | |
Post Location | Textarea | |
Country Location | Text Input | |
State Location | Text Input |