/home/techb158/public_html/wp-includes/blocks
NameSizeModeActions
accordion/-0755rm
accordion-heading/-0755rm
accordion-item/-0755rm
accordion-panel/-0755rm
archives/-0777rm
audio/-0777rm
avatar/-0777rm
block/-0777rm
breadcrumbs/-0755rm
button/-0777rm
buttons/-0777rm
calendar/-0777rm
categories/-0777rm
code/-0777rm
column/-0777rm
columns/-0777rm
comment-author-name/-0777rm
comment-content/-0777rm
comment-date/-0777rm
comment-edit-link/-0777rm
comment-reply-link/-0777rm
comment-template/-0777rm
comments/-0777rm
comments-pagination/-0777rm
comments-pagination-next/-0777rm
comments-pagination-numbers/-0777rm
comments-pagination-previous/-0777rm
comments-title/-0777rm
cover/-0777rm
details/-0755rm
embed/-0777rm
file/-0777rm
footnotes/-0755rm
freeform/-0777rm
gallery/-0777rm
group/-0777rm
heading/-0777rm
home-link/-0777rm
html/-0777rm
icon/-0755rm
image/-0777rm
latest-comments/-0777rm
latest-posts/-0777rm
legacy-widget/-0777rm
list/-0777rm
list-item/-0777rm
loginout/-0777rm
math/-0755rm
media-text/-0777rm
missing/-0777rm
more/-0777rm
navigation/-0777rm
navigation-link/-0777rm
navigation-overlay-close/-0755rm
navigation-submenu/-0777rm
nextpage/-0777rm
page-list/-0777rm
page-list-item/-0755rm
paragraph/-0777rm
pattern/-0777rm
playlist/-0755rm
playlist-track/-0755rm
post-author/-0777rm
post-author-biography/-0777rm
post-author-name/-0755rm
post-comments-count/-0755rm
post-comments-form/-0777rm
post-comments-link/-0755rm
post-content/-0777rm
post-date/-0777rm
post-excerpt/-0777rm
post-featured-image/-0777rm
post-navigation-link/-0777rm
post-template/-0777rm
post-terms/-0777rm
post-time-to-read/-0755rm
post-title/-0777rm
preformatted/-0777rm
pullquote/-0777rm
query/-0777rm
query-no-results/-0777rm
query-pagination/-0777rm
query-pagination-next/-0777rm
query-pagination-numbers/-0777rm
query-pagination-previous/-0777rm
query-title/-0777rm
query-total/-0755rm
quote/-0777rm
read-more/-0777rm
rss/-0777rm
search/-0777rm
separator/-0777rm
shortcode/-0777rm
site-logo/-0777rm
site-tagline/-0777rm
site-title/-0777rm
social-link/-0777rm
social-links/-0777rm
spacer/-0777rm
tab-list/-0755rm
tab-panel/-0755rm
tab-panels/-0755rm
table/-0777rm
tabs/-0755rm
tag-cloud/-0777rm
template-part/-0777rm
term-count/-0755rm
term-description/-0777rm
term-name/-0755rm
term-template/-0755rm
terms-query/-0755rm
text-columns/-0777rm
verse/-0777rm
video/-0777rm
widget-group/-0777rm
accordion-item.php30520666editdlrm
accordion.php11470666editdlrm
archives.php43850666editdlrm
avatar.php56380666editdlrm
block.php31220666editdlrm
blocks-json.php2106610666editdlrm
breadcrumbs.php190570666editdlrm
button.php42110666editdlrm
calendar.php60750666editdlrm
categories.php49380666editdlrm
comment-author-name.php21360666editdlrm
comment-content.php24590666editdlrm
comment-date.php18650666editdlrm
comment-edit-link.php17130666editdlrm
comment-reply-link.php20750666editdlrm
comment-template.php44940666editdlrm
comments-pagination-next.php19240666editdlrm
comments-pagination-numbers.php16320666editdlrm
comments-pagination-previous.php17900666editdlrm
comments-pagination.php12610666editdlrm
comments-title.php27870666editdlrm
comments.php67840666editdlrm
cover.php74040666editdlrm
details.php14980666editdlrm
file.php18790666editdlrm
footnotes.php38180666editdlrm
gallery.php223450666editdlrm
heading.php13010666editdlrm
home-link.php47030666editdlrm
icon.php43740666editdlrm
image.php176420666editdlrm
index.php51040666editdlrm
latest-comments.php56220666editdlrm
latest-posts.php104590666editdlrm
legacy-widget.php40110666editdlrm
list.php12730666editdlrm
loginout.php21230666editdlrm
media-text.php42980666editdlrm
navigation-link.php166540666editdlrm
navigation-overlay-close.php17650666editdlrm
navigation-submenu.php110500666editdlrm
navigation.php708920666editdlrm
page-list-item.php3610666editdlrm
page-list.php138630666editdlrm
paragraph.php11390666editdlrm
pattern.php17880666editdlrm
playlist-track.php24870666editdlrm
playlist.php66160666editdlrm
post-author-biography.php15240666editdlrm
post-author-name.php19620666editdlrm
post-author.php27340666editdlrm
post-comments-count.php12750666editdlrm
post-comments-form.php28050666editdlrm
post-comments-link.php22370666editdlrm
post-content.php26680666editdlrm
post-date.php36920666editdlrm
post-excerpt.php43150666editdlrm
post-featured-image.php94520666editdlrm
post-navigation-link.php48070666editdlrm
post-template.php59400666editdlrm
post-terms.php36400666editdlrm
post-time-to-read.php64110666editdlrm
post-title.php21380666editdlrm
query-no-results.php18470666editdlrm
query-pagination-next.php36760666editdlrm
query-pagination-numbers.php47000666editdlrm
query-pagination-previous.php34730666editdlrm
query-pagination.php11760666editdlrm
query-title.php27710666editdlrm
query-total.php24710666editdlrm
query.php56900666editdlrm
read-more.php18460666editdlrm
require-dynamic-blocks.php52560666editdlrm
require-static-blocks.php5350666editdlrm
rss.php46090666editdlrm
search.php256000666editdlrm
shortcode.php7350666editdlrm
site-logo.php63340666editdlrm
site-tagline.php12030666editdlrm
site-title.php18640666editdlrm
social-link.php676020666editdlrm
tab-list.php23220666editdlrm
tab-panel.php16690666editdlrm
tabs.php39490666editdlrm
tag-cloud.php15860666editdlrm
template-part.php99640666editdlrm
term-count.php18430666editdlrm
term-description.php17700666editdlrm
term-name.php20380666editdlrm
term-template.php45180666editdlrm
video.php27330666editdlrm
widget-group.php24380666editdlrm
Edit: /home/techb158/public_html/wp-includes/blocks/post-navigation-link.php (4807B)
$classes, ) ); // Set default values. $format = '%link'; $link = 'next' === $navigation_type ? _x( 'Next', 'label for next post link' ) : _x( 'Previous', 'label for previous post link' ); $label = ''; // Only use hardcoded values here, otherwise we need to add escaping where these values are used. $arrow_map = array( 'none' => '', 'arrow' => array( 'next' => '→', 'previous' => '←', ), 'chevron' => array( 'next' => '»', 'previous' => '«', ), ); // If a custom label is provided, make this a link. // `$label` is used to prepend the provided label, if we want to show the page title as well. if ( isset( $attributes['label'] ) && ! empty( $attributes['label'] ) ) { $label = "{$attributes['label']}"; $link = $label; } // If we want to also show the page title, make the page title a link and prepend the label. if ( isset( $attributes['showTitle'] ) && $attributes['showTitle'] ) { /* * If the label link option is not enabled but there is a custom label, * display the custom label as text before the linked title. */ if ( ! $attributes['linkLabel'] ) { if ( $label ) { $format = '' . wp_kses_post( $label ) . ' %link'; } $link = '%title'; } elseif ( isset( $attributes['linkLabel'] ) && $attributes['linkLabel'] ) { // If the label link option is enabled and there is a custom label, display it before the title. if ( $label ) { $link = '' . wp_kses_post( $label ) . ' %title'; } else { /* * If the label link option is enabled and there is no custom label, * add a colon between the label and the post title. */ $label = 'next' === $navigation_type ? _x( 'Next:', 'label before the title of the next post' ) : _x( 'Previous:', 'label before the title of the previous post' ); $link = sprintf( '%1$s %2$s', wp_kses_post( $label ), '%title' ); } } } // Display arrows. if ( isset( $attributes['arrow'] ) && 'none' !== $attributes['arrow'] && isset( $arrow_map[ $attributes['arrow'] ] ) ) { $arrow = $arrow_map[ $attributes['arrow'] ][ $navigation_type ]; if ( 'next' === $navigation_type ) { $format = '%link'; } else { $format = '%link'; } } /* * The dynamic portion of the function name, `$navigation_type`, * Refers to the type of adjacency, 'next' or 'previous'. * * @see https://developer.wordpress.org/reference/functions/get_previous_post_link/ * @see https://developer.wordpress.org/reference/functions/get_next_post_link/ */ $get_link_function = "get_{$navigation_type}_post_link"; if ( ! empty( $attributes['taxonomy'] ) ) { $content = $get_link_function( $format, $link, true, '', $attributes['taxonomy'] ); } else { $content = $get_link_function( $format, $link ); } return sprintf( '
%2$s
', $wrapper_attributes, $content ); } /** * Registers the `core/post-navigation-link` block on the server. * * @since 5.9.0 */ function register_block_core_post_navigation_link() { register_block_type_from_metadata( __DIR__ . '/post-navigation-link', array( 'render_callback' => 'render_block_core_post_navigation_link', ) ); } add_action( 'init', 'register_block_core_post_navigation_link' );