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.
stringarrayOptional. Overwrite the defaults.
stringFormatted output in HTML.get_layout() : string
stringcurrent page layoutget_title_style()
hasShare(string $context) : boolean
stringcurrent view (page, post, etc.)
booleanwhether the current context has share buttonshas_page_header() : boolean
booleanwhether the current page has a titleis_login() : bool
boolwhether the current page is wp-loginpage_header(bool $placed, string | null $title)
boolwhether the title has already been output
stringnullif set, overrides the current post title
pagination(string | null $pagination_type)
stringnulloverrides the pagination settings
pagination_list()
post_format_icon(string $format) : string
stringpost format slug
stringicon htmlshare(string $context)
stringcurrent view (page, post, etc.)
site_title()
title_style()
Comments template
Parameters
$comment
objectcomment data
$args
arraycomment arguments
$depth
intcomment depth