echo $pLink; ?> " rel="bookmark" title="<?php the_title(); ?> "> <?php the_title(); ?> </a> </h2> <div class="pageitem"> <div class="single-post-meta-top"> <div id="author_and_date"><span class="postDescriptionCellItem_author">By <a href="<?php echo wiziapp_buildAuthorLink($post->post_author); ?> "> <?php the_author(); ?> </a></span> <span class="postDescriptionCellItem_date"><?php echo wiziapp_formatDate($post->post_date); ?> </span> </div> <?php wiziapp_the_rating(); ?> </div>
function wiziapp_getPostAuthorDateLink($post_id) { $post = get_post($post_id); $authorId = $post->post_author; $authorLink = wiziapp_buildAuthorLink($authorId); $authorInfo = get_userdata($authorId); $authorName = $authorInfo->display_name; $postDate = $post->post_date; $obj = array("Paragraph" => array("class" => "author_date_css", "params" => array("CDATA" => "<a href=\"{$authorLink}\" title=\"{$authorName}\">{$authorName}</a><span> on {$postDate}</span>"))); return $obj; }