X7ROOT File Manager
Current Path:
/home/bloomi9/realworks1.com/landsale-ebook/wp-includes/blocks
home
/
bloomi9
/
realworks1.com
/
landsale-ebook
/
wp-includes
/
blocks
/
📁
..
📄
.htaccess
(206 B)
📁
archives
📄
archives.php
(2.81 KB)
📁
audio
📁
block
📄
block.php
(937 B)
📁
button
📁
buttons
📁
calendar
📄
calendar.php
(1.71 KB)
📁
categories
📄
categories.php
(2.52 KB)
📁
classic
📁
code
📁
column
📁
columns
📁
file
📁
gallery
📁
group
📁
heading
📁
html
📁
image
📄
index.php
(1.48 KB)
📁
latest-comments
📄
latest-comments.php
(4.98 KB)
📁
latest-posts
📄
latest-posts.php
(6.55 KB)
📁
list
📁
media-text
📁
missing
📁
more
📁
nextpage
📁
paragraph
📁
preformatted
📁
pullquote
📁
quote
📁
rss
📄
rss.php
(3.24 KB)
📁
search
📄
search.php
(2.21 KB)
📁
separator
📁
shortcode
📄
shortcode.php
(697 B)
📁
social-link
📄
social-link.php
(53.94 KB)
📁
social-links
📁
spacer
📁
subhead
📁
table
📁
tag-cloud
📄
tag-cloud.php
(1.39 KB)
📁
text-columns
📁
verse
📁
video
Editing: tag-cloud.php
<?php /** * Server-side rendering of the `core/tag-cloud` block. * * @package WordPress */ /** * Renders the `core/tag-cloud` block on server. * * @param array $attributes The block attributes. * * @return string Returns the tag cloud for selected taxonomy. */ function render_block_core_tag_cloud( $attributes ) { $class = isset( $attributes['align'] ) ? "wp-block-tag-cloud align{$attributes['align']}" : 'wp-block-tag-cloud'; if ( isset( $attributes['className'] ) ) { $class .= ' ' . $attributes['className']; } $args = array( 'echo' => false, 'taxonomy' => $attributes['taxonomy'], 'show_count' => $attributes['showTagCounts'], ); $tag_cloud = wp_tag_cloud( $args ); if ( ! $tag_cloud ) { $labels = get_taxonomy_labels( get_taxonomy( $attributes['taxonomy'] ) ); $tag_cloud = esc_html( sprintf( /* translators: %s: taxonomy name */ __( 'Your site doesn’t have any %s, so there’s nothing to display here at the moment.' ), strtolower( $labels->name ) ) ); } return sprintf( '<p class="%1$s">%2$s</p>', esc_attr( $class ), $tag_cloud ); } /** * Registers the `core/tag-cloud` block on server. */ function register_block_core_tag_cloud() { register_block_type_from_metadata( __DIR__ . '/tag-cloud', array( 'render_callback' => 'render_block_core_tag_cloud', ) ); } add_action( 'init', 'register_block_core_tag_cloud' );
Upload File
Create Folder