Documentation

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
since
6.0.0
access

public

authorAvatar()

Renders the post actions on listing page

public authorAvatar(EasyBlogPost $post) : mixed
Parameters
$post : EasyBlogPost
Tags
since
6.0.0
access

public

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
since
6.0.0
access

public

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
since
6.0.0
access

public

cover()

Renders the post cover for listing page

public cover(EasyBlogPost $post, mixed $params) : mixed
Parameters
$post : EasyBlogPost
$params : mixed
Tags
since
6.0.0
access

public

emptyList()

Renders the empty placeholder for post listings

public emptyList(mixed $text[, mixed $icon = true ]) : mixed
Parameters
$text : mixed
$icon : mixed = true
Tags
since
6.0.0
access

public

Renders the post footer on listing page

public footer(EasyBlogPost $post, mixed $params) : mixed
Parameters
$post : EasyBlogPost
$params : mixed
Tags
since
6.0.0
access

public

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
since
6.0.0
access

public

meta()

Renders the meta of a post in the listing page

public meta(EasyBlogPost $post, mixed $params) : mixed
Parameters
$post : EasyBlogPost
$params : mixed
Tags
since
6.0.0
access

public

readmore()

Renders the read more button on listing page

public readmore(EasyBlogPost $post) : mixed
Parameters
$post : EasyBlogPost
Tags
since
6.0.0
access

public

schema()

Renders the schema for the post (ld+json)

public schema(EasyBlogPost $post) : mixed
Parameters
$post : EasyBlogPost
Tags
since
6.0.0
access

public

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
since
6.0.0
access

public

title()

Renders the title area of a post

public title(mixed $post[, mixed $options = [] ]) : mixed
Parameters
$post : mixed
$options : mixed = []
Tags
since
6.0.0
access

public


        
On this page

Search results