Display thumbnails of recent projects on main page?
-
I would like to display thumbnails of projects on my main page for a category “clients” but not display the category clients in the loop. I found a page that describes how to do this for portfolio purposes but it doesn’t quite solve the needs that I have:
https://bloghelper.is-there.net/how-to-use-wordpress-for-a-portfolio-site-part-1/
If I exclude the clients category then it doesn’t show the thumbnails, so what other solution can I have?
The above method basically uses custom fields, in the field you put the thumbnail to the project and output it via:
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"> <?php echo '<img class="thumb" src="'.get_post_meta($post->ID, 'thumbnail', TRUE).'" />'; </a>
While this is all well and good it doesn’t work if you hide the category on the main page because then the output of the thumbnail hides, any suggestions?
- The topic ‘Display thumbnails of recent projects on main page?’ is closed to new replies.