class WpvTemplates
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 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 tag. Also appended to the current item, which is not linked.
string
array
Optional. Overwrite the defaults.
string
Formatted output in HTML.get_layout() : string
string
current page layoutget_title_style()
hasShare(string $context) : boolean
string
current view (page, post, etc.)
boolean
whether the current context has share buttonshas_page_header() : boolean
boolean
whether the current page has a titleis_login() : bool
bool
whether the current page is wp-loginpage_header(bool $placed, string | null $title)
bool
whether the title has already been output
string
null
if set, overrides the current post title
pagination(string | null $pagination_type)
string
null
overrides the pagination settings
pagination_list()
post_format_icon(string $format) : string
string
post format slug
string
icon htmlshare(string $context)
string
current view (page, post, etc.)
site_title()
title_style()
Comments template
Parameters
$comment
object
comment data
$args
array
comment arguments
$depth
int
comment depth