0
在我们的网站上,我们有一个课程演讲者页面。主要职位有生物,我为每个职位添加了一个侧栏以显示图片和摘录。摘录仅包含网站及其社交媒体网站的链接。摘录中的链接似乎不可点击。 http://www.socialmediaacademy.org.uk/index.php/course-speakers/有没有办法让他们点击?下面是侧边栏的代码:Wordpress摘录中的链接不起作用
<div id="sidebarbio">
<ul class="sidebar_list">
<?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar()) : ?>
<li class="widget">
</li>
<div class="post">
<div>
<?php // if there's a thumbnail
if($thumb !== '') { ?>
<p>
<img src="<?php echo $thumb; ?>"
class="<?php if($thumb_class !== '') { echo $thumb_class; } else { echo "left"; } ?>"
alt="<?php if($thumb_alt !== '') { echo $thumb_alt; } else { echo the_title(); } ?>"
/>
</p>
<?php } // end if statement
// if there's not a thumbnail
else { echo ''; } ?>
<?php the_excerpt(); ?>
<?php $image = get_post_meta($post->ID, 'image', TRUE); ?>
<?php if($image) { ?><img src="<?php echo $image; ?>" alt="Alt Text" /><?php } ?>
</div>
</div>
<?php endif; ?>
</ul>