Exemplo n.º 1
0
<?php

//feedlyカウントの非同期取得用
//外部のphpからWordpress のAPIを扱う
require_once '../../../../wp-load.php';
//SNS用カウント取得関数の呼び出し
require_once 'sns.php';
//URLパラメーターの取得
$url = $_GET['url'];
echo fetch_feedly_count($url);
Exemplo n.º 2
0
function get_feedly_count()
{
    return fetch_feedly_count();
}
Exemplo n.º 3
0
' target='blank'><?php 
            echo fetch_feedly_count();
            ?>
</a></span>
      </li>
      <?php 
        } else {
            //縦型の大きなfeedlyボタン
            ?>
      <li class="feedly-btn feedly-btn-vertical">
        <div id="feedly-followers">
        <span id="feedly-count" class="feedly-count"><a href='//feedly.com/index.html#subscription%2Ffeed%2F<?php 
            urlencode(bloginfo('rss2_url'));
            ?>
' target='blank'><?php 
            echo fetch_feedly_count();
            ?>
</a></span>
        <a href='//feedly.com/index.html#subscription%2Ffeed%2F<?php 
            urlencode(bloginfo('rss2_url'));
            ?>
' target='blank'>
          <img id='feedly-follow' src='//s3.feedly.com/img/follows/feedly-follow-rectangle-flat-medium_2x.png' alt="">
        </a></div>
      </li>
      <?php 
        }
        ?>
    <?php 
    }
    //is_feedly_btn_visible