In the blog I have created, there is an edit link at the bottom of each post when you look at the live site whilst logged in as admin.
Website client looking for a way to have that edit link on the 'blogroll' homepage so that it appears underneath each blog post excerpt.
I've looked all over google for an answer but can't find anything. I don't even think it's possible given what I understand about Wordpress codex conditional logic.
Can someone please let me know if it is possible or not and how to approach this problem?
==Update==
Ok with Tim's guidance, I located the content.php where the excerpt logic was being produced for the blog roll. Inserted Tim's proposed code like so:
<?php if ( true == generate_show_excerpt() ) : ?>
<div class="entry-summary" itemprop="text">
<?php the_excerpt(); ?>
<?php
if(is_user_logged_in() && current_user_can("edit_post", get_the_ID())){
edit_post_link("Edit this post");
}
?>
</div><!-- .entry-summary -->
<?php else : ?>
<div class="entry-content" itemprop="text">
<?php the_content(); ?>
<?php
wp_link_pages( array(
'before' => '<div class="page-links">' . __( 'Pages:', 'generate' ),
'after' => '</div>',
) );
?>
</div><!-- .entry-content -->
<?php endif; ?>
Just had to make sure it was wrapped in a PHP function call ( i.e. ). Seems to work the treat.