Dateien nach "templates" hochladen
This commit is contained in:
17
templates/card-profile.php
Normal file
17
templates/card-profile.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
/**
|
||||
* @var array $meta Enthält alle Metadaten des Teammitglieds
|
||||
* @var string $column_style Der Inline-Style für die Spaltenbreite
|
||||
*/
|
||||
?>
|
||||
<div class="teamcard teamcard-profile" <?php echo $column_style; ?>>
|
||||
<div class="teamcard-profile-header" <?php echo $meta['bild_url'] ? 'style="background-image: url(' . esc_url($meta['bild_url']) . ');"' : ''; ?>>
|
||||
<div class="teamcard-profile-content">
|
||||
<h3 class="teamcard-name"><?php the_title(); ?></h3>
|
||||
<p class="teamcard-function"><?php echo esc_html($meta['funktion']); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="teamcard-profile-body">
|
||||
<p class="teamcard-responsibility"><?php echo esc_html($meta['zustaendigkeit']); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user