first commit

This commit is contained in:
2024-12-23 22:29:39 +01:00
commit 01e021cbac
6943 changed files with 3009416 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
<?php
/**
* The template for displaying 404 pages (not found).
*
* @package HelloElementor
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
?>
<main id="content" class="site-main">
<?php if ( apply_filters( 'hello_elementor_page_title', true ) ) : ?>
<header class="page-header">
<h1 class="entry-title"><?php echo esc_html__( 'The page can&rsquo;t be found.', 'hello-elementor' ); ?></h1>
</header>
<?php endif; ?>
<div class="page-content">
<p><?php echo esc_html__( 'It looks like nothing was found at this location.', 'hello-elementor' ); ?></p>
</div>
</main>

View File

@@ -0,0 +1,55 @@
<?php
/**
* The template for displaying archive pages.
*
* @package HelloElementor
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
?>
<main id="content" class="site-main">
<?php if ( apply_filters( 'hello_elementor_page_title', true ) ) : ?>
<header class="page-header">
<?php
the_archive_title( '<h1 class="entry-title">', '</h1>' );
the_archive_description( '<p class="archive-description">', '</p>' );
?>
</header>
<?php endif; ?>
<div class="page-content">
<?php
while ( have_posts() ) {
the_post();
$post_link = get_permalink();
?>
<article class="post">
<?php
printf( '<h2 class="%s"><a href="%s">%s</a></h2>', 'entry-title', esc_url( $post_link ), wp_kses_post( get_the_title() ) );
if ( has_post_thumbnail() ) {
printf( '<a href="%s">%s</a>', esc_url( $post_link ), get_the_post_thumbnail( $post, 'large' ) );
}
the_excerpt();
?>
</article>
<?php } ?>
</div>
<?php wp_link_pages(); ?>
<?php
global $wp_query;
if ( $wp_query->max_num_pages > 1 ) :
?>
<nav class="pagination">
<?php /* Translators: HTML arrow */ ?>
<div class="nav-previous"><?php next_posts_link( sprintf( __( '%s older', 'hello-elementor' ), '<span class="meta-nav">&larr;</span>' ) ); ?></div>
<?php /* Translators: HTML arrow */ ?>
<div class="nav-next"><?php previous_posts_link( sprintf( __( 'newer %s', 'hello-elementor' ), '<span class="meta-nav">&rarr;</span>' ) ); ?></div>
</nav>
<?php endif; ?>
</main>

View File

@@ -0,0 +1,61 @@
<?php
/**
* The template for displaying footer.
*
* @package HelloElementor
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
$is_editor = isset( $_GET['elementor-preview'] );
$site_name = get_bloginfo( 'name' );
$tagline = get_bloginfo( 'description', 'display' );
$footer_class = did_action( 'elementor/loaded' ) ? esc_attr( hello_get_footer_layout_class() ) : '';
$footer_nav_menu = wp_nav_menu( [
'theme_location' => 'menu-2',
'fallback_cb' => false,
'echo' => false,
] );
?>
<footer id="site-footer" class="site-footer dynamic-footer <?php echo esc_attr( $footer_class ); ?>">
<div class="footer-inner">
<div class="site-branding show-<?php echo esc_attr( hello_elementor_get_setting( 'hello_footer_logo_type' ) ); ?>">
<?php if ( has_custom_logo() && ( 'title' !== hello_elementor_get_setting( 'hello_footer_logo_type' ) || $is_editor ) ) : ?>
<div class="site-logo <?php echo esc_attr( hello_show_or_hide( 'hello_footer_logo_display' ) ); ?>">
<?php the_custom_logo(); ?>
</div>
<?php endif;
if ( $site_name && ( 'logo' !== hello_elementor_get_setting( 'hello_footer_logo_type' ) ) || $is_editor ) : ?>
<h4 class="site-title <?php echo esc_attr( hello_show_or_hide( 'hello_footer_logo_display' ) ); ?>">
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr__( 'Home', 'hello-elementor' ); ?>" rel="home">
<?php echo esc_html( $site_name ); ?>
</a>
</h4>
<?php endif;
if ( $tagline || $is_editor ) : ?>
<p class="site-description <?php echo esc_attr( hello_show_or_hide( 'hello_footer_tagline_display' ) ); ?>">
<?php echo esc_html( $tagline ); ?>
</p>
<?php endif; ?>
</div>
<?php if ( $footer_nav_menu ) : ?>
<nav class="site-navigation <?php echo esc_attr( hello_show_or_hide( 'hello_footer_menu_display' ) ); ?>">
<?php
// PHPCS - escaped by WordPress with "wp_nav_menu"
echo $footer_nav_menu; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
?>
</nav>
<?php endif; ?>
<?php if ( '' !== hello_elementor_get_setting( 'hello_footer_copyright_text' ) || $is_editor ) : ?>
<div class="copyright <?php echo esc_attr( hello_show_or_hide( 'hello_footer_copyright_display' ) ); ?>">
<p><?php echo wp_kses_post( hello_elementor_get_setting( 'hello_footer_copyright_text' ) ); ?></p>
</div>
<?php endif; ?>
</div>
</footer>

View File

@@ -0,0 +1,70 @@
<?php
/**
* The template for displaying header.
*
* @package HelloElementor
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
if ( ! hello_get_header_display() ) {
return;
}
$is_editor = isset( $_GET['elementor-preview'] );
$site_name = get_bloginfo( 'name' );
$tagline = get_bloginfo( 'description', 'display' );
$header_nav_menu = wp_nav_menu( [
'theme_location' => 'menu-1',
'fallback_cb' => false,
'echo' => false,
] );
?>
<header id="site-header" class="site-header dynamic-header <?php echo esc_attr( hello_get_header_layout_class() ); ?>">
<div class="header-inner">
<div class="site-branding show-<?php echo esc_attr( hello_elementor_get_setting( 'hello_header_logo_type' ) ); ?>">
<?php if ( has_custom_logo() && ( 'title' !== hello_elementor_get_setting( 'hello_header_logo_type' ) || $is_editor ) ) : ?>
<div class="site-logo <?php echo esc_attr( hello_show_or_hide( 'hello_header_logo_display' ) ); ?>">
<?php the_custom_logo(); ?>
</div>
<?php endif;
if ( $site_name && ( 'logo' !== hello_elementor_get_setting( 'hello_header_logo_type' ) || $is_editor ) ) : ?>
<h1 class="site-title <?php echo esc_attr( hello_show_or_hide( 'hello_header_logo_display' ) ); ?>">
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr__( 'Home', 'hello-elementor' ); ?>" rel="home">
<?php echo esc_html( $site_name ); ?>
</a>
</h1>
<?php endif;
if ( $tagline && ( hello_elementor_get_setting( 'hello_header_tagline_display' ) || $is_editor ) ) : ?>
<p class="site-description <?php echo esc_attr( hello_show_or_hide( 'hello_header_tagline_display' ) ); ?>">
<?php echo esc_html( $tagline ); ?>
</p>
<?php endif; ?>
</div>
<?php if ( $header_nav_menu ) : ?>
<nav class="site-navigation <?php echo esc_attr( hello_show_or_hide( 'hello_header_menu_display' ) ); ?>">
<?php
// PHPCS - escaped by WordPress with "wp_nav_menu"
echo $header_nav_menu; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
?>
</nav>
<div class="site-navigation-toggle-holder <?php echo esc_attr( hello_show_or_hide( 'hello_header_menu_display' ) ); ?>">
<div class="site-navigation-toggle" role="button" tabindex="0">
<i class="eicon-menu-bar" aria-hidden="true"></i>
<span class="screen-reader-text"><?php echo esc_html__( 'Menu', 'hello-elementor' ); ?></span>
</div>
</div>
<nav class="site-navigation-dropdown <?php echo esc_attr( hello_show_or_hide( 'hello_header_menu_display' ) ); ?>">
<?php
// PHPCS - escaped by WordPress with "wp_nav_menu"
echo $header_nav_menu; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
?>
</nav>
<?php endif; ?>
</div>
</header>

View File

@@ -0,0 +1,27 @@
<?php
/**
* The template for displaying footer.
*
* @package HelloElementor
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
$footer_nav_menu = wp_nav_menu( [
'theme_location' => 'menu-2',
'fallback_cb' => false,
'echo' => false,
] );
?>
<footer id="site-footer" class="site-footer">
<?php if ( $footer_nav_menu ) : ?>
<nav class="site-navigation">
<?php
// PHPCS - escaped by WordPress with "wp_nav_menu"
echo $footer_nav_menu; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
?>
</nav>
<?php endif; ?>
</footer>

View File

@@ -0,0 +1,713 @@
<section class="box box-1">
<?php if(get_field("albums_arr")[0]['show_title_img']) : ?>
<img class="title_img" src="<?= get_field("albums_arr")[0]['title_img']; ?>" alt="">
<?php else : ?>
<h2><?= get_field("albums_arr")[0]['title'] ?></h2>
<?php endif; ?>
<?php if(get_field("albums_arr")[0]['show_subtitle_img']) : ?>
<img class="subtitle_img" src="<?= get_field("albums_arr")[0]['subtitle_img']; ?>" alt="">
<?php else : ?>
<h3><?= get_field("albums_arr")[0]['subtitle'] ?></h3>
<?php endif; ?>
<?= get_field("albums_arr")[0]['text'] ?>
<ul class="actions">
<?php foreach (get_field("albums_arr")[0]['albums_list'] as $key => $value) : ?>
<li class="song song-<?= $key; ?>" song="<?= $value['album_song']; ?>"><?= $value['album_name']; ?>
<img src="/wp-content/uploads/2024/04/volume.png" alt="">
</li>
<?php endforeach; ?>
<?php if(get_field("albums_arr")[0]['add_text'] == 1): ?>
<li class="song text">
Teksty
<img src="/wp-content/uploads/2024/04/txt.png" alt="">
<div class="text-data">
<?= get_field("albums_arr")[0]['melody_text'] ?>
</div>
</li>
<?php endif; ?>
</ul>
<div class="img-box">
<a href="<?= get_field("albums_arr")[0]['album_1_big']; ?>" data-fancybox>
<img class="album" src="<?= get_field("albums_arr")[0]['album_1']; ?>" alt="">
</a>
<img class="album-record" src="/wp-content/uploads/2024/04/record.png" alt="">
</div>
</section>
<section class="box box-2">
<?php if(get_field("albums_arr")[1]['show_title_img']) : ?>
<img class="title_img" src="<?= get_field("albums_arr")[1]['title_img']; ?>" alt="">
<?php else : ?>
<h2><?= get_field("albums_arr")[1]['title'] ?></h2>
<?php endif; ?>
<?php if(get_field("albums_arr")[1]['show_subtitle_img']) : ?>
<img class="subtitle_img" src="<?= get_field("albums_arr")[1]['subtitle_img']; ?>" alt="">
<?php else : ?>
<h3><?= get_field("albums_arr")[1]['subtitle'] ?></h3>
<?php endif; ?>
<?= get_field("albums_arr")[1]['text'] ?>
<ul class="actions">
<?php foreach (get_field("albums_arr")[1]['albums_list'] as $key => $value) : ?>
<li class="song song-<?= $key; ?>" song="<?= $value['album_song']; ?>"><?= $value['album_name']; ?>
<img src="/wp-content/uploads/2024/04/volume.png" alt="">
</li>
<?php endforeach; ?>
<?php if(get_field("albums_arr")[1]['add_text'] == 1): ?>
<li class="song text">
Teksty
<img src="/wp-content/uploads/2024/04/txt.png" alt="">
<div class="text-data">
<?= get_field("albums_arr")[1]['melody_text'] ?>
</div>
</li>
<?php endif; ?>
</ul>
<div class="img-box">
<a href="<?= get_field("albums_arr")[1]['album_1_big']; ?>" data-fancybox>
<img class="album" src="<?= get_field("albums_arr")[1]['album_1']; ?>" alt="">
</a>
<img class="album-record" src="/wp-content/uploads/2024/04/record.png" alt="">
</div>
</section>
<section class="box box-3">
<?php if(get_field("albums_arr")[2]['show_title_img']) : ?>
<img class="title_img" src="<?= get_field("albums_arr")[2]['title_img']; ?>" alt="">
<?php else : ?>
<h2><?= get_field("albums_arr")[2]['title'] ?></h2>
<?php endif; ?>
<?php if(get_field("albums_arr")[2]['show_subtitle_img']) : ?>
<img class="subtitle_img" src="<?= get_field("albums_arr")[2]['subtitle_img']; ?>" alt="">
<?php else : ?>
<h3><?= get_field("albums_arr")[2]['subtitle'] ?></h3>
<?php endif; ?>
<?= get_field("albums_arr")[2]['text'] ?>
<ul class="actions">
<?php foreach (get_field("albums_arr")[2]['albums_list'] as $key => $value) : ?>
<li class="song song-<?= $key; ?>" song="<?= $value['album_song']; ?>"><?= $value['album_name']; ?>
<img src="/wp-content/uploads/2024/04/volume.png" alt="">
</li>
<?php endforeach; ?>
<?php if(get_field("albums_arr")[2]['add_text'] == 1): ?>
<li class="song text">
Teksty
<img src="/wp-content/uploads/2024/04/txt.png" alt="">
<div class="text-data">
<?= get_field("albums_arr")[2]['melody_text'] ?>
</div>
</li>
<?php endif; ?>
</ul>
<div class="img-box">
<a href="<?= get_field("albums_arr")[2]['album_1_big']; ?>" data-fancybox>
<img class="album" src="<?= get_field("albums_arr")[2]['album_1']; ?>" alt="">
</a>
<img class="album-record" src="/wp-content/uploads/2024/04/record.png" alt="">
</div>
</section>
<section class="box box-4">
<?php if(get_field("albums_arr")[3]['show_title_img']) : ?>
<img class="title_img" src="<?= get_field("albums_arr")[3]['title_img']; ?>" alt="">
<?php else : ?>
<h2><?= get_field("albums_arr")[3]['title'] ?></h2>
<?php endif; ?>
<?php if(get_field("albums_arr")[3]['show_subtitle_img']) : ?>
<img class="subtitle_img" src="<?= get_field("albums_arr")[3]['subtitle_img']; ?>" alt="">
<?php else : ?>
<h3><?= get_field("albums_arr")[3]['subtitle'] ?></h3>
<?php endif; ?>
<?= get_field("albums_arr")[3]['text'] ?>
<ul class="actions">
<?php foreach (get_field("albums_arr")[3]['albums_list'] as $key => $value) : ?>
<?php if($key == 1) : ?>
<li class="song-txt">Suita „Spotkania w czasie” z filmu Jastrun:</li>
<?php endif; ?>
<li class="song song-<?= $key; ?>" song="<?= $value['album_song']; ?>"><?= $value['album_name']; ?>
<img src="/wp-content/uploads/2024/04/volume.png" alt="">
</li>
<?php endforeach; ?>
<?php if(get_field("albums_arr")[3]['add_text'] == 1): ?>
<li class="song text">
Teksty
<img src="/wp-content/uploads/2024/04/txt.png" alt="">
<div class="text-data">
<?= get_field("albums_arr")[3]['melody_text'] ?>
</div>
</li>
<?php endif; ?>
</ul>
<div class="img-box">
<a href="<?= get_field("albums_arr")[3]['album_1_big']; ?>" data-fancybox>
<img class="album" src="<?= get_field("albums_arr")[3]['album_1']; ?>" alt="">
</a>
<img class="album-record" src="/wp-content/uploads/2024/04/record.png" alt="">
</div>
</section>
<section class="box box-5">
<?php if(get_field("albums_arr")[4]['show_title_img']) : ?>
<img class="title_img" src="<?= get_field("albums_arr")[4]['title_img']; ?>" alt="">
<?php else : ?>
<h2><?= get_field("albums_arr")[4]['title'] ?></h2>
<?php endif; ?>
<?php if(get_field("albums_arr")[4]['show_subtitle_img']) : ?>
<img class="subtitle_img" src="<?= get_field("albums_arr")[4]['subtitle_img']; ?>" alt="">
<?php else : ?>
<h3><?= get_field("albums_arr")[4]['subtitle'] ?></h3>
<?php endif; ?>
<?= get_field("albums_arr")[4]['text'] ?>
<ul class="actions actions-1">
<?php foreach (get_field("albums_arr")[4]['albums_list'] as $key => $value) : ?>
<?php if($key <= 5) : ?>
<li class="song song-<?= $key; ?>" song="<?= $value['album_song']; ?>"><?= $value['album_name']; ?>
<img src="/wp-content/uploads/2024/04/volume.png" alt="">
</li>
<?php endif; ?>
<?php endforeach; ?>
<?php if(get_field("albums_arr")[4]['add_text'] == 1): ?>
<li class="song text">
Teksty
<img src="/wp-content/uploads/2024/04/txt.png" alt="">
<div class="text-data">
<?= get_field("albums_arr")[4]['melody_text'] ?>
</div>
</li>
<?php endif; ?>
</ul>
<ul class="actions actions-2">
<?php foreach (get_field("albums_arr")[4]['albums_list'] as $key => $value) : ?>
<?php if($key > 5) : ?>
<li class="song song-<?= $key; ?>" song="<?= $value['album_song']; ?>"><?= $value['album_name']; ?>
<img src="/wp-content/uploads/2024/04/volume.png" alt="">
</li>
<?php endif; ?>
<?php endforeach; ?>
</ul>
<div class="img-box">
<a href="<?= get_field("albums_arr")[4]['album_1_big']; ?>" data-fancybox>
<img class="album" src="<?= get_field("albums_arr")[4]['album_1']; ?>" alt="">
</a>
<img class="album-record" src="/wp-content/uploads/2024/04/record.png" alt="">
</div>
</section>
<section class="box box-6">
<?php if(get_field("albums_arr")[5]['show_title_img']) : ?>
<img class="title_img" src="<?= get_field("albums_arr")[5]['title_img']; ?>" alt="">
<?php else : ?>
<h2><?= get_field("albums_arr")[5]['title'] ?></h2>
<?php endif; ?>
<?php if(get_field("albums_arr")[5]['show_subtitle_img']) : ?>
<img class="subtitle_img" src="<?= get_field("albums_arr")[5]['subtitle_img']; ?>" alt="">
<?php else : ?>
<h3><?= get_field("albums_arr")[5]['subtitle'] ?></h3>
<?php endif; ?>
<?= get_field("albums_arr")[5]['text'] ?>
<?php if(get_field("albums_arr")[5]['add_text'] == 1): ?>
<div class="song text">
Teksty
<img src="/wp-content/uploads/2024/04/txt.png" alt="">
<div class="text-data">
<?= get_field("albums_arr")[5]['melody_text'] ?>
</div>
</div>
<?php endif; ?>
<ul class="actions">
<?php foreach (get_field("albums_arr")[5]['albums_list'] as $key => $value) : ?>
<li class="song song-<?= $key; ?>" song="<?= $value['album_song']; ?>"><?= $value['album_name']; ?>
<img src="/wp-content/uploads/2024/04/volume.png" alt="">
</li>
<?php endforeach; ?>
</ul>
<div class="img-box">
<a href="<?= get_field("albums_arr")[5]['album_1_big']; ?>" data-fancybox>
<img class="album" src="<?= get_field("albums_arr")[5]['album_1']; ?>" alt="">
</a>
<img class="album-record" src="/wp-content/uploads/2024/04/record.png" alt="">
</div>
</section>
<section class="box box-7">
<?php if(get_field("albums_arr")[6]['show_title_img']) : ?>
<img class="title_img" src="<?= get_field("albums_arr")[6]['title_img']; ?>" alt="">
<?php else : ?>
<h2><?= get_field("albums_arr")[6]['title'] ?></h2>
<?php endif; ?>
<?php if(get_field("albums_arr")[6]['show_subtitle_img']) : ?>
<img class="subtitle_img" src="<?= get_field("albums_arr")[6]['subtitle_img']; ?>" alt="">
<?php else : ?>
<h3><?= get_field("albums_arr")[6]['subtitle'] ?></h3>
<?php endif; ?>
<?= get_field("albums_arr")[6]['text'] ?>
<ul class="actions actions-1">
<?php foreach (get_field("albums_arr")[6]['albums_list'] as $key => $value) : ?>
<?php if($key <= 5) : ?>
<li class="song song-<?= $key; ?>" song="<?= $value['album_song']; ?>"><?= $value['album_name']; ?>
<img src="/wp-content/uploads/2024/04/volume.png" alt="">
</li>
<?php endif; ?>
<?php endforeach; ?>
</ul>
<ul class="actions actions-2">
<?php foreach (get_field("albums_arr")[6]['albums_list'] as $key => $value) : ?>
<?php if($key > 5) : ?>
<li class="song song-<?= $key; ?>" song="<?= $value['album_song']; ?>"><?= $value['album_name']; ?>
<img src="/wp-content/uploads/2024/04/volume.png" alt="">
</li>
<?php endif; ?>
<?php endforeach; ?>
<?php if(get_field("albums_arr")[6]['add_text'] == 1): ?>
<li class="song text">
Teksty
<img src="/wp-content/uploads/2024/04/txt.png" alt="">
<div class="text-data">
<?= get_field("albums_arr")[6]['melody_text'] ?>
</div>
</li>
<?php endif; ?>
</ul>
<div class="img-box">
<a href="<?= get_field("albums_arr")[6]['album_1_big']; ?>" data-fancybox>
<img class="album" src="<?= get_field("albums_arr")[6]['album_1']; ?>" alt="">
</a>
<img class="album-record" src="/wp-content/uploads/2024/04/record.png" alt="">
</div>
</section>
<section class="box box-8">
<?php if(get_field("albums_arr")[7]['show_title_img']) : ?>
<img class="title_img" src="<?= get_field("albums_arr")[7]['title_img']; ?>" alt="">
<?php else : ?>
<h2><?= get_field("albums_arr")[7]['title'] ?></h2>
<?php endif; ?>
<?php if(get_field("albums_arr")[7]['show_subtitle_img']) : ?>
<img class="subtitle_img" src="<?= get_field("albums_arr")[7]['subtitle_img']; ?>" alt="">
<?php else : ?>
<h3><?= get_field("albums_arr")[7]['subtitle'] ?></h3>
<?php endif; ?>
<?= get_field("albums_arr")[7]['text'] ?>
<ul class="actions">
<?php foreach (get_field("albums_arr")[7]['albums_list'] as $key => $value) : ?>
<li class="song song-<?= $key; ?>" song="<?= $value['album_song']; ?>"><?= $value['album_name']; ?>
<img src="/wp-content/uploads/2024/04/volume.png" alt="">
</li>
<?php endforeach; ?>
<?php if(get_field("albums_arr")[7]['add_text'] == 1): ?>
<li class="song text">
Teksty
<img src="/wp-content/uploads/2024/04/txt.png" alt="">
<div class="text-data">
<?= get_field("albums_arr")[7]['melody_text'] ?>
</div>
</li>
<?php endif; ?>
</ul>
<div class="img-box">
<a href="<?= get_field("albums_arr")[7]['album_1_big']; ?>" data-fancybox>
<img class="album" src="<?= get_field("albums_arr")[7]['album_1']; ?>" alt="">
</a>
<img class="album-record" src="/wp-content/uploads/2024/04/record.png" alt="">
</div>
</section>
<section class="box box-9">
<?php if(get_field("albums_arr")[8]['show_title_img']) : ?>
<img class="title_img" src="<?= get_field("albums_arr")[8]['title_img']; ?>" alt="">
<?php else : ?>
<h2><?= get_field("albums_arr")[8]['title'] ?></h2>
<?php endif; ?>
<?php if(get_field("albums_arr")[8]['show_subtitle_img']) : ?>
<img class="subtitle_img" src="<?= get_field("albums_arr")[8]['subtitle_img']; ?>" alt="">
<?php else : ?>
<h3><?= get_field("albums_arr")[8]['subtitle'] ?></h3>
<?php endif; ?>
<?= get_field("albums_arr")[8]['text'] ?>
<ul class="actions">
<?php foreach (get_field("albums_arr")[8]['albums_list'] as $key => $value) : ?>
<li class="song song-<?= $key; ?>" song="<?= $value['album_song']; ?>"><?= $value['album_name']; ?>
<img src="/wp-content/uploads/2024/04/volume.png" alt="">
</li>
<?php endforeach; ?>
<?php if(get_field("albums_arr")[8]['add_text'] == 1): ?>
<li class="song text">
Teksty
<img src="/wp-content/uploads/2024/04/txt.png" alt="">
<div class="text-data">
<?= get_field("albums_arr")[8]['melody_text'] ?>
</div>
</li>
<?php endif; ?>
</ul>
<div class="img-box">
<a href="<?= get_field("albums_arr")[8]['album_1_big']; ?>" data-fancybox>
<img class="album" src="<?= get_field("albums_arr")[8]['album_1']; ?>" alt="">
</a>
<img class="album-record" src="/wp-content/uploads/2024/04/record.png" alt="">
</div>
</section>
<section class="box box-10">
<?php if(get_field("albums_arr")[9]['show_title_img']) : ?>
<img class="title_img" src="<?= get_field("albums_arr")[9]['title_img']; ?>" alt="">
<?php else : ?>
<h2><?= get_field("albums_arr")[9]['title'] ?></h2>
<?php endif; ?>
<?php if(get_field("albums_arr")[9]['show_subtitle_img']) : ?>
<img class="subtitle_img" src="<?= get_field("albums_arr")[9]['subtitle_img']; ?>" alt="">
<?php else : ?>
<h3><?= get_field("albums_arr")[9]['subtitle'] ?></h3>
<?php endif; ?>
<?= get_field("albums_arr")[9]['text'] ?>
<ul class="actions">
<?php foreach (get_field("albums_arr")[9]['albums_list'] as $key => $value) : ?>
<li class="song song-<?= $key; ?>" song="<?= $value['album_song']; ?>"><?= $value['album_name']; ?>
<img src="/wp-content/uploads/2024/04/volume.png" alt="">
</li>
<?php endforeach; ?>
<?php if(get_field("albums_arr")[9]['add_text'] == 1): ?>
<li class="song text">
Teksty
<img src="/wp-content/uploads/2024/04/txt.png" alt="">
<div class="text-data">
<?= get_field("albums_arr")[9]['melody_text'] ?>
</div>
</li>
<?php endif; ?>
</ul>
<div class="img-box">
<a href="<?= get_field("albums_arr")[9]['album_1_big']; ?>" data-fancybox>
<img class="album" src="<?= get_field("albums_arr")[9]['album_1']; ?>" alt="">
</a>
<img class="album-record" src="/wp-content/uploads/2024/04/record.png" alt="">
</div>
</section>
<section class="box box-11">
<?php if(get_field("albums_arr")[10]['show_title_img']) : ?>
<img class="title_img" src="<?= get_field("albums_arr")[10]['title_img']; ?>" alt="">
<?php else : ?>
<h2><?= get_field("albums_arr")[10]['title'] ?></h2>
<?php endif; ?>
<?php if(get_field("albums_arr")[10]['show_subtitle_img']) : ?>
<img class="subtitle_img" src="<?= get_field("albums_arr")[10]['subtitle_img']; ?>" alt="">
<?php else : ?>
<h3><?= get_field("albums_arr")[10]['subtitle'] ?></h3>
<?php endif; ?>
<?= get_field("albums_arr")[10]['text'] ?>
<ul class="actions">
<?php foreach (get_field("albums_arr")[10]['albums_list'] as $key => $value) : ?>
<li class="song song-<?= $key; ?>" song="<?= $value['album_song']; ?>"><?= $value['album_name']; ?>
<img src="/wp-content/uploads/2024/04/volume.png" alt="">
</li>
<?php endforeach; ?>
<?php if(get_field("albums_arr")[10]['add_text'] == 1): ?>
<li class="song text">
Teksty
<img src="/wp-content/uploads/2024/04/txt.png" alt="">
<div class="text-data">
<?= get_field("albums_arr")[10]['melody_text'] ?>
</div>
</li>
<?php endif; ?>
</ul>
<div class="img-box">
<a href="<?= get_field("albums_arr")[10]['album_1_big']; ?>" data-fancybox>
<img class="album" src="<?= get_field("albums_arr")[10]['album_1']; ?>" alt="">
</a>
<img class="album-record" src="/wp-content/uploads/2024/04/record.png" alt="">
</div>
</section>
<section class="box box-12">
<?php if(get_field("albums_arr")[11]['show_title_img']) : ?>
<img class="title_img" src="<?= get_field("albums_arr")[11]['title_img']; ?>" alt="">
<?php else : ?>
<h2><?= get_field("albums_arr")[11]['title'] ?></h2>
<?php endif; ?>
<?php if(get_field("albums_arr")[11]['show_subtitle_img']) : ?>
<img class="subtitle_img" src="<?= get_field("albums_arr")[11]['subtitle_img']; ?>" alt="">
<?php else : ?>
<h3><?= get_field("albums_arr")[11]['subtitle'] ?></h3>
<?php endif; ?>
<?= get_field("albums_arr")[11]['text'] ?>
<ul class="actions">
<?php foreach (get_field("albums_arr")[11]['albums_list'] as $key => $value) : ?>
<li class="song song-<?= $key; ?>" song="<?= $value['album_song']; ?>"><?= $value['album_name']; ?>
<img src="/wp-content/uploads/2024/04/volume.png" alt="">
</li>
<?php endforeach; ?>
<?php if(get_field("albums_arr")[11]['add_text'] == 1): ?>
<li class="song text">
Teksty
<img src="/wp-content/uploads/2024/04/txt.png" alt="">
<div class="text-data">
<?= get_field("albums_arr")[11]['melody_text'] ?>
</div>
</li>
<?php endif; ?>
</ul>
<div class="img-box">
<a href="<?= get_field("albums_arr")[11]['album_1_big']; ?>" data-fancybox>
<img class="album" src="<?= get_field("albums_arr")[11]['album_1']; ?>" alt="">
</a>
<img class="album-record" src="/wp-content/uploads/2024/04/record.png" alt="">
</div>
</section>
<section class="box box-13">
<?php if(get_field("albums_arr")[12]['show_title_img']) : ?>
<img class="title_img" src="<?= get_field("albums_arr")[12]['title_img']; ?>" alt="">
<?php else : ?>
<h2><?= get_field("albums_arr")[12]['title'] ?></h2>
<?php endif; ?>
<?php if(get_field("albums_arr")[12]['show_subtitle_img']) : ?>
<img class="subtitle_img" src="<?= get_field("albums_arr")[12]['subtitle_img']; ?>" alt="">
<?php else : ?>
<h3><?= get_field("albums_arr")[12]['subtitle'] ?></h3>
<?php endif; ?>
<?= get_field("albums_arr")[12]['text'] ?>
<ul class="actions">
<?php foreach (get_field("albums_arr")[12]['albums_list'] as $key => $value) : ?>
<li class="song song-<?= $key; ?>" song="<?= $value['album_song']; ?>"><?= $value['album_name']; ?>
<img src="/wp-content/uploads/2024/04/volume.png" alt="">
</li>
<?php endforeach; ?>
<?php if(get_field("albums_arr")[12]['add_text'] == 1): ?>
<li class="song text">
Teksty
<img src="/wp-content/uploads/2024/04/txt.png" alt="">
<div class="text-data">
<?= get_field("albums_arr")[12]['melody_text'] ?>
</div>
</li>
<?php endif; ?>
</ul>
<div class="img-box">
<a href="<?= get_field("albums_arr")[12]['album_1_big']; ?>" data-fancybox>
<img class="album" src="<?= get_field("albums_arr")[12]['album_1']; ?>" alt="">
</a>
<img class="album-record" src="/wp-content/uploads/2024/04/record.png" alt="">
</div>
</section>
<section class="box box-14">
<?php if(get_field("albums_arr")[13]['show_title_img']) : ?>
<img class="title_img" src="<?= get_field("albums_arr")[13]['title_img']; ?>" alt="">
<?php else : ?>
<h2><?= get_field("albums_arr")[13]['title'] ?></h2>
<?php endif; ?>
<?php if(get_field("albums_arr")[13]['show_subtitle_img']) : ?>
<img class="subtitle_img" src="<?= get_field("albums_arr")[13]['subtitle_img']; ?>" alt="">
<?php else : ?>
<h3><?= get_field("albums_arr")[13]['subtitle'] ?></h3>
<?php endif; ?>
<?= get_field("albums_arr")[13]['text'] ?>
<ul class="actions">
<?php foreach (get_field("albums_arr")[13]['albums_list'] as $key => $value) : ?>
<li class="song song-<?= $key; ?>" song="<?= $value['album_song']; ?>"><?= $value['album_name']; ?>
<img src="/wp-content/uploads/2024/04/volume.png" alt="">
</li>
<?php endforeach; ?>
<?php if(get_field("albums_arr")[13]['add_text'] == 1): ?>
<li class="song text">
Teksty
<img src="/wp-content/uploads/2024/04/txt.png" alt="">
<div class="text-data">
<?= get_field("albums_arr")[13]['melody_text'] ?>
</div>
</li>
<?php endif; ?>
</ul>
<div class="img-box">
<a href="<?= get_field("albums_arr")[13]['album_1_big']; ?>" data-fancybox>
<img class="album" src="<?= get_field("albums_arr")[13]['album_1']; ?>" alt="">
</a>
<img class="album-record" src="/wp-content/uploads/2024/04/record.png" alt="">
</div>
</section>
<section class="box box-15">
<?php if(get_field("albums_arr")[14]['show_title_img']) : ?>
<img class="title_img" src="<?= get_field("albums_arr")[14]['title_img']; ?>" alt="">
<?php else : ?>
<h2><?= get_field("albums_arr")[14]['title'] ?></h2>
<?php endif; ?>
<?php if(get_field("albums_arr")[14]['show_subtitle_img']) : ?>
<img class="subtitle_img" src="<?= get_field("albums_arr")[14]['subtitle_img']; ?>" alt="">
<?php else : ?>
<h3><?= get_field("albums_arr")[14]['subtitle'] ?></h3>
<?php endif; ?>
<?= get_field("albums_arr")[14]['text'] ?>
<ul class="actions">
<?php foreach (get_field("albums_arr")[14]['albums_list'] as $key => $value) : ?>
<li class="song song-<?= $key; ?>" song="<?= $value['album_song']; ?>"><?= $value['album_name']; ?>
<img src="/wp-content/uploads/2024/04/volume.png" alt="">
</li>
<?php endforeach; ?>
<?php if(get_field("albums_arr")[14]['add_text'] == 1): ?>
<li class="song text">
Teksty
<img src="/wp-content/uploads/2024/04/txt.png" alt="">
<div class="text-data">
<?= get_field("albums_arr")[14]['melody_text'] ?>
</div>
</li>
<?php endif; ?>
</ul>
<div class="img-box">
<a href="<?= get_field("albums_arr")[14]['album_1_big']; ?>" data-fancybox>
<img class="album" src="<?= get_field("albums_arr")[14]['album_1']; ?>" alt="">
</a>
<img class="album-record" src="/wp-content/uploads/2024/04/record.png" alt="">
</div>
</section>
<section class="box box-16">
<?php if(get_field("albums_arr")[15]['show_title_img']) : ?>
<img class="title_img" src="<?= get_field("albums_arr")[15]['title_img']; ?>" alt="">
<?php else : ?>
<h2><?= get_field("albums_arr")[15]['title'] ?></h2>
<?php endif; ?>
<?php if(get_field("albums_arr")[15]['show_subtitle_img']) : ?>
<img class="subtitle_img" src="<?= get_field("albums_arr")[15]['subtitle_img']; ?>" alt="">
<?php else : ?>
<h3><?= get_field("albums_arr")[15]['subtitle'] ?></h3>
<?php endif; ?>
<?= get_field("albums_arr")[15]['text'] ?>
<ul class="actions">
<?php foreach (get_field("albums_arr")[15]['albums_list'] as $key => $value) : ?>
<li class="song song-<?= $key; ?>" song="<?= $value['album_song']; ?>"><?= $value['album_name']; ?>
<img src="/wp-content/uploads/2024/04/volume.png" alt="">
</li>
<?php endforeach; ?>
<?php if(get_field("albums_arr")[15]['add_text'] == 1): ?>
<li class="song text">
Teksty
<img src="/wp-content/uploads/2024/04/txt.png" alt="">
<div class="text-data">
<?= get_field("albums_arr")[15]['melody_text'] ?>
</div>
</li>
<?php endif; ?>
</ul>
<div class="img-box">
<a href="<?= get_field("albums_arr")[15]['album_1_big']; ?>" data-fancybox>
<img class="album" src="<?= get_field("albums_arr")[15]['album_1']; ?>" alt="">
</a>
<img class="album-record" src="/wp-content/uploads/2024/04/record.png" alt="">
</div>
</section>

View File

@@ -0,0 +1,485 @@
<div id="frame-box-footer">
<div class="piano">
<div class="piano-keys">
<ul class="ul-1">
<li class="red desc">
19
<div class="desc-bottom">
<img class="arrow" src="/wp-content/uploads/2024/06/bottom-arrow.png" alt="">
<!-- <p>Nagroda Dziennikarzy za "Serce" Festiwal w Opolu</p> -->
<div class="desc-bottom-imgs">
<img class="desc-bottom-img-1" src="/wp-content/uploads/2024/06/1969.png" alt="">
<img class="desc-bottom-img-2" src="/wp-content/uploads/2024/06/serce-singiel.png" alt="">
<img class="desc-bottom-img-3" src="/wp-content/uploads/2024/06/marek-grechuta.png" alt="">
</div>
</div>
</li>
<li class="red">70</li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
<ul class="ul-2">
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li class="red">
19
</li>
<li class="red">71</li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
<ul class="ul-3">
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li class="red">
19
</li>
<li class="red">72</li>
<li></li>
</ul>
<ul class="ul-4">
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
<ul class="ul-5">
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li class="red">
19
</li>
<li class="red">74</li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
<ul class="ul-6">
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li class="red desc">
19
<div class="desc-bottom">
<img class="arrow" src="/wp-content/uploads/2024/06/bottom-arrow-right.png" alt="">
<!-- <p>Nagroda Dziennikarzy za "Serce" Festiwal w Opolu</p> -->
<div class="desc-bottom-imgs">
<img class="desc-bottom-img-1" src="/wp-content/uploads/2024/06/gaj.png" alt="">
<img class="desc-bottom-img-2" src="/wp-content/uploads/2024/06/serce-singiel.png" alt="">
<img class="desc-bottom-img-3" src="/wp-content/uploads/2024/06/maryla-rodowicz-i-marek-grechuta.png" alt="">
</div>
</div>
</li>
</ul>
<ul class="ul-7">
<li class="red">77</li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li class="red desc">
<div class="desc-bottom">
<img class="arrow" src="/wp-content/uploads/2024/06/bottom-arrow.png" alt="">
<!-- <p>Nagroda Dziennikarzy za "Serce" Festiwal w Opolu</p> -->
<div class="desc-bottom-imgs">
<img class="desc-bottom-img-1" src="/wp-content/uploads/2024/06/1978.png" alt="">
<img class="desc-bottom-img-2" src="/wp-content/uploads/2024/06/muza-pomyslnosci-marek-grechuta.png" alt="">
<img class="desc-bottom-img-3" src="/wp-content/uploads/2024/06/marek-grechuta.png" alt="">
</div>
</div>
</li>
<li></li>
<li></li>
<li></li>
</ul>
<ul class="ul-8">
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li class="red">19</li>
</ul>
<ul class="ul-9">
<li class="red">79</li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
<ul class="ul-10">
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li class="red">19</li>
<li class="red">81</li>
<li></li>
<li></li>
<li></li>
</ul>
<ul class="ul-11">
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
<ul class="ul-12">
<li></li>
<li></li>
<li class="red">19</li>
<li class="red">84</li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
<ul class="ul-13">
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li class="red">19</li>
<li class="red">87</li>
</ul>
<ul class="ul-14">
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
<ul class="ul-15">
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li class="red">19</li>
<li class="red">89</li>
<li></li>
</ul>
<ul class="ul-16">
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
<ul class="ul-17">
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li class="red">19</li>
<li class="red">90</li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
<ul class="ul-18">
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
<ul class="ul-19">
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
<ul class="ul-20">
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li class="red">19</li>
<li class="red">91</li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
<ul class="ul-21">
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
<ul class="ul-22">
<li class="red">19</li>
<li class="red">94</li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
<ul class="ul-23">
<li></li>
<li></li>
<li></li>
<li></li>
<li class="red">19</li>
<li class="red">98</li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
<ul class="ul-24">
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
<ul class="ul-25">
<li class="red">20</li>
<li class="red">03</li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
<ul class="ul-26">
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
<ul class="ul-27">
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
</div>
</div>
<!-- <img class="img-scroll" src="/wp-content/uploads/2024/04/footer.jpg" alt=""> -->
<div id="drag-handle">
<img class="hand-finder-part-2" src="/wp-content/uploads/2024/04/3.png" alt="">
<img class="hand-finder-part-1" src="/wp-content/uploads/2024/04/2-1.png" alt="">
<img class="hand" src="/wp-content/uploads/2024/04/1-1.png" alt="">
<!-- <img src="/wp-content/uploads/2024/04/finger.png" alt=""> -->
</div>
</div>

View File

@@ -0,0 +1,51 @@
<?php
/**
* The template for displaying header.
*
* @package HelloElementor
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
$site_name = get_bloginfo( 'name' );
$tagline = get_bloginfo( 'description', 'display' );
$header_nav_menu = wp_nav_menu( [
'theme_location' => 'menu-1',
'fallback_cb' => false,
'echo' => false,
] );
?>
<header id="site-header" class="site-header">
<div class="site-branding">
<?php
if ( has_custom_logo() ) {
the_custom_logo();
} elseif ( $site_name ) {
?>
<h1 class="site-title">
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr__( 'Home', 'hello-elementor' ); ?>" rel="home">
<?php echo esc_html( $site_name ); ?>
</a>
</h1>
<p class="site-description">
<?php
if ( $tagline ) {
echo esc_html( $tagline );
}
?>
</p>
<?php } ?>
</div>
<?php if ( $header_nav_menu ) : ?>
<nav class="site-navigation">
<?php
// PHPCS - escaped by WordPress with "wp_nav_menu"
echo $header_nav_menu; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
?>
</nav>
<?php endif; ?>
</header>

View File

@@ -0,0 +1,61 @@
<?php
/**
* The template for displaying search results.
*
* @package HelloElementor
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
?>
<main id="content" class="site-main">
<?php if ( apply_filters( 'hello_elementor_page_title', true ) ) : ?>
<header class="page-header">
<h1 class="entry-title">
<?php echo esc_html__( 'Search results for: ', 'hello-elementor' ); ?>
<span><?php echo get_search_query(); ?></span>
</h1>
</header>
<?php endif; ?>
<div class="page-content">
<?php if ( have_posts() ) : ?>
<?php
while ( have_posts() ) :
the_post();
$post_link = get_permalink();
?>
<article class="post">
<?php
printf( '<h2 class="%s"><a href="%s">%s</a></h2>', 'entry-title', esc_url( $post_link ), wp_kses_post( get_the_title() ) );
if ( has_post_thumbnail() ) {
printf( '<a href="%s">%s</a>', esc_url( $post_link ), get_the_post_thumbnail( $post, 'large' ) );
}
the_excerpt();
?>
</article>
<?php
endwhile;
?>
<?php else : ?>
<p><?php echo esc_html__( 'It seems we can\'t find what you\'re looking for.', 'hello-elementor' ); ?></p>
<?php endif; ?>
</div>
<?php wp_link_pages(); ?>
<?php
global $wp_query;
if ( $wp_query->max_num_pages > 1 ) :
?>
<nav class="pagination">
<?php /* Translators: HTML arrow */ ?>
<div class="nav-previous"><?php next_posts_link( sprintf( __( '%s older', 'hello-elementor' ), '<span class="meta-nav">&larr;</span>' ) ); ?></div>
<?php /* Translators: HTML arrow */ ?>
<div class="nav-next"><?php previous_posts_link( sprintf( __( 'newer %s', 'hello-elementor' ), '<span class="meta-nav">&rarr;</span>' ) ); ?></div>
</nav>
<?php endif; ?>
</main>

View File

@@ -0,0 +1,37 @@
<?php
/**
* The template for displaying singular post-types: posts, pages and user-defined custom post types.
*
* @package HelloElementor
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
while ( have_posts() ) :
the_post();
?>
<main id="content" <?php post_class( 'site-main' ); ?>>
<?php if ( apply_filters( 'hello_elementor_page_title', true ) ) : ?>
<header class="page-header">
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
</header>
<?php endif; ?>
<div class="page-content">
<?php the_content(); ?>
<div class="post-tags">
<?php the_tags( '<span class="tag-links">' . esc_html__( 'Tagged ', 'hello-elementor' ), null, '</span>' ); ?>
</div>
<?php wp_link_pages(); ?>
</div>
<?php comments_template(); ?>
</main>
<?php
endwhile;