Exemplo n.º 1
0
            if (function_exists('eff_review')) {
                echo eff_review('rt_float');
            }
        }
        ?>
			<?php 
        the_content();
        ?>
			<?php 
        wp_link_pages(array('before' => '<div class="my-paginated-posts">' . __('Pages:', 'framework'), 'after' => '</div>'));
        ?>
			<?php 
        $rt_position = get_post_meta($post->ID, 'eff_review_position', true);
        if ($rt_position == 'bottom') {
            if (function_exists('eff_review')) {
                echo eff_review('');
            }
        }
        ?>
		    </div>
		    
		    <?php 
        the_tags('<span style="display:none">', ' ', '</span>');
        ?>
		    <span style="display:none" class="updated"><?php 
        the_time('Y-m-d');
        ?>
</span>
		    <div style="display:none" class="vcard author" itemprop="author" itemscope itemtype="http://schema.org/Person"><strong class="fn" itemprop="name"><?php 
        the_author_posts_link();
        ?>
Exemplo n.º 2
0
function eff_review_sc($atts, $content)
{
    extract(shortcode_atts(array(), $atts));
    ob_start();
    echo eff_review();
    $content = ob_get_contents();
    ob_end_clean();
    return $content;
}