[Plugin: facebook-share-new] Some fixes for the Statistics page
-
Fixes for the stats:
First row not showing properly:
Adjust row 153 from:
$url = 'https://api.facebook.com/restserver.php?method=links.getStats&urls="'.$urls.'"';
to
$url = 'https://api.facebook.com/restserver.php?method=links.getStats&urls='.$urls.'';
Footer showing on top:
Adjust row 103 from:$get_analytics = fb_read_analytics($urls); }
to:
$get_analytics = fb_read_analytics($urls); echo "</table>"; }
Showing pages and posts:
Adjust row 88 from:
query_posts('posts_per_page=30');
To:
query_posts( 'post_type=post&posts_per_page=-1&orderby=title&order=ASC');
Adjust row 102 from:
wp_reset_query();
To:wp_reset_query(); query_posts( 'post_type=page&posts_per_page=-1&orderby=title&order=ASC'); //The Loop if ( have_posts() ) : while ( have_posts() ) : the_post(); if (get_post_status($post->ID) == 'publish') { $urls .= get_permalink().","; } endwhile; endif;
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘[Plugin: facebook-share-new] Some fixes for the Statistics page’ is closed to new replies.