wpseek.com
A WordPress-centric search engine for devs and theme authors



wp-includes/post-template.php › WordPress File

Functions37
WordPress Post Template Functions.


Function Short description
body_classDisplays the class names for the body element.
get_body_classRetrieves an array of the class names for the body element.
get_page_template_slugGets the specific template filename for a given post.
get_post_classRetrieves an array of the class names for the post container element.
get_post_parentRetrieves the parent post object for the given post.
get_the_contentRetrieves the post content.
get_the_excerptRetrieves the post excerpt.
get_the_guidRetrieves the Post Global Unique Identifier (guid).
get_the_idRetrieves the ID of the current item in the WordPress Loop.
get_the_password_formRetrieves protected post password form content.
get_the_titleRetrieves the post title.
has_excerptDetermines whether the post has a custom excerpt.
has_post_parentReturns whether the given post has a parent post.
is_page_templateDetermines whether the current post uses a page template.
post_classDisplays the classes for the post container element.
post_customRetrieves post custom meta data field.
post_password_requiredDetermines whether the post requires password and whether a correct password has been provided.
prepend_attachmentWraps attachment in paragraph tag before content.
the_attachment_linkDisplays an attachment page link using an image or icon.
the_contentDisplays the post content.
the_excerptDisplays the post excerpt.
the_guidDisplays the Post Global Unique Identifier (guid).
the_idDisplays the ID of the current item in the WordPress Loop.
the_metaDisplays a list of post custom fields.
the_titleDisplays or retrieves the current post title with optional markup.
the_title_attributeSanitizes the current title when retrieving or displaying.
walk_page_dropdown_treeRetrieves HTML dropdown (select) content for page list.
walk_page_treeRetrieves HTML list content for page list.
wp_dropdown_pagesRetrieves or displays a list of pages as a dropdown (select list).
wp_get_attachment_linkRetrieves an attachment page link using an image or icon, if possible.
wp_link_pagesThe formatted output of a list of pages.
wp_list_pagesRetrieves or displays a list of pages (or hierarchical post type items) in list (li) format.
wp_list_post_revisionsDisplays a list of a post's revisions.
wp_page_menuDisplays or retrieves a list of pages with an optional home link.
wp_post_revision_titleRetrieves formatted date timestamp of a revision (linked to that revisions's page).
wp_post_revision_title_expandedRetrieves formatted date timestamp of a revision (linked to that revisions's page).
_wp_link_pageHelper function for wp_link_pages().