class WpvTemplates
get_layout() : string
stringcurrent page layout
pagination_list()
pagination(string|null $pagination_type = null)
string|nulloverrides the pagination settings
has_page_header() : boolean
booleanwhether the current page has a title
page_header_background() : string
stringbackground styles
readable_color_mixin() : string
stringLESS mixin
page_header_title_color() : string
stringcolor styles
page_header(bool $placed = false, string|null $title = null)
boolwhether the title has already been output
string|nullif set, overrides the current post title
has_share(string $context) : boolean
stringcurrent view ( page, post, etc. )
booleanwhether the current context has share buttons
share(string $context)
stringcurrent view ( page, post, etc. )
post_format_icon(string $format) : string
stringpost format slug
stringicon html
get_title_style()
is_login() : bool
boolwhether the current page is wp-login
custom_link_pages(string|array $args = '') : string
Displays page links for paginated posts ( i.e. includes the "nextpage". Quicktag one or more times ). This tag must be within The Loop.
The defaults for overwriting are: 'next_or_number' - Default is 'number' ( string ). Indicates whether page
numbers should be used. Valid values are number and next.
'nextpagelink' - Default is 'Next Page' ( string ). Text for link to next page.
of the bookmark.
'previouspagelink' - Default is 'Previous Page' ( string ). Text for link to
previous page, if available.
'pagelink' - Default is '%' ( String ).Format string for page numbers. The % in
the parameter string will be replaced with the page number, so Page %
generates "Page 1", "Page 2", etc. Defaults to %, just the page number.
'before' - Default is '
Pages:' ( string ). The html
or text to prepend to each bookmarks.
'after' - Default is '
' ( string ). The html or text to append to each bookmarks.
'text_before' - Default is '' ( string ). The text to prepend to each Pages link
inside the <a> tag. Also prepended to the current item, which is not linked.
'text_after' - Default is '' ( string ). The text to append to each Pages link
inside the <a> tag. Also appended to the current item, which is not linked.string|arrayOptional. Overwrite the defaults.
stringFormatted output in HTML.
Comments template
Arguments
$comment
objectcomment data
$args
arraycomment arguments
$depth
intcomment depth