0
我正在用facetWP做這樣的事情。WordPress的facetWp
http://www.scrambledchefs.com/recipe-index/recipe-browser/?fwp_meal_type=main-dish
,我想我的照片留下這樣的網站。 這裏是我的PHP代碼,看看我做了什麼:
<?php while (have_posts()): the_post(); ?>
<p><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>">
<?php the_post_thumbnail(''); ?>
</a></p>
<p><a href="<?php the_permalink(); ?>"><?php the_title('<h2>', '</h2>', '</center>'); ?></a></p>
<a/></p>
<?php endwhile; ?>
眼下他們正在顯示一個下其他的我想顯示他們喜歡的網站,我有後(網格視圖)。