This commit is contained in:
2025-05-06 11:35:41 -07:00
parent c63e4dd47c
commit 1382d97d26
2 changed files with 21 additions and 1 deletions

17
single-team-member.php Normal file
View File

@@ -0,0 +1,17 @@
<?php
get_header();
echo site()->render("team-member", site()->getDefaultPosts([
"name",
"excerpt",
"thumbnail",
"permalink",
"acf.title",
"acf.linkedin_url",
"acf.email",
"acf.phone_1",
"acf.phone_2",
]));
get_footer();

View File

@@ -35,7 +35,10 @@
<div class="right">
<p class="name">{{ name }}</p>
<p class="position">{{ title }}</p>
<p>{{{ excerpt }}} <a href="{{ permalink }}">Read more &gt;</a></p>
<div class="excerpt">
{{{ excerpt }}}
<a href="{{ permalink }}">Read more &gt;</a>
</div>
</div>
</div>
</div>