-
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 26, 2023
1 parent
1369866
commit 8f2c896
Showing
8 changed files
with
118 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,8 @@ | |
height: 41px; | ||
width: auto;; | ||
} | ||
} | ||
|
||
.staricon { | ||
margin-right: 5px; | ||
} |
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 |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
<?php endif; ?> | ||
|
||
<?php | ||
|
||
$subpages = get_pages( | ||
array( | ||
'parent' => $post->ID, | ||
|
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 @@ | ||
|
||
<?php if (isset($args)): ?> | ||
<div class="single-post bg-white p-3 p-lg-5"> | ||
<h2 class="kunde"><?php echo $args->post_title; ?></h2> | ||
<div class="w-100 d-flex justify-content-start"> | ||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/star-solid.svg" class="staricon"> | ||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/star-solid.svg" class="staricon"> | ||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/star-solid.svg" class="staricon"> | ||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/star-solid.svg" class="staricon"> | ||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/star-solid.svg" class="staricon"> | ||
</div> | ||
<div class="mb-1 mt-5 kunde fs16"> | ||
<?php echo apply_filters('the_content', $args->post_content); ?> | ||
</div> | ||
</div> | ||
<?php endif; ?> |
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,8 @@ | ||
|
||
<div class="posts-grid grid-four p-0 w-100"> | ||
|
||
<?php $kunden = get_posts(array('post_type'=>'kunde','post_status' => 'publish', 'posts_per_page' => 4)); ?> | ||
<?php foreach($kunden as $kunde): ?> | ||
<?php get_template_part('template-parts/shortcodes/kunde','',$kunde); ?> | ||
<?php endforeach; ?> | ||
</div> |