<!-- <div class="section share-page"> <h2><span>Share this page</span></h2> <?php //if(function_exists('add_social_button_in_content')) echo add_social_button_in_content(); ?> </div>--> <!-- <div class="clock-wrapper"> <div class="flip-counter clock"></div> <p>This campaign starts on <strong>August 5th, 2015</strong>, at <strong>12:00PM PDT</strong>.</p> <h4>Follow the steps below then come back on August 5th to tell the DNC that #WeWantDebate!</h4> </div> --> <div class="m-all t-1of2 d-1of2 section spread-word"> <h2><span>Step 1: Get the word out! <?php if (function_exists('add_social_button_in_content')) { echo add_social_button_in_content(); } ?> </span></h2> <p>Retweet the below to let everyone know that the campaign is live, and that they can join us here.</p> <blockquote class="twitter-tweet" data-link-color="#55acee"> <p>It has started! Let's tell @TheDemocrats that #WeWantDebate! Join thousands at http://voteforbernie.org/debate/ #FeelTheBern</p> — Vote For Bernie (@vote_for_bernie) <a href="https://twitter.com/vote_for_bernie/status/628959240296595456"> August 5, 2015 </a> </blockquote> <p>Tweet one of the following, or <a href="https://twitter.com/intent/tweet?text=%23WeWantDebate+because+...+voteforbernie.org%2Fdebate%2F&source=vote_for_bernie&related=vote_for_bernie" target="_blank">write your own</a></p> <a class="twitter-share" href="https://twitter.com/intent/tweet?text=%23WeWantDebate+because+%40TheDemocrats+shouldn%27t+be+able+to+decide+our+candidate+for+us%21+%40DWStweets+%40TulsiGabbard+voteforbernie.org%2Fdebate&source=vote_for_bernie&related=vote_for_bernie" target="_blank"><span>#WeWantDebate</span> because <span>@TheDemocrats</span> shouldn't be able to decide our candidate for us! <span>@DWStweets @TulsiGabbard voteforbernie.org/debate</span><em>Tweet This</em></a> <a class="twitter-share" href="https://twitter.com/intent/tweet?text=%23WeWantDebate+because+6+is+not+enough!+In+the+2008+primary+there+were+26!+%40TheDemocrats+%40DWStweets+%40TulsiGabbard+voteforbernie.org%2Fdebate&source=vote_for_bernie&related=vote_for_bernie" target="_blank"><span>#WeWantDebate</span> because 6 is not enough! In the 2008 primary there were 26! <span>@TheDemocrats @DWStweets @TulsiGabbard voteforbernie.org/debate</span><em>Tweet This</em></a> <a class="twitter-share" href="https://twitter.com/intent/tweet?text=%23WeWantDebate+because+...+voteforbernie.org%2Fdebate%2F&source=vote_for_bernie&related=vote_for_bernie" target="_blank"><span>#WeWantDebate</span> because <strong>[add your own reason]</strong> <span>voteforbernie.org/debate</span><em>Tweet This</em></a> <ul>
function cresta_filter_in_content($content) { $cresta_current_post_type = get_post_type(); $before_content = get_option('cresta_social_shares_before_content'); $after_content = get_option('cresta_social_shares_after_content'); $show_on = explode(',', get_option('cresta_social_shares_selected_page')); if (is_singular() && !in_array($cresta_current_post_type, $show_on)) { return $content; } if (is_front_page()) { if ('page' == get_option('show_on_front') && !in_array('page', $show_on)) { return $content; } } if (is_search() || is_404() || is_archive() || is_home() || is_feed()) { return $content; } $checkCrestaMetaBox = get_post_meta(get_the_ID(), '_get_cresta_plugin', true); if ($checkCrestaMetaBox == '1') { return $content; } if (in_array('get_the_excerpt', $GLOBALS['wp_current_filter'])) { return $content; } $addd_social_button_in_content = do_shortcode(add_social_button_in_content()); if ($before_content == 1) { $content = $addd_social_button_in_content . $content; } if ($after_content == 1) { $content .= $addd_social_button_in_content; } return $content; }