Support » Plugin: TT Guest Post Submit » How to get the guest post author's name and email.

Viewing 1 replies (of 1 total)
  • You must write it yourself.open content.php in your theme directory and find

    <div class="entry-content entry-summary">
    or
    <div class="entry-content">
    line.class names can be changable theme by theme , master word entry-content

    after this div , write what you need ; for example i need author’s name

    <?php $author = get_post_meta(get_the_ID(),'author',true); ?>
    
    <?php if ($author): ?>
    
    <?php print "<br><font color = blue><b>Author name :</b></font> ".$author; ?>
    <?php endif; ?>

    explain : if custom field author exists ,then show it ,else shows nothing.

Viewing 1 replies (of 1 total)
  • The topic ‘How to get the guest post author's name and email.’ is closed to new replies.