EasyBlogThemesHelperPostList
in package
Table of Contents
Methods
- actions() : mixed
- Renders the post actions on listing page
- authorAvatar() : mixed
- Renders the post actions on listing page
- commentsPreview() : mixed
- Renders a preview of comments. (This feature has been removed in v6.0.0. See #2627)
- content() : mixed
- Renders the intro of a post on the listing page
- cover() : mixed
- Renders the post cover for listing page
- emptyList() : mixed
- Renders the empty placeholder for post listings
- footer() : mixed
- Renders the post footer on listing page
- item() : mixed
- Renders a post item template on listings
- meta() : mixed
- Renders the meta of a post in the listing page
- readmore() : mixed
- Renders the read more button on listing page
- schema() : mixed
- Renders the schema for the post (ld+json)
- simple() : mixed
- Renders the simple listing that is used in category and authors
- title() : mixed
- Renders the title area of a post
Methods
actions()
Renders the post actions on listing page
public
actions(EasyBlogPost $post, mixed $params[, mixed $ratings = true ][, mixed $hits = true ][, mixed $comments = true ]) : mixed
Parameters
- $post : EasyBlogPost
- $params : mixed
- $ratings : mixed = true
- $hits : mixed = true
- $comments : mixed = true
Tags
authorAvatar()
Renders the post actions on listing page
public
authorAvatar(EasyBlogPost $post) : mixed
Parameters
- $post : EasyBlogPost
Tags
commentsPreview()
Renders a preview of comments. (This feature has been removed in v6.0.0. See #2627)
public
commentsPreview(EasyBlogPost $post, mixed $params) : mixed
Parameters
- $post : EasyBlogPost
- $params : mixed
Tags
content()
Renders the intro of a post on the listing page
public
content(EasyBlogPost $post, mixed $params[, mixed $cover = true ]) : mixed
Parameters
- $post : EasyBlogPost
- $params : mixed
- $cover : mixed = true
Tags
cover()
Renders the post cover for listing page
public
cover(EasyBlogPost $post, mixed $params) : mixed
Parameters
- $post : EasyBlogPost
- $params : mixed
Tags
emptyList()
Renders the empty placeholder for post listings
public
emptyList(mixed $text[, mixed $icon = true ]) : mixed
Parameters
- $text : mixed
- $icon : mixed = true
Tags
footer()
Renders the post footer on listing page
public
footer(EasyBlogPost $post, mixed $params) : mixed
Parameters
- $post : EasyBlogPost
- $params : mixed
Tags
item()
Renders a post item template on listings
public
item(EasyBlogPost $post, mixed $style, mixed $index, mixed $params[, mixed $returnLink = '' ][, mixed $currentPageLink = '' ]) : mixed
Parameters
- $post : EasyBlogPost
- $style : mixed
- $index : mixed
- $params : mixed
- $returnLink : mixed = ''
- $currentPageLink : mixed = ''
Tags
meta()
Renders the meta of a post in the listing page
public
meta(EasyBlogPost $post, mixed $params) : mixed
Parameters
- $post : EasyBlogPost
- $params : mixed
Tags
readmore()
Renders the read more button on listing page
public
readmore(EasyBlogPost $post) : mixed
Parameters
- $post : EasyBlogPost
Tags
schema()
Renders the schema for the post (ld+json)
public
schema(EasyBlogPost $post) : mixed
Parameters
- $post : EasyBlogPost
Tags
simple()
Renders the simple listing that is used in category and authors
public
simple(EasyBlogPost $post, mixed $dateSource[, mixed $dateFormat = 'DATE_FORMAT_LC3' ]) : mixed
Parameters
- $post : EasyBlogPost
- $dateSource : mixed
- $dateFormat : mixed = 'DATE_FORMAT_LC3'
Tags
title()
Renders the title area of a post
public
title(mixed $post[, mixed $options = [] ]) : mixed
Parameters
- $post : mixed
- $options : mixed = []