Save
This commit is contained in:
@@ -4,14 +4,13 @@
|
||||
*
|
||||
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
|
||||
*
|
||||
* @package brpfinanse
|
||||
* @package BRPP_prawo_podatki
|
||||
*/
|
||||
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<main id="primary" class="site-main">
|
||||
|
||||
<?php if ( have_posts() ) : ?>
|
||||
|
||||
<header class="page-header">
|
||||
|
||||
121
wp-content/themes/brpfinanse/blog.php
Normal file
121
wp-content/themes/brpfinanse/blog.php
Normal file
@@ -0,0 +1,121 @@
|
||||
<?php
|
||||
/**
|
||||
* Page: Blog
|
||||
*/
|
||||
|
||||
get_header();
|
||||
|
||||
$paged = 1;
|
||||
$args = [
|
||||
'post_type' => 'post',
|
||||
'posts_per_page' => get_option('posts_per_page'),
|
||||
'paged' => $paged,
|
||||
'orderby' => 'date',
|
||||
'order' => 'DESC',
|
||||
];
|
||||
$query = new WP_Query($args);
|
||||
?>
|
||||
<main id="primary" class="site-main blog-page">
|
||||
<?php
|
||||
if ($query->have_posts()) :
|
||||
$query->the_post();
|
||||
$banner_image = get_the_post_thumbnail_url(get_the_ID(), 'large');
|
||||
$banner_title = get_the_title();
|
||||
$banner_link = get_permalink();
|
||||
?>
|
||||
<div class="box-1">
|
||||
<div class="container">
|
||||
<div class="box--wrapper">
|
||||
<div class="box-bg">
|
||||
<img src="<?php echo $banner_image; ?>" alt="">
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col col-1">
|
||||
<?php get_template_part('inc/breadcrumb');?>
|
||||
</div>
|
||||
<div class="col col-2">
|
||||
<div class="box-head">
|
||||
<h2><?php echo $banner_title; ?></h2>
|
||||
</div>
|
||||
<a class="btn_4" href="<?php echo $banner_link; ?>">Czytaj więcej</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
endif;
|
||||
?>
|
||||
|
||||
<div class="box-2">
|
||||
<div class="container">
|
||||
<div id="box-posts-list" class="posts-list">
|
||||
<?php
|
||||
if ($query->have_posts()) :
|
||||
while ($query->have_posts()) : $query->the_post();
|
||||
$image = get_the_post_thumbnail_url(get_the_ID(), 'medium');
|
||||
$title = get_the_title();
|
||||
$link = get_permalink();
|
||||
|
||||
get_template_part(
|
||||
'inc/template-article-card', null, [
|
||||
'image' => $image,
|
||||
'title' => $title,
|
||||
'link' => $link
|
||||
]
|
||||
);
|
||||
endwhile;
|
||||
wp_reset_postdata();
|
||||
endif;
|
||||
?>
|
||||
</div>
|
||||
<?php
|
||||
if ($query->found_posts > get_option('posts_per_page')) : ?>
|
||||
<div class="posts-more">
|
||||
<a class="btn_3" href="#" id="load-more-posts" data-page="1">
|
||||
Więcej artykułów
|
||||
<span class="loader"></span>
|
||||
</a>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<script>
|
||||
jQuery(function ($) {
|
||||
$('#load-more-posts').on('click', function (e) {
|
||||
e.preventDefault()
|
||||
var button = $(this)
|
||||
var page = button.data('page')
|
||||
|
||||
$.ajax({
|
||||
url: '<?php echo admin_url("admin-ajax.php"); ?>',
|
||||
type: 'POST',
|
||||
data: {
|
||||
action: 'load_more_posts',
|
||||
page: page,
|
||||
},
|
||||
beforeSend: function () {
|
||||
button.prop('disabled', true)
|
||||
button.find('.loader').show()
|
||||
},
|
||||
complete: function () {
|
||||
button.prop('disabled', false)
|
||||
button.find('.loader').hide()
|
||||
},
|
||||
success: function (response) {
|
||||
if (response) {
|
||||
$('#box-posts-list').append(response)
|
||||
button.data('page', page + 1)
|
||||
} else {
|
||||
button.text('Brak więcej artykułów').prop('disabled', true)
|
||||
}
|
||||
},
|
||||
})
|
||||
})
|
||||
})
|
||||
</script>
|
||||
<?php
|
||||
get_footer();
|
||||
?>
|
||||
@@ -7,7 +7,7 @@
|
||||
*
|
||||
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
|
||||
*
|
||||
* @package brpfinanse
|
||||
* @package BRPP_prawo_podatki
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -28,18 +28,18 @@ if ( post_password_required() ) {
|
||||
?>
|
||||
<h2 class="comments-title">
|
||||
<?php
|
||||
$brpfinanse_comment_count = get_comments_number();
|
||||
if ( '1' === $brpfinanse_comment_count ) {
|
||||
$brpp_prawo_podatki_comment_count = get_comments_number();
|
||||
if ( '1' === $brpp_prawo_podatki_comment_count ) {
|
||||
printf(
|
||||
/* translators: 1: title. */
|
||||
esc_html__( 'One thought on “%1$s”', 'brpfinanse' ),
|
||||
esc_html__( 'One thought on “%1$s”', 'brpp-prawo-podatki' ),
|
||||
'<span>' . wp_kses_post( get_the_title() ) . '</span>'
|
||||
);
|
||||
} else {
|
||||
printf(
|
||||
/* translators: 1: comment count number, 2: title. */
|
||||
esc_html( _nx( '%1$s thought on “%2$s”', '%1$s thoughts on “%2$s”', $brpfinanse_comment_count, 'comments title', 'brpfinanse' ) ),
|
||||
number_format_i18n( $brpfinanse_comment_count ), // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
||||
esc_html( _nx( '%1$s thought on “%2$s”', '%1$s thoughts on “%2$s”', $brpp_prawo_podatki_comment_count, 'comments title', 'brpp-prawo-podatki' ) ),
|
||||
number_format_i18n( $brpp_prawo_podatki_comment_count ), // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
||||
'<span>' . wp_kses_post( get_the_title() ) . '</span>'
|
||||
);
|
||||
}
|
||||
@@ -65,7 +65,7 @@ if ( post_password_required() ) {
|
||||
// If comments are closed and there are comments, let's leave a little note, shall we?
|
||||
if ( ! comments_open() ) :
|
||||
?>
|
||||
<p class="no-comments"><?php esc_html_e( 'Comments are closed.', 'brpfinanse' ); ?></p>
|
||||
<p class="no-comments"><?php esc_html_e( 'Comments are closed.', 'brpp-prawo-podatki' ); ?></p>
|
||||
<?php
|
||||
endif;
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@@ -14,6 +14,39 @@
|
||||
|
||||
<footer id="site-footer" class="site-footer">
|
||||
<div class="container">
|
||||
<div class="footer-1">
|
||||
<div class="row">
|
||||
<div class="col col-1">
|
||||
<div class="box-contact">
|
||||
<div class="box-title">
|
||||
<h2>Wyceń <strong>kompleksową obsługę księgową</strong> swojej firmy w 48 godz.</h2>
|
||||
</div>
|
||||
<div class="box-text">
|
||||
<p>Wypełnij formularz, a nasz specjalista odezwie się do Ciebie i zada Ci konkretne pytania.</p>
|
||||
</div>
|
||||
<?php echo do_shortcode('[contact-form-7 id="3bcd014" title="Kontakt"]'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col col-2">
|
||||
<div class="box-logo">
|
||||
<img src="/wp-content/uploads/2025/09/logo_small_white.svg" alt="">
|
||||
</div>
|
||||
<div class="box-text">
|
||||
<p>Jak wygląda współpraca z BRPP Finanse?</p>
|
||||
<ol>
|
||||
<li>Bezpłatna konsultacja</li>
|
||||
<li>Dopasowanie oferty i zakresu usług</li>
|
||||
<li>Onboarding - przekazanie dokumentów, konfiguracja</li>
|
||||
<li>Bieżąca obsługa, raportowanie, kontakt</li>
|
||||
</ol>
|
||||
</div>
|
||||
<div class="box-info">
|
||||
<p>Masz pytania? Zadzwoń do nas!</p>
|
||||
<a href="#" class="btn_4">48 43... Pokaż numer</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer-2">
|
||||
<div class="row">
|
||||
<div class="col col-1">
|
||||
|
||||
@@ -227,4 +227,15 @@ function brpp_enqueue_scripts() {
|
||||
true
|
||||
);
|
||||
}
|
||||
add_action( 'wp_enqueue_scripts', 'brpp_enqueue_scripts' );
|
||||
add_action( 'wp_enqueue_scripts', 'brpp_enqueue_scripts' );
|
||||
|
||||
add_filter('wpcf7_autop_or_not', '__return_false');
|
||||
|
||||
add_filter('wpcf7_form_elements', function($content) {
|
||||
$content = str_replace(
|
||||
['<a', '</a', '>'],
|
||||
['<a', '</a', '>'],
|
||||
$content
|
||||
);
|
||||
return $content;
|
||||
});
|
||||
|
||||
@@ -1,57 +1,47 @@
|
||||
<?php
|
||||
/**
|
||||
* The main template file
|
||||
*
|
||||
* This is the most generic template file in a WordPress theme
|
||||
* and one of the two required files for a theme (the other being style.css).
|
||||
* It is used to display a page when nothing more specific matches a query.
|
||||
* E.g., it puts together the home page when no home.php file exists.
|
||||
*
|
||||
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
|
||||
*
|
||||
* @package brpfinanse
|
||||
*/
|
||||
|
||||
get_header();
|
||||
if ( is_home() && get_option('page_for_posts') == 74 ) {
|
||||
get_template_part('blog');
|
||||
return;
|
||||
}
|
||||
?>
|
||||
|
||||
<?php get_header(); ?>
|
||||
<main id="primary" class="site-main">
|
||||
<div class="container">
|
||||
<?php
|
||||
if ( have_posts() ) :
|
||||
|
||||
<?php
|
||||
if ( have_posts() ) :
|
||||
if ( is_home() && ! is_front_page() ) :
|
||||
?>
|
||||
<header>
|
||||
<h1 class="page-title screen-reader-text"><?php single_post_title(); ?></h1>
|
||||
</header>
|
||||
<?php
|
||||
endif;
|
||||
|
||||
/* Start the Loop */
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
|
||||
/*
|
||||
* Include the Post-Type-specific template for the content.
|
||||
* If you want to override this in a child theme, then include a file
|
||||
* called content-___.php (where ___ is the Post Type name) and that will be used instead.
|
||||
*/
|
||||
get_template_part( 'template-parts/content', get_post_type() );
|
||||
|
||||
endwhile;
|
||||
|
||||
the_posts_navigation();
|
||||
|
||||
else :
|
||||
|
||||
get_template_part( 'template-parts/content', 'none' );
|
||||
|
||||
if ( is_home() && ! is_front_page() ) :
|
||||
?>
|
||||
<header>
|
||||
<h1 class="page-title screen-reader-text"><?php single_post_title(); ?></h1>
|
||||
</header>
|
||||
<?php
|
||||
endif;
|
||||
|
||||
/* Start the Loop */
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
|
||||
/*
|
||||
* Include the Post-Type-specific template for the content.
|
||||
* If you want to override this in a child theme, then include a file
|
||||
* called content-___.php (where ___ is the Post Type name) and that will be used instead.
|
||||
*/
|
||||
get_template_part( 'template-parts/content', get_post_type() );
|
||||
|
||||
endwhile;
|
||||
|
||||
the_posts_navigation();
|
||||
|
||||
else :
|
||||
|
||||
get_template_part( 'template-parts/content', 'none' );
|
||||
|
||||
endif;
|
||||
?>
|
||||
|
||||
?>
|
||||
</div>
|
||||
</main><!-- #main -->
|
||||
|
||||
<?php
|
||||
get_sidebar();
|
||||
get_footer();
|
||||
|
||||
@@ -1,5 +1,15 @@
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
document.querySelectorAll('.c-item label').forEach((label) => {
|
||||
const inputWrap = label.querySelector('.wpcf7-form-control-wrap')
|
||||
const p = label.querySelector('p')
|
||||
if (inputWrap && p) {
|
||||
inputWrap.appendChild(p)
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
jQuery(function ($) {
|
||||
if (!$('body').hasClass('page-id-47')) return
|
||||
if (!$('body').hasClass('page-id-134')) return
|
||||
|
||||
const $body = $('body')
|
||||
|
||||
|
||||
90
wp-content/themes/brpfinanse/page-132.php
Normal file
90
wp-content/themes/brpfinanse/page-132.php
Normal file
@@ -0,0 +1,90 @@
|
||||
<?php
|
||||
/**
|
||||
* Page: Jak pracujemy
|
||||
*/
|
||||
|
||||
get_header();
|
||||
|
||||
$box1 = get_field('box-1');
|
||||
$box2 = get_field('box-2');
|
||||
$box3 = get_field('box-3');
|
||||
$box4 = get_field('box-4');
|
||||
?>
|
||||
<main id="primary" class="site-main">
|
||||
<div class="box-0">
|
||||
<?php get_template_part('inc/breadcrumb');?>
|
||||
</div>
|
||||
|
||||
<div class="box-1">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col col-1">
|
||||
<h2>Współpraca z BRPP Finanse to proste, przejrzyste i spokojne doświadczenie.</h2>
|
||||
</div>
|
||||
<div class="col col-2">
|
||||
<p>Przejrzystość to dla nas podstawa - od pierwszego kontaktu wiesz, kto prowadzi księgowość Twojego Biznesu, jak pracujemy i co się dzieje z Twoimi dokumentami.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="box-2">
|
||||
<div class="container">
|
||||
<div class="row" box-title="Nasze przewagi">
|
||||
<div class="col col-1">
|
||||
<div class="box-title">
|
||||
<h2>Etapy współpracy z nami</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col col-2">
|
||||
<div class="tiles">
|
||||
<?php foreach (range(1, 4) as $item) : ?>
|
||||
<div class="tile">
|
||||
<div class="tile-img">
|
||||
<img src="/wp-content/uploads/2025/09/i-3.svg" alt="">
|
||||
</div>
|
||||
<div class="tile-data">
|
||||
<h3>1. Konsultacja i poznanie Twoich potrzeb</h3>
|
||||
<p>Krótka rozmowa, podczas której dowiadujemy się, czym się zajmujesz, jakiej formy działalności dotyczy obsługa i czego oczekujesz. W razie potrzeby podpowiadamy optymalne rozwiązania.</p>
|
||||
</div>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="box-3">
|
||||
<div class="container">
|
||||
<div class="row row-1" box-title="Nasze podejście">
|
||||
<div class="col col-1">
|
||||
<img src="/wp-content/uploads/2025/09/image-1.jpg" alt="">
|
||||
</div>
|
||||
<div class="col col-2">
|
||||
<div class="box-mini-title">
|
||||
<h3>Nasze podejście - nie tylko „księgowość”</h3>
|
||||
</div>
|
||||
<div class="box-title">
|
||||
<h2>Jesteśmy nie tylko biurem rachunkowym - jesteśmy partnerem, który:</h2>
|
||||
</div>
|
||||
|
||||
<ul>
|
||||
<li>Myśli o Twoim biznesie szerzej</li>
|
||||
<li>Komunikuje się jasno i konkretnie</li>
|
||||
<li>Współpracuje z prawnikami i doradcami podatkowymi</li>
|
||||
<li>Dba o Twoje bezpieczeństwo, nie tylko rozliczenia</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row row-2">
|
||||
<div class="box-info">
|
||||
<h3>Korzystamy z nowoczesnych rozwiązań - nie potrzebujesz drukarki ani segregatora.</h3>
|
||||
<p>Dokumenty możesz przesyłać <strong>online</strong>, raporty udostępniamy w bezpiecznych formatach, a stały kontakt zapewniamy przez e-mail, telefon lub spotkania online.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<?php
|
||||
get_footer();
|
||||
99
wp-content/themes/brpfinanse/page-134.php
Normal file
99
wp-content/themes/brpfinanse/page-134.php
Normal file
@@ -0,0 +1,99 @@
|
||||
<?php
|
||||
/**
|
||||
* Page: Zespół
|
||||
*/
|
||||
|
||||
get_header();
|
||||
|
||||
$title = get_field('title');
|
||||
$list_specialists = get_field('list_specialists');
|
||||
?>
|
||||
<main id="primary" class="site-main">
|
||||
<div class="box-0">
|
||||
<?php get_template_part('inc/breadcrumb');?>
|
||||
</div>
|
||||
|
||||
<div class="box-1">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col col-1">
|
||||
<div class="box-head">
|
||||
<h2><?php echo esc_html($title); ?></h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-2">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="tiles">
|
||||
<?php foreach ($list_specialists as $item) : ?>
|
||||
<div class="tile">
|
||||
<div class="tile--wrapper">
|
||||
<div class="tile--img">
|
||||
<img src="<?php echo esc_url($item['image']); ?>" alt="">
|
||||
|
||||
<button class="tile--btn">
|
||||
<img src="/wp-content/uploads/2025/09/Plus-Icon.svg" alt="">
|
||||
</button>
|
||||
</div>
|
||||
<div class="tile--data">
|
||||
<h3><?php echo esc_html($item['name']); ?></h3>
|
||||
<p><?php echo esc_html($item['position']); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="tile-sidebar">
|
||||
<div class="tile-sidebar-bg"></div>
|
||||
<div class="tile-sidebar--wrapper">
|
||||
<button class="tile--btn">
|
||||
<img src="/wp-content/uploads/2025/09/Plus-Icon.svg" alt="">
|
||||
</button>
|
||||
|
||||
<div class="tile--img">
|
||||
<img src="<?php echo esc_url($item['more_info']['image']); ?>" alt="">
|
||||
</div>
|
||||
<div class="tile--data">
|
||||
<div class="tile--data-head">
|
||||
<h3><?php echo esc_html($item['name']); ?></h3>
|
||||
<p><?php echo esc_html($item['position']); ?></p>
|
||||
</div>
|
||||
<ul class="tile--data-contact">
|
||||
<?php foreach ($item['more_info']['emails'] as $key => $e_item) : ?>
|
||||
<li>
|
||||
<?php if ($key === 0): ?>
|
||||
<label>E-mail:</label>
|
||||
<?php endif; ?>
|
||||
<a href="mailto:<?php echo esc_html($e_item['email']); ?>"><?php echo esc_html($e_item['email']); ?></a>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
<?php foreach ($item['more_info']['phones'] as $key => $p_item) : ?>
|
||||
<li>
|
||||
<?php if ($key === 0): ?>
|
||||
<label>Telefon:</label>
|
||||
<?php endif; ?>
|
||||
<a href="tel:<?php echo esc_html($p_item['phone']); ?>"><?php echo esc_html($p_item['phone']); ?></a>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
<div class="tile--data-text">
|
||||
<div class="text-1">
|
||||
<?php echo wp_kses_post($item['more_info']['description_1']); ?>
|
||||
</div>
|
||||
<div class="text-2">
|
||||
<?php echo wp_kses_post($item['more_info']['description_2']); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<?php
|
||||
get_footer();
|
||||
@@ -4,6 +4,14 @@
|
||||
*/
|
||||
|
||||
get_header();
|
||||
|
||||
$args = [
|
||||
'post_type' => 'post',
|
||||
'posts_per_page' => 3,
|
||||
'orderby' => 'date',
|
||||
'order' => 'DESC',
|
||||
];
|
||||
$query = new WP_Query($args);
|
||||
?>
|
||||
<main id="primary" class="site-main">
|
||||
|
||||
@@ -194,17 +202,24 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="col col-2">
|
||||
<?php for ($i = 1; $i <= 3; $i++) : ?>
|
||||
<?php
|
||||
get_template_part(
|
||||
'inc/template-article-card', null, [
|
||||
'image' => '/wp-content/uploads/2025/09/image.jpg',
|
||||
'title' => "Prawa i obowiązki płatników składek w kontekście kontroli przeprowadzanych przez ZUS",
|
||||
'link' => '#'
|
||||
]
|
||||
);
|
||||
?>
|
||||
<?php endfor; ?>
|
||||
<?php
|
||||
if ($query->have_posts()) :
|
||||
while ($query->have_posts()) : $query->the_post();
|
||||
$image = get_the_post_thumbnail_url(get_the_ID(), 'medium');
|
||||
$title = get_the_title();
|
||||
$link = get_permalink();
|
||||
|
||||
get_template_part(
|
||||
'inc/template-article-card', null, [
|
||||
'image' => $image,
|
||||
'title' => $title,
|
||||
'link' => $link
|
||||
]
|
||||
);
|
||||
endwhile;
|
||||
wp_reset_postdata();
|
||||
endif;
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
172
wp-content/themes/brpfinanse/page-91.php
Normal file
172
wp-content/themes/brpfinanse/page-91.php
Normal file
@@ -0,0 +1,172 @@
|
||||
<?php
|
||||
/**
|
||||
* Page: Nasza oferta
|
||||
*/
|
||||
|
||||
get_header();
|
||||
|
||||
$box1 = get_field('box-1');
|
||||
$box2 = get_field('box-2');
|
||||
$box3 = get_field('box-3');
|
||||
$box4 = get_field('box-4');
|
||||
?>
|
||||
<main id="primary" class="site-main">
|
||||
<div class="box-1">
|
||||
<div class="box-bg">
|
||||
<img src="/wp-content/uploads/2025/09/15aa8b4492a2924f201fce0ec5d848c27a810ea2-scaled.jpg" alt="">
|
||||
</div>
|
||||
<div class="container">
|
||||
|
||||
<div class="row">
|
||||
<div class="col col-1">
|
||||
<?php get_template_part('inc/breadcrumb');?>
|
||||
<div class="box-title">
|
||||
<h2>Obsługujemy firmy, które cenią sobie przejrzystą i zrozumiałą księgowość - bez niedomówień i zbędnych zawiłości.</h2>
|
||||
</div>
|
||||
<div class="box-info">
|
||||
<p>Nasza oferta dopasowana jest do różnych form działalności - od jednoosobowych firm po spółki kapitałowe.</p>
|
||||
<a href="#" class="btn_2">Dowiedz się więcej</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="box-2">
|
||||
<div class="container">
|
||||
<div class="row row-2">
|
||||
<div class="c-tabs">
|
||||
<ul class="c-tabs--nav">
|
||||
<?php foreach ($box2['tabs'] as $i => $tab) : ?>
|
||||
<li tab_id="<?= $i + 1; ?>" <?= $i === 0 ? 'class="active"' : ''; ?>><?= esc_html($tab['tab_name']); ?></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
<div class="c-tabs--content">
|
||||
<?php foreach ($box2['tabs'] as $tab_id => $tab) : ?>
|
||||
<div tab_id="<?= $tab_id + 1; ?>" class="c-tab--item" <?= $i === 0 ? 'style="display: block;"' : ''; ?>>
|
||||
<div class="t-row t-row-1">
|
||||
<div class="t-col t-col-1">
|
||||
<div class="t-head">
|
||||
<h2><?= esc_html($tab['card_description']['title']); ?></h2>
|
||||
</div>
|
||||
<div class="t-text">
|
||||
<p><?= esc_html($tab['card_description']['text']); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="t-row t-row-2 c-acc-group">
|
||||
<div class="t-col t-col-1">
|
||||
<ol class="c-acc-advanced" acc_parent_id="<?= $tab_id + 1; ?>">
|
||||
<?php foreach ($tab['accordion'] as $parent_item_id => $item) : ?>
|
||||
<li class="c-acc--item" acc_parent_item_id="<?= $parent_item_id + 1; ?>">
|
||||
<div class="c-acc--head">
|
||||
<i class="icon"></i>
|
||||
<span><?= esc_html($item['title']); ?></span>
|
||||
</div>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ol>
|
||||
</div>
|
||||
<div class="t-col t-col-2">
|
||||
<ol class="c-acc-advanced" acc_child_id="<?= $tab_id + 1 ; ?>">
|
||||
<?php foreach ($tab['accordion'] as $child_item_id => $item) :
|
||||
$title = $item['accordion_data']['title'] ?? '';
|
||||
$text = $item['accordion_data']['text'] ?? '';
|
||||
$btn = $item['accordion_data']['btn'] ?? [];
|
||||
$btn_url = $btn['url'] ?? '';
|
||||
$btn_title = $btn['title'] ?? '';
|
||||
$btn_target = $btn['target'] ?? '_self';
|
||||
|
||||
// if (empty($title) && empty($text) && empty($btn_url) && empty($btn_title)) {
|
||||
// continue;
|
||||
// }
|
||||
?>
|
||||
<li class="c-acc--item" acc_child_item_id="<?= $child_item_id + 1; ?>">
|
||||
<div class="c-acc--body">
|
||||
<?php if (!empty($title)) : ?>
|
||||
<div class="tab-description--head">
|
||||
<h3><?= esc_html($title); ?></h3>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (!empty($text)) : ?>
|
||||
<div class="tab-description--text">
|
||||
<?= wp_kses_post($text); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (!empty($btn_url) && !empty($btn_title)) : ?>
|
||||
<a class="btn_2"
|
||||
href="<?= esc_url($btn_url); ?>"
|
||||
target="<?= esc_attr($btn_target); ?>">
|
||||
<?= esc_html($btn_title); ?>
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="box-3">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col col-1" box-title="Współpraca z BRPP">
|
||||
<div class="box-head">
|
||||
<h2>Wsparcie podatkowe we współpracy z BRPP Prawo, Podatki</h2>
|
||||
</div>
|
||||
<div class="box-text">
|
||||
<p>Nie musisz szukać doradcy osobno - działamy wspólnie z kancelarią BRPP, więc podatki mamy pod kontrolą.</p>
|
||||
</div>
|
||||
<ul>
|
||||
<li>Bieżące konsultacje podatkowe</li>
|
||||
<li>Interpretacje indywidualne</li>
|
||||
<li>Wsparcie podczas kontroli</li>
|
||||
<li>Analiza ryzyk podatkowych</li>
|
||||
<li>Optymalizacja zgodna z przepisami</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col col-2">
|
||||
<img src="/wp-content/uploads/2025/09/Frame-60.png" alt="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="box-4">
|
||||
<div class="container">
|
||||
<div class="row row-1">
|
||||
<h2><?php echo esc_html($box4['mini_title']); ?></h2>
|
||||
</div>
|
||||
|
||||
<div class="row row-2">
|
||||
<ol class="c-acc">
|
||||
<?php foreach ($box4['faq'] as $i => $item) : ?>
|
||||
<li class="c-acc--item">
|
||||
<div class="c-acc--head">
|
||||
<i class="icon"></i>
|
||||
<span><?= esc_html($item['title']); ?></span>
|
||||
</div>
|
||||
<div class="c-acc--body">
|
||||
<div class="c-acc--body-text">
|
||||
<?= $item['text']; ?>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<?php
|
||||
get_footer();
|
||||
@@ -4,35 +4,81 @@
|
||||
*
|
||||
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
|
||||
*
|
||||
* @package brpfinanse
|
||||
* @package BRPP_prawo_podatki
|
||||
*/
|
||||
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<main id="primary" class="site-main">
|
||||
<main id="primary" class="site-main page-single-post">
|
||||
<div class="box-1">
|
||||
<div class="container">
|
||||
<?php
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
|
||||
get_template_part( 'template-parts/content', get_post_type() );
|
||||
|
||||
if (true == false) {
|
||||
the_post_navigation(
|
||||
array(
|
||||
'prev_text' => '<span class="nav-subtitle">' . esc_html__( 'Previous:', 'brpp-prawo-podatki' ) . '</span> <span class="nav-title">%title</span>',
|
||||
'next_text' => '<span class="nav-subtitle">' . esc_html__( 'Next:', 'brpp-prawo-podatki' ) . '</span> <span class="nav-title">%title</span>',
|
||||
)
|
||||
);
|
||||
|
||||
if ( comments_open() || get_comments_number() ) :
|
||||
comments_template();
|
||||
endif;
|
||||
}
|
||||
|
||||
endwhile; // End of the loop.
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
|
||||
get_template_part( 'template-parts/content', get_post_type() );
|
||||
|
||||
the_post_navigation(
|
||||
array(
|
||||
'prev_text' => '<span class="nav-subtitle">' . esc_html__( 'Previous:', 'brpfinanse' ) . '</span> <span class="nav-title">%title</span>',
|
||||
'next_text' => '<span class="nav-subtitle">' . esc_html__( 'Next:', 'brpfinanse' ) . '</span> <span class="nav-title">%title</span>',
|
||||
)
|
||||
$args = array(
|
||||
'post_type' => 'post',
|
||||
'posts_per_page' => 3,
|
||||
'orderby' => 'date',
|
||||
'order' => 'DESC',
|
||||
'post__not_in' => array(get_the_ID()),
|
||||
);
|
||||
$other_posts = new WP_Query($args);
|
||||
|
||||
// If comments are open or we have at least one comment, load up the comment template.
|
||||
if ( comments_open() || get_comments_number() ) :
|
||||
comments_template();
|
||||
endif;
|
||||
|
||||
endwhile; // End of the loop.
|
||||
if ($other_posts->have_posts()) :
|
||||
?>
|
||||
|
||||
<div class="box-2">
|
||||
<div class="container">
|
||||
<div class="row" box-title="Blog">
|
||||
<div class="box-head">
|
||||
<h2>Zobacz też inne wpisy</h2>
|
||||
|
||||
<div class="other-posts">
|
||||
<?php
|
||||
while ($other_posts->have_posts()) : $other_posts->the_post();
|
||||
$image = get_the_post_thumbnail_url(get_the_ID(), 'medium');
|
||||
$title = get_the_title();
|
||||
$link = get_permalink();
|
||||
|
||||
get_template_part(
|
||||
'inc/template-article-card', null, [
|
||||
'image' => $image,
|
||||
'title' => $title,
|
||||
'link' => $link
|
||||
]
|
||||
);
|
||||
endwhile;
|
||||
wp_reset_postdata();
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</main><!-- #main -->
|
||||
|
||||
<?php
|
||||
|
||||
@@ -4,60 +4,71 @@
|
||||
*
|
||||
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
|
||||
*
|
||||
* @package brpfinanse
|
||||
* @package BRPP_prawo_podatki
|
||||
*/
|
||||
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<header class="entry-header">
|
||||
<?php
|
||||
if ( is_singular() ) :
|
||||
the_title( '<h1 class="entry-title">', '</h1>' );
|
||||
else :
|
||||
the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' );
|
||||
endif;
|
||||
<div class="row">
|
||||
<div class="col col-1">
|
||||
<a class="btn_1 btn-back-page" href="/blog-brpp">
|
||||
<svg width="46" height="14" viewBox="0 0 46 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M46 7L1 7" stroke="#9E9E9E"/>
|
||||
<path d="M7 1L1 7L7 13" stroke="#9E9E9E"/>
|
||||
</svg>
|
||||
</a>
|
||||
|
||||
if ( 'post' === get_post_type() ) :
|
||||
?>
|
||||
<div class="entry-meta">
|
||||
<header class="entry-header">
|
||||
<?php
|
||||
brpfinanse_posted_on();
|
||||
brpfinanse_posted_by();
|
||||
if ( is_singular() ) :
|
||||
the_title( '<h1 class="entry-title">', '</h1>' );
|
||||
else :
|
||||
the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' );
|
||||
endif;
|
||||
?>
|
||||
</div><!-- .entry-meta -->
|
||||
<?php endif; ?>
|
||||
</header><!-- .entry-header -->
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<?php brpfinanse_post_thumbnail(); ?>
|
||||
|
||||
<div class="entry-content">
|
||||
<?php
|
||||
the_content(
|
||||
sprintf(
|
||||
wp_kses(
|
||||
/* translators: %s: Name of current post. Only visible to screen readers */
|
||||
__( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'brpfinanse' ),
|
||||
array(
|
||||
'span' => array(
|
||||
'class' => array(),
|
||||
<div class="entry-content">
|
||||
<?php
|
||||
the_content(
|
||||
sprintf(
|
||||
wp_kses(
|
||||
/* translators: %s: Name of current post. Only visible to screen readers */
|
||||
__( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'brpp-prawo-podatki' ),
|
||||
array(
|
||||
'span' => array(
|
||||
'class' => array(),
|
||||
),
|
||||
)
|
||||
),
|
||||
wp_kses_post( get_the_title() )
|
||||
)
|
||||
),
|
||||
wp_kses_post( get_the_title() )
|
||||
)
|
||||
);
|
||||
);
|
||||
|
||||
wp_link_pages(
|
||||
array(
|
||||
'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'brpfinanse' ),
|
||||
'after' => '</div>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div><!-- .entry-content -->
|
||||
wp_link_pages(
|
||||
array(
|
||||
'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'brpp-prawo-podatki' ),
|
||||
'after' => '</div>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<footer class="entry-footer">
|
||||
<?php brpfinanse_entry_footer(); ?>
|
||||
</footer><!-- .entry-footer -->
|
||||
<footer class="entry-footer">
|
||||
<?php if ( 'post' === get_post_type() ) : ?>
|
||||
<div class="entry-meta">
|
||||
<?php
|
||||
brpp_prawo_podatki_posted_by();
|
||||
brpp_prawo_podatki_posted_on();
|
||||
?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<!-- <?php brpp_prawo_podatki_entry_footer(); ?> -->
|
||||
</footer><!-- .entry-footer -->
|
||||
</div>
|
||||
<div class="col col-2">
|
||||
<?php brpp_prawo_podatki_post_thumbnail(); ?>
|
||||
</div>
|
||||
</div>
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
||||
Reference in New Issue
Block a user