render single page
This commit is contained in:
parent
9231384f5a
commit
254cf7f37d
4 changed files with 32 additions and 98 deletions
24
kit/template-parts/content-page.php
Normal file
24
kit/template-parts/content-page.php
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
|
||||
<section class="full-width background-color-page-theme" id="c3318">
|
||||
<?php if ( has_post_thumbnail() ) { ?>
|
||||
<div class="intro-element align-center background-color-page-theme-contrast" style="background-image: url(<?php echo get_the_post_thumbnail_url(); ?>);">
|
||||
<?php } else { ?>
|
||||
<div class="intro-element align-center background-color-page-theme-contrast" style="background-image: url(/fileadmin/user_upload/00_Startseite/20191216-CN-02-251_Homepage.jpg);">
|
||||
<?php } ?>
|
||||
<div class="content-wrap">
|
||||
<?php the_title( '<h1>', '</h1>' ); ?>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="background-color-white">
|
||||
<div class="content-wrap">
|
||||
|
||||
<article>
|
||||
|
||||
<?php the_content(); ?>
|
||||
|
||||
</article>
|
||||
|
||||
</div>
|
||||
</section>
|
||||
Loading…
Add table
Add a link
Reference in a new issue