[Plugin: Post Page Associator] Thumbnail, excerpt, title template not working
-
Hi there,
I am using the title-excerpt-thumbnail.php for my homepage here: https://www.screencult.com
As you can see the template is calling ALL the content.
In the code below you can see that the template calls for ‘entry_content’
<?php */ If ( $association_query = $this->get_associated_posts() ) : ?> <div class="associated-posts"> <?php While ($association_query->have_posts()) : $association_query->the_post(); ?> <div class="associated-post"> <h2 class="entry-title"> <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title() ?></a> </h2> <div class="entry-content"><?php the_content() ?></div> <div class="entry-utility"><?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="edit-link">', '</span>' ); ?></div> <?php If ($thumb) : // In 99% of all cases we only need the clearer if we used a thumbnail image. ?> <div class="clear"></div> <?php EndIf; ?> </div> <?php EndWhile; ?> </div> <?php EndIf; /* End of File */
`
I tried to change this for it to call ‘the_excerpt’ but it then doesn’t show the thumbnail.
What do I have to do so that long news items become excerpts but still keep the post thumbnail if there is one?
Already tried:
<div class="attachment_thumbnail"><?php the_post_thumbnail() :?></div>
Didn’t work.
Many thanks in advance for the help!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘[Plugin: Post Page Associator] Thumbnail, excerpt, title template not working’ is closed to new replies.