Ejemplo n.º 1
0
    if (function_exists('GetWtiLikePost')) {
        GetWtiLikePost();
    }
    ?>
                        <!--<span class="maincolor2hover like"><i class="fa fa-thumbs-o-up"></i></span>
                        <span class="maincolor2hover dislike"><i class="fa fa-thumbs-o-down"></i></span>-->
                    </div>
                    <?php 
}
?>
                    <?php 
if (function_exists('wpfp_link')) {
    ?>
                    <div class="video-toolbar-item tm-favories">
                    	<?php 
    wpfp_link();
    ?>
                    </div>
                    <?php 
}
?>
                    <?php 
$show_hide_sharethis = ot_get_option('show_hide_sharethis');
if ($show_hide_sharethis != '0') {
    ?>
                    <div class="video-toolbar-item share-this">
                        <span class="maincolor2hover">
                        <span class='st_sharethis_large' displayText='ShareThis'></span>
                        <script type="text/javascript">var switchTo5x=false;</script>
                        <script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
                        <script type="text/javascript">stLight.options({publisher: "37243fc6-d06b-449d-bdd3-a60613856c42", doNotHash: false, doNotCopy: false, hashAddressBar: false});</script>     
    ?>
	<div class="cftp-dt-add-value">

		<div class="input-group input-group-lg">
			<span class="input-group-addon" id="basic-addon1">$</span>
	      	<input type="number" class="form-control" value="<?php 
    echo $customFields['Value'][0];
    ?>
">
	      	
	      	<?php 
    if (function_exists('wpfp_link')) {
        ?>
	      	<span class="input-group-btn">
				<?php 
        echo wpfp_link(1, '', false);
        ?>
	      	</span>
			<?php 
    }
    ?>

	    </div>
    </div>
	<?php 
}
?>

	<?php 
if ($answer_links) {
    echo $answer_links;
function wpfp_content_filter($content)
{
    if (is_page()) {
        if (strpos($content, '{{wp-favorite-posts}}') !== false) {
            $content = str_replace('{{wp-favorite-posts}}', wpfp_list_favorite_posts(), $content);
        }
    }
    if (strpos($content, '[wpfp-link]') !== false) {
        $content = str_replace('[wpfp-link]', wpfp_link(1), $content);
    }
    if (is_single()) {
        if (wpfp_get_option('autoshow') == 'before') {
            $content = wpfp_link(1) . $content;
        } else {
            if (wpfp_get_option('autoshow') == 'after') {
                $content .= wpfp_link(1);
            }
        }
    }
    return $content;
}
function wpfp_content_filter($content)
{
    if (is_page()) {
        if (strpos($content, '{{wp-favorite-posts}}') !== false) {
            return str_replace('{{wp-favorite-posts}}', wpfp_list_favorite_posts(), $content);
        }
    }
    #if (is_single()):
    if (strpos($content, '[wpfp-link]') !== false) {
        return str_replace('[wpfp-link]', wpfp_link(1), $content);
    }
    #endif;
    return $content;
}