wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



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

Fonctions93
General template tags that can go anywhere in a template.


Function Short description
add_thickboxEnqueues the default ThickBox js and css.
allowed_tagsDisplays all of the allowed tags in HTML format with attributes.
bloginfoDisplays information about the current site.
calendar_week_modGets number of days since the start of the week.
checkedOutputs the HTML checked attribute.
delete_get_calendar_cachePurges the cached results of get_calendar.
disabledOutputs the HTML disabled attribute.
feed_linksDisplays the links to the general feeds.
feed_links_extraDisplays the links to the extra feeds such as category feeds.
get_archives_linkRetrieves archive link content based on predefined or custom code.
get_bloginfoRetrieves information about the current site.
get_calendarDisplays calendar with days that have posts as links.
get_custom_logoReturns a custom logo, linked to home unless the theme supports removing the link on the home page.
get_footerLoads footer template.
get_headerLoads header template.
get_language_attributesGets the language attributes for the 'html' tag.
get_post_datetimeRetrieves post published or modified time as a `DateTimeImmutable` object instance.
get_post_modified_timeRetrieves the time at which the post was last modified.
get_post_timeRetrieves the time at which the post was written.
get_post_timestampRetrieves post published or modified time as a Unix timestamp.
get_search_formDisplays search form.
get_search_queryRetrieves the contents of the search WordPress query variable.
get_sidebarLoads sidebar template.
get_site_icon_urlReturns the Site Icon URL.
get_template_partLoads a template part into a template.
get_the_archive_descriptionRetrieves the description for an author, post type, or term archive.
get_the_archive_titleRetrieves the archive title based on the queried object.
get_the_dateRetrieves the date on which the post was written.
get_the_generatorCreates the generator XML or Comment for RSS, ATOM, etc.
get_the_modified_dateRetrieves the date on which the post was last modified.
get_the_modified_timeRetrieves the time at which the post was last modified.
get_the_post_type_descriptionRetrieves the description for a post type archive.
get_the_timeRetrieves the time at which the post was written.
has_custom_logoDetermines whether the site has a custom logo.
has_site_iconDetermines whether the site has a Site Icon.
language_attributesDisplays the language attributes for the 'html' tag.
paginate_linksRetrieves paginated links for archive post pages.
post_type_archive_titleDisplays or retrieves title for a post type archive.
register_admin_color_schemesRegisters the default admin color schemes.
rsd_linkDisplays the link to the Really Simple Discovery service endpoint.
selectedOutputs the HTML selected attribute.
single_cat_titleDisplays or retrieves page title for category archive.
single_month_titleDisplays or retrieves page title for post archive based on date.
single_post_titleDisplays or retrieves page title for post.
single_tag_titleDisplays or retrieves page title for tag post archive.
single_term_titleDisplays or retrieves page title for taxonomy term archive.
site_icon_urlDisplays the Site Icon URL.
the_archive_descriptionDisplays category, tag, term, or author description.
the_archive_titleDisplays the archive title based on the queried object.
the_custom_logoDisplays a custom logo, linked to home unless the theme supports removing the link on the home page.
the_dateDisplays or retrieves the date the current post was written (once per date)
the_date_xmlOutputs the date in iso8601 format for xml files.
the_generatorDisplays the generator XML or Comment for RSS, ATOM, etc.
the_modified_dateDisplays the date on which the post was last modified.
the_modified_timeDisplays the time at which the post was last modified.
the_search_queryDisplays the contents of the search query variable.
the_timeDisplays the time at which the post was written.
the_weekdayDisplays the weekday on which the post was written.
the_weekday_dateDisplays the weekday on which the post was written.
user_can_richeditDetermines whether the user can access the visual editor.
wp_admin_cssEnqueues or directly prints a stylesheet link to the specified CSS file.
wp_admin_css_colorRegisters an admin color scheme css file.
wp_admin_css_uriDisplays the URL of a WordPress admin CSS file.
wp_body_openFires the wp_body_open action.
wp_default_editorFinds out which editor should be displayed by default.
wp_dependencies_unique_hostsRetrieves a list of unique hosts of all enqueued scripts and styles.
wp_editorRenders an editor.
wp_enqueue_code_editorEnqueues assets needed by the code editor for the given settings.
wp_enqueue_editorOutputs the editor scripts, stylesheets, and default settings.
wp_footerFires the wp_footer action.
wp_generatorDisplays the XHTML generator that is generated on the wp_head hook.
wp_get_archivesDisplays archive links based on type and format.
wp_get_code_editor_settingsGenerates and returns code editor settings.
wp_get_document_titleReturns document title for the current page.
wp_headFires the wp_head action.
wp_heartbeat_settingsDefault settings for heartbeat.
wp_loginoutDisplays the Log In/Out link.
wp_login_formProvides a simple login form for use anywhere within WordPress.
wp_login_urlRetrieves the login URL.
wp_logout_urlRetrieves the logout URL.
wp_lostpassword_urlReturns the URL that allows the user to reset the lost password.
wp_metaTheme container function for the 'wp_meta' action.
wp_preload_resourcesPrints resource preloads directives to browsers.
wp_readonlyOutputs the HTML readonly attribute.
wp_registerDisplays the Registration or Admin link.
wp_registration_urlReturns the URL that allows the user to register on the site.
wp_required_field_indicatorAssigns a visual indicator for required form fields.
wp_required_field_messageCreates a message to explain required form fields.
wp_resource_hintsPrints resource hints to browsers for pre-fetching, pre-rendering and pre-connecting to websites.
wp_site_iconDisplays site icon meta tags.
wp_strict_cross_origin_referrerDisplays a referrer `strict-origin-when-cross-origin` meta tag.
wp_titleDisplays or retrieves page title for all areas of blog.
__checked_selected_helperPrivate helper function for checked, selected, disabled and readonly.