mage-eventpress/templates/all-speaker-list.php

10 lines
400 B
PHP
Raw Permalink Normal View History

2021-10-31 07:01:04 -04:00
<li>
<a href='<?php echo get_the_permalink($speakers); ?>'>
<?php if (has_post_thumbnail($speakers)) {
echo get_the_post_thumbnail($speakers, 'medium');
} else { ?>
2023-08-29 02:17:31 -04:00
<img src="<?php echo esc_url(MPWEM_PLUGIN_URL . '/assets/helper/images/no-photo.jpg'); ?>" alt=""/>;
2021-10-31 07:01:04 -04:00
<?php } ?>
<h6><?php echo get_the_title($speakers); ?></h6>
</a>
</li>