wpseek.com
A WordPress-centric search engine for devs and theme authors
wp-includes/general-template.php › WordPress File
Functions93
› General template tags that can go anywhere in a template.
Function | Short description |
---|---|
add_thickbox | Enqueues the default ThickBox js and css. |
allowed_tags | Display all of the allowed tags in HTML format with attributes. |
bloginfo | Displays information about the current site. |
calendar_week_mod | Get number of days since the start of the week. |
checked | Outputs the HTML checked attribute. |
delete_get_calendar_cache | Purge the cached results of get_calendar. |
disabled | Outputs the HTML disabled attribute. |
feed_links | Display the links to the general feeds. |
feed_links_extra | Display the links to the extra feeds such as category feeds. |
get_archives_link | Retrieve archive link content based on predefined or custom code. |
get_bloginfo | Retrieves information about the current site. |
get_calendar | Display calendar with days that have posts as links. |
get_custom_logo | Returns a custom logo, linked to home unless the theme supports removing the link on the home page. |
get_footer | Load footer template. |
get_header | Load header template. |
get_language_attributes | Gets the language attributes for the 'html' tag. |
get_post_datetime | Retrieve post published or modified time as a `DateTimeImmutable` object instance. |
get_post_modified_time | Retrieve the time at which the post was last modified. |
get_post_time | Retrieve the time at which the post was written. |
get_post_timestamp | Retrieve post published or modified time as a Unix timestamp. |
get_search_form | Display search form. |
get_search_query | Retrieves the contents of the search WordPress query variable. |
get_sidebar | Load sidebar template. |
get_site_icon_url | Returns the Site Icon URL. |
get_template_part | Loads a template part into a template. |
get_the_archive_description | Retrieves the description for an author, post type, or term archive. |
get_the_archive_title | Retrieve the archive title based on the queried object. |
get_the_date | Retrieve the date on which the post was written. |
get_the_generator | Creates the generator XML or Comment for RSS, ATOM, etc. |
get_the_modified_date | Retrieve the date on which the post was last modified. |
get_the_modified_time | Retrieve the time at which the post was last modified. |
get_the_post_type_description | Retrieves the description for a post type archive. |
get_the_time | Retrieve the time at which the post was written. |
has_custom_logo | Determines whether the site has a custom logo. |
has_site_icon | Whether the site has a Site Icon. |
language_attributes | Displays the language attributes for the 'html' tag. |
noindex | Displays a noindex meta tag if required by the blog configuration. |
paginate_links | Retrieve paginated link for archive post pages. |
post_type_archive_title | Display or retrieve title for a post type archive. |
readonly | Outputs the HTML readonly attribute. |
register_admin_color_schemes | Registers the default admin color schemes. |
rsd_link | Display the link to the Really Simple Discovery service endpoint. |
selected | Outputs the HTML selected attribute. |
single_cat_title | Display or retrieve page title for category archive. |
single_month_title | Display or retrieve page title for post archive based on date. |
single_post_title | Display or retrieve page title for post. |
single_tag_title | Display or retrieve page title for tag post archive. |
single_term_title | Display or retrieve page title for taxonomy term archive. |
site_icon_url | Displays the Site Icon URL. |
the_archive_description | Display category, tag, term, or author description. |
the_archive_title | Display the archive title based on the queried object. |
the_custom_logo | Displays a custom logo, linked to home unless the theme supports removing the link on the home page. |
the_date | Display or Retrieve the date the current post was written (once per date) |
the_date_xml | Outputs the date in iso8601 format for xml files. |
the_generator | Display the generator XML or Comment for RSS, ATOM, etc. |
the_modified_date | Display the date on which the post was last modified. |
the_modified_time | Display the time at which the post was last modified. |
the_search_query | Displays the contents of the search query variable. |
the_time | Display the time at which the post was written. |
the_weekday | Display the weekday on which the post was written. |
the_weekday_date | Display the weekday on which the post was written. |
user_can_richedit | Whether the user can access the visual editor. |
wlwmanifest_link | Display the link to the Windows Live Writer manifest file. |
wp_admin_css | Enqueues or directly prints a stylesheet link to the specified CSS file. |
wp_admin_css_color | Registers an admin color scheme css file. |
wp_admin_css_uri | Displays the URL of a WordPress admin CSS file. |
wp_body_open | Fire the wp_body_open action. |
wp_default_editor | Find out which editor should be displayed by default. |
wp_dependencies_unique_hosts | Retrieves a list of unique hosts of all enqueued scripts and styles. |
wp_editor | Renders an editor. |
wp_enqueue_code_editor | Enqueue assets needed by the code editor for the given settings. |
wp_enqueue_editor | Outputs the editor scripts, stylesheets, and default settings. |
wp_footer | Fire the wp_footer action. |
wp_generator | Displays the XHTML generator that is generated on the wp_head hook. |
wp_get_archives | Display archive links based on type and format. |
wp_get_code_editor_settings | Generate and return code editor settings. |
wp_get_document_title | Returns document title for the current page. |
wp_head | Fire the wp_head action. |
wp_heartbeat_settings | Default settings for heartbeat |
wp_loginout | Display the Log In/Out link. |
wp_login_form | Provides a simple login form for use anywhere within WordPress. |
wp_login_url | Retrieves the login URL. |
wp_logout_url | Retrieves the logout URL. |
wp_lostpassword_url | Returns the URL that allows the user to retrieve the lost password |
wp_meta | Theme container function for the 'wp_meta' action. |
wp_no_robots | Display a noindex meta tag. |
wp_register | Display the Registration or Admin link. |
wp_registration_url | Returns the URL that allows the user to register on the site. |
wp_resource_hints | Prints resource hints to browsers for pre-fetching, pre-rendering and pre-connecting to web sites. |
wp_sensitive_page_meta | Display a noindex,noarchive meta tag and referrer origin-when-cross-origin meta tag. |
wp_site_icon | Display site icon meta tags. |
wp_title | Display or retrieve page title for all areas of blog. |
__checked_selected_helper | Private helper function for checked, selected, disabled and readonly. |