open the ttgps-functions.php and find the
$site = isset($_POST["site"]) ? $_POST["site"] : "";
line. after this line add what you want. for example ,this plugin posts phone value ,but not create any custom field as it’s name or value. i add ttgps-functions.php this line and all done ;
$phone = isset($_POST["phone"]) ? $_POST["phone"] : "";
beware about ,if you want to create custom fields , POST values must return from tt-guest-post-submit.php .If $_POST[“phone”] not exist in tt-guest-post-submit.php ,you must create a form element as is.
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.