Метод |
Описание |
|
__construct ( array | object | string $args ) |
WPLib_Post_View_Base constructor. |
|
get_adjacent_post_link ( array $args = [] ) : mixed | null |
|
|
get_author_hcard_html ( array $args = [] ) : string |
|
|
get_category_list_links_html ( array $args = [] ) : boolean | string |
|
|
get_comments_html ( array $args = [] ) : mixed | null |
|
|
get_content_html ( array $args = [] ) : string |
|
|
get_css_classes ( boolean | false $classes = false ) : array |
Return an array of CSS styles for this post |
|
get_css_classes_attr ( boolean | false $classes = false ) : string |
Return a list of CSS styles named to output into an HTML element for this post as a single string "class" attribute value. |
|
get_edit_link ( array $args = [] ) : string |
Return an edit link for this post. |
|
get_excerpt_html ( ) : string |
|
|
get_link ( string $link_text, array $args = [] ) : string |
Returns HTML for any value hyperlinked with the post's URL. |
|
get_multipage_links_html ( array $args = [] ) : string |
|
|
get_next_comments_link ( array $args = [] ) : string |
|
|
get_next_post_link ( array $args = [] ) : mixed | null |
|
|
get_number_of_comments_html ( ) : string |
|
|
get_post_tag_list_links_html ( array $args = [] ) : boolean | string |
|
|
get_previous_comments_link ( array $args = [] ) : string |
|
|
get_previous_post_link ( array $args = [] ) : mixed | null |
|
|
get_term_list_links_html ( array $args = [] ) : boolean | string |
|
|
get_title_html ( array $args = [] ) : null | string |
|
|
get_title_link ( array $args = [] ) : string |
Returns HTML for the title hyperlinked with the post's URL. |
|
has_categories ( ) : boolean |
|
|
has_post_tags ( ) : boolean |
|
|
has_tags ( ) : boolean |
|
|
post ( ) : WP_Post |
Provide easy access to the post object |
|
the ( boolean $method_name, string $to_output ) |
|
|
the_category_list_links_html ( array $args = [] ) |
|
|
the_comment_form_html ( array $args = [] ) |
|
|
the_comment_list_html ( array $args = [] ) |
|
|
the_comments_html ( array $args = [] ) : mixed | null |
|
|
the_content_html ( array $args = [] ) |
|
|
the_css_classes_attr ( boolean | false $classes = false ) |
Generate a "class" attribute value contained CSS styles named to output into an HTML element for this post. |
|
the_edit_link ( array $args = [] ) |
Output an edit link for this post. |
|
the_excerpt_html ( ) |
|
|
the_featured_image_html ( string $size = 'post-thumbnail', array $args = [] ) |
|
|
the_link ( string $link_text, array $args = [] ) |
Echo's HTML for any value hyperlinked with the post's URL. |
|
the_multipage_links_html ( array $args = [] ) : string |
|
|
the_next_comments_link ( array $args = [] ) : mixed | null |
|
|
the_next_post_link ( array $args = [] ) : mixed | null |
|
|
the_not ( boolean $method_name, string $to_output ) |
|
|
the_number_of_comments_html ( ) |
|
|
the_post_tag_list_links_html ( array $args = [] ) |
|
|
the_previous_comments_link ( array $args = [] ) : mixed | null |
|
|
the_previous_post_link ( array $args = [] ) : mixed | null |
|
|
the_thumbnail_html ( ) |
|
|
the_title_html ( array $args = [] ) : null | string |
|
|
the_title_link ( array $args = [] ) |
Echos HTML for the title hyperlinked with the post's URL. |
|