Refactor theme files and add new page template
- Updated page-91.php to add an ID to the c-tabs div for better targeting. - Changed package name in content-page.php from 'brpfinanse' to 'BRPP_prawo_podatki' and updated related function calls. - Cleaned up content.php by removing commented-out code and unnecessary whitespace. - Added VSCode settings for live Sass compilation. - Created a new page template (page-3.php) for the privacy policy with appropriate structure and comments.
This commit is contained in:
34
wp-content/themes/brpfinanse/page-3.php
Normal file
34
wp-content/themes/brpfinanse/page-3.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* Page: Polityka prywatności
|
||||
*/
|
||||
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<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">
|
||||
<?php
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
|
||||
get_template_part( 'template-parts/content', 'page' );
|
||||
|
||||
// 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.
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<?php
|
||||
get_footer();
|
||||
Reference in New Issue
Block a user