Hey guys! I recently created a portfolio CPT (my first ever Custom Post type) for my WordPress theme. Like many portfolio’s mine has a grid based layout, with each section having the post’s featured image and an excerpt of the text.
However, when I want the text to display the full post (by clicking ‘more’) I get a link to the whole featured image, not the post.
The link has the following code
<a title="<?=$title?>: <?=$desc?>" rel="lightbox[work]" href="<?php print portfolio_thumbnail_url($post->ID) ?>">(more)</a>
I’m pretty sure i need to change the:
But I’m not sure what to?
This is probably quite easy, but I’m a beginner with php and wordpress, as I said it’s my first Custom Post type.
Thanks a lot!
- The topic ‘Read more post help’ is closed to new replies.