Exemplo n.º 1
0
        if (delibera_get_prazo($post->ID) == -1) {
            echo 'Prazo encerrado';
        } else {
            printf(_n('Encerra em um dia', 'Encerra em %1$s dias', delibera_get_prazo($post->ID), 'delibera'), number_format_i18n(delibera_get_prazo($post->ID)));
        }
        ?>
        </p>
      </div>
    </div>
    <div class="col-md-6">
      <div class="meta text-right">
        <div class="btn-group">
          <button class="btn btn-default btn-sm dropdown-toggle red" type="button" data-toggle="dropdown" aria-expanded="false"><i class="fa fa-chevron-down"></i>
          </button>
          <?php 
        $social_share_url = pensandoodireito_bitly_url(get_the_permalink());
        ?>
          <ul class="dropdown-menu" role="menu">
            <li>
              <a href="javascript:var socialw = window.open('https://www.facebook.com/sharer/sharer.php?u=<?php 
        echo $social_share_url;
        ?>
', 'socialw', 'width=470, height=250, location=no');" class="fontsize-sm text-muted"><i class="fa fa-facebook-square"></i> Facebook</a>
            </li>
            <li>
              <a href="javascript:var socialw = window.open('http://www.twitter.com/share?url=<?php 
        echo $social_share_url;
        ?>
', 'socialw', 'width=470, height=280, location=no');" class="fontsize-sm text-muted"><i class="fa fa-twitter"></i> Twitter</a>
            </li>
            <li>
Exemplo n.º 2
0
									<a href="javascript:var socialw = window.open('https://www.facebook.com/sharer/sharer.php?u=<?php 
        echo pensandoodireito_bitly_url(get_the_permalink());
        ?>
', 'socialw', 'width=470, height=250, location=no');"
									   class="fontsize-sm text-muted"><i class="fa fa-facebook-square"></i> Facebook</a>
								</li>
								<li>
									<a href="javascript:var socialw = window.open('http://www.twitter.com/share?url=<?php 
        echo pensandoodireito_bitly_url(get_the_permalink());
        ?>
', 'socialw', 'width=470, height=280, location=no');"
									   class="fontsize-sm text-muted"><i class="fa fa-twitter"></i> Twitter</a>
								</li>
								<li>
									<a href="javascript:var socialw = window.open('https://plus.google.com/share?url=<?php 
        echo pensandoodireito_bitly_url(get_the_permalink());
        ?>
', 'socialw', 'width=470, height=250, location=no');"
									   class="fontsize-sm text-muted"><i class="fa fa-google-plus"></i> Google+</a>
								</li>
								<li>
									<a href="#" class="fontsize-sm text-muted" id="delibera_seguir">
										<span id="delibera-seguir-text" <?php 
        if (!$seguir) {
            echo ' style="display: none;" ';
        }
        ?>
><i class="fa fa-star-o"></i> Seguir</span>
										<span id="delibera-seguindo-text" <?php 
        if ($seguir) {
            echo ' style="display: none;" ';