0
我想合併兩行代碼,並作爲代碼noob,不可避免地有麻煩。我想使用提供的lightwindow類將我的文章縮略圖鏈接鏈接到永久鏈接。我也必須保持回聲。讓我的WordPress的the_post_thumbnail鏈接永久
這裏是原代碼:
echo '<li>'; the_post_thumbnail('blog-post-thumb'); echo '</li>';
這裏想什麼,我整合。
<h3><a href="<?php the_permalink();?>" class="lightwindow"><?php the_title(); ?></a></h3>