• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
WordPress a2z

WordPress a2z

WordPress Dynamic API Reference

  • Home
  • Plugins
  • Themes
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / Themes / Twenty Twenty-One
  • Description
  • APIs
  • Classes
  • Files
  • Hooks
1 to 30 of 73
  • twenty_twenty_one_add_menu_description_args() – Filters the arguments for a single nav menu item.
  • twenty_twenty_one_add_sub_menu_toggle() – Add a button to top-level menu items that has sub-menus.
  • twenty_twenty_one_body_classes() – Adds custom classes to the array of body classes.
  • twenty_twenty_one_can_show_post_thumbnail() – Determines if post thumbnail can be displayed.
  • twenty_twenty_one_change_calendar_nav_arrows() – Changes the default navigation arrows to svg icons
  • twenty_twenty_one_comment_form_defaults() – Changes comment form default fields.
  • twenty_twenty_one_content_width() – Set the content width in pixels, based on the theme’s design and stylesheet.
  • twenty_twenty_one_continue_reading_link_excerpt() – Create the continue reading link for excerpt.
  • twenty_twenty_one_continue_reading_link() – Create the continue reading link.
  • twenty_twenty_one_continue_reading_text() – Creates continue reading text
  • Twenty_Twenty_One_Custom_Colors::__construct() – Instantiate the object.
  • Twenty_Twenty_One_Custom_Colors::body_class() – Adds a class to <body> if the background-color is dark.
  • Twenty_Twenty_One_Custom_Colors::custom_color_variables() – Customizer & frontend custom color variables.
  • Twenty_Twenty_One_Custom_Colors::custom_get_readable_color() – Determine the luminance of the given color and then return #fff or #000 so that the text is always readable.
  • Twenty_Twenty_One_Custom_Colors::editor_custom_color_variables() – Editor custom color variables.
  • Twenty_Twenty_One_Custom_Colors::generate_custom_color_variables() – Generate color variables.
  • Twenty_Twenty_One_Custom_Colors::get_relative_luminance_from_hex() – Get luminance from a HEX color.
  • Twenty_Twenty_One_Customize_Color_Control::enqueue() – Enqueue control related scripts/styles.
  • Twenty_Twenty_One_Customize_Color_Control::to_json() – Refresh the parameters passed to the JavaScript via JSON.
  • Twenty_Twenty_One_Customize_Notice_Control::render_content() – Renders the control content.
  • Twenty_Twenty_One_Customize::__construct() – Constructor. Instantiate the object.
  • Twenty_Twenty_One_Customize::partial_blogdescription() – Render the site tagline for the selective refresh partial.
  • Twenty_Twenty_One_Customize::partial_blogname() – Render the site title for the selective refresh partial.
  • Twenty_Twenty_One_Customize::register() – Register customizer options.
  • Twenty_Twenty_One_Customize::sanitize_checkbox() – Sanitize boolean for checkbox.
  • twenty_twenty_one_customize() – Prevents the Customizer from being loaded on WordPress versions prior to 5.3.
  • Twenty_Twenty_One_Dark_Mode::__construct() – Instantiate the object.
  • Twenty_Twenty_One_Dark_Mode::add_privacy_policy_content() – Adds information to the privacy policy.
  • Twenty_Twenty_One_Dark_Mode::admin_body_classes() – Adds a class to the <body> element in the editor to accommodate dark-mode.
  • Twenty_Twenty_One_Dark_Mode::customize_controls_enqueue_scripts() – Enqueue scripts for the customizer.
[1] [2] [3] Next »

Published: 9th December 2020 | Last updated: 9th December 2020

Theme Information

Version: 1.0
Theme type: WordPress theme
Theme name: twentytwentyone
Description: Default theme for 2021
Live demonstration: wp-themes.com/twentytwentyone
Template:
GitHub repository: wordpress/twentytwentyone
Letters: T
Download twentytwentyone

Footer

WordPress a2z
WordPress a2z
WordPress Dynamic API Reference
WordPress 5.6. PHP: 7.3.26
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  wp-a2z.org
© Copyright WordPress a2z 2014-2021. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins

  • Home
  • Blog
  • Sitemap
  • Sites