Example #1
0
/**
 * render custom field data in single post 
 * @param object $post
 * @since 1.0
 * @author Dakachi
 */
function et_render_custom_field($post)
{
    et_render_custom_taxonomy($post);
    et_render_custom_meta($post);
}
Example #2
0
if ($convert) {
    ?>
                                <!-- overview -->
                                <div class="profile-overview">
                                	<h4 class="title-single-profile"><?php 
    _e('Overview', ET_DOMAIN);
    ?>
</h4>
                                    <p><?php 
    echo $convert->post_content;
    ?>
</p>
                                    <?php 
    if (function_exists('et_the_field')) {
        et_render_custom_meta($convert);
        et_render_custom_taxonomy($convert);
    }
    ?>
                                </div>
                                <!--// overview -->
                                <?php 
}
if (fre_share_role() || ae_user_role($author_id) != FREELANCER) {
    get_template_part('template/work', 'history');
}
if (fre_share_role() || ae_user_role($author_id) == FREELANCER) {
    get_template_part('template/bid', 'history');
    $bid_posts = $wp_query->found_posts;
    ?>
                                    <div class="portfolio-container">
                                    <?php