When your website means business.

PHP, WP/CP | Type: PHPAdding an edit tag in PHP conditional

Add [EDIT] in a PHP conditional, with style tags surrounding:

if (is_singular( 'experience' )) {
    $date = get_the_date('F d, Y');
    echo '<p class="entry-meta hexp"><span class="pointer">&laquo;</span><a href="/health-experiences">Return to Health Experiences</a> | '.$date;
    edit_post_link( __('[EDIT]', 'textdomain'), ' <span class="small">', '</span>' );
    echo '</p>';
}