wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren
wp-includes/post-template.php › WordPress File
Funktionen36
› WordPress Post Template Functions.
Funktion | Kurzbeschreibung |
---|---|
body_class | Displays the class names for the body element. |
get_body_class | Retrieves an array of the class names for the body element. |
get_page_template_slug | Get the specific template filename for a given post. |
get_post_class | Retrieves an array of the class names for the post container element. |
get_post_parent | Retrieves the parent post object for the given post. |
get_the_content | Retrieve the post content. |
get_the_excerpt | Retrieves the post excerpt. |
get_the_guid | Retrieve the Post Global Unique Identifier (guid). |
get_the_id | Retrieve the ID of the current item in the WordPress Loop. |
get_the_password_form | Retrieve protected post password form content. |
get_the_title | Retrieve post title. |
has_excerpt | Determines whether the post has a custom excerpt. |
has_post_parent | Returns whether the given post has a parent post. |
is_page_template | Determines whether currently in a page template. |
post_class | Displays the classes for the post container element. |
post_custom | Retrieve post custom meta data field. |
post_password_required | Whether post requires password and correct password has been provided. |
prepend_attachment | Wrap attachment in paragraph tag before content. |
the_attachment_link | Display an attachment page link using an image or icon. |
the_content | Display the post content. |
the_excerpt | Display the post excerpt. |
the_guid | Display the Post Global Unique Identifier (guid). |
the_id | Display the ID of the current item in the WordPress Loop. |
the_title | Display or retrieve the current post title with optional markup. |
the_title_attribute | Sanitize the current title when retrieving or displaying. |
walk_page_dropdown_tree | Retrieve HTML dropdown (select) content for page list. |
walk_page_tree | Retrieve HTML list content for page list. |
wp_dropdown_pages | Retrieve or display a list of pages as a dropdown (select list). |
wp_get_attachment_link | Retrieve an attachment page link using an image or icon, if possible. |
wp_link_pages | The formatted output of a list of pages. |
wp_list_pages | Retrieve or display a list of pages (or hierarchical post type items) in list (li) format. |
wp_list_post_revisions | Display a list of a post's revisions. |
wp_page_menu | Displays or retrieves a list of pages with an optional home link. |
wp_post_revision_title | Retrieve formatted date timestamp of a revision (linked to that revisions's page). |
wp_post_revision_title_expanded | Retrieve formatted date timestamp of a revision (linked to that revisions's page). |
_wp_link_page | Helper function for wp_link_pages(). |