[Plugin: WP Favorite Posts] Favorite page view: thumbnails in table
-
Hello,
I have successfully used this code:
echo "<ul>"; if ($favorite_post_ids): $favorite_post_ids = array_reverse($favorite_post_ids); foreach ($favorite_post_ids as $post_id) { $p = get_post($post_id); echo "<div class='post'><div class='entry'>"; echo "<a href='".get_permalink($post_id)."'>"; echo get_the_post_thumbnail ( $post_id, 'thumbnail' ); echo "</a>"; echo "</div></div>"; echo "<li>"; echo "<a href='".get_permalink($post_id)."' title='". $p->post_title ."'>" . $p->post_title . "</a> "; wpfp_remove_favorite_link($post_id); echo "</li>"; } else: echo "<li>"; echo $wpfp_options['favorites_empty']; echo "</li>"; endif; echo "</ul>";
to display post thumbnails along with permalinks.
My question is: how can I arrange them in a table (4 columns) instead of a
- list.
Please help…
Thanks
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘[Plugin: WP Favorite Posts] Favorite page view: thumbnails in table’ is closed to new replies.