-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Bjorn Zschernack
committed
Nov 21, 2023
1 parent
2b05051
commit 8350041
Showing
9 changed files
with
102 additions
and
8 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,17 @@ | ||
|
||
|
||
<div class="single-post bg-white"> | ||
<?php if( has_post_thumbnail( $args->ID )): ?> | ||
<?php if( has_post_thumbnail( $args->ID )): | ||
$image = wp_get_attachment_image_src( get_post_thumbnail_id( $args->ID ), 'full' )[0]; | ||
?> | ||
<div class="w-100 imagecontainer bg-gray" style="background-image:url('<?php echo $image; ?>')"></div> | ||
<?php else: ?> | ||
<div class="w-100 imagecontainer bg-gray"></div> | ||
<?php endif; ?> | ||
|
||
<div class="single-post-content d-flex flex-column p-5"> | ||
<div class="single-post-content subpage-content d-flex flex-column p-5"> | ||
<h2 class="fs23 mb-3"><?php echo $args->post_title; ?></h2> | ||
<p><?php echo get_post_meta($args->ID,'teaser',true); ?></p> | ||
<p class="teaser"><?php echo get_post_meta($args->ID,'teaser',true); ?></p> | ||
<a href="<?php echo get_permalink($args->ID); ?>" ><img src="<?php bloginfo('stylesheet_directory'); ?>/images/icons/arrow_yellow.svg"></a> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
|
||
<div class="single-post bg-white p-5 d-flex flex-column justify-content-between h-100"> | ||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/icons/Kontakt_icon.svg" alt="Autohaus Löhr, Fahrzeugzentrum Olpe" class="boxicon my-3" /> | ||
<h3 class="my-3">Anschrift</h3> | ||
<div class="mb-5"> | ||
<?php the_field('adresse','options') ?> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
|
||
<div class="posts-grid p-0 w-100"> | ||
|
||
<?php get_template_part('template-parts/shortcodes/contact'); ?> | ||
<?php get_template_part('template-parts/shortcodes/fragen'); ?> | ||
<?php get_template_part('template-parts/shortcodes/socialmedia'); ?> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
|
||
<div class="single-post bg-white p-5 d-flex flex-column justify-content-between h-100"> | ||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/icons/Kontakt_icon.svg" alt="Autohaus Löhr, Fahrzeugzentrum Olpe" class="boxicon my-3" /> | ||
<h3 class="my-3">Haben Sie Fragen?</h3> | ||
<div class="mb-5"> | ||
<div class="d-flex flex-row"> | ||
<p>Wir beraten Sie gerne:</p> | ||
<p class="whatsapp"><a href="https://wa.me/4915735980000" target="_blank">02761/ 82870</a></p> | ||
</div> | ||
<div class="d-flex flex-row"> | ||
<p class="clock text-end">Mo.-Fr.:<br>Sa.:</p> | ||
<p class="">08:00 - 17:00 Uhr<br>09:00 - 12:00 Uhr</p> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
|
||
|
||
<div class="single-post bg-white p-5 d-flex flex-column justify-content-between h-100"> | ||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/icons/Kontakt_icon.svg" alt="Autohaus Löhr, Fahrzeugzentrum Olpe" class="boxicon my-3 opacity-0" /> | ||
<h3 class="my-3">Folge uns auf Social Media</h3> | ||
<div class="mb-5"> | ||
<div class="d-flex flex-row"> | ||
<p class="clock text-end">Mo.-Fr.:<br>Sa.:</p> | ||
<p class="">08:00 - 17:00 Uhr<br>09:00 - 12:00 Uhr</p> | ||
</div> | ||
</div> | ||
</div> |