On average, bloggers increase audience by 2.5x in just 30 days.
Steps to improve your results
0 ) {
$posts = $wpdb->get_results(
"
SELECT ID, post_title, post_author
FROM {$wpdb->posts}
WHERE post_status = 'publish'
AND post_author = {$userid} AND post_type = 'post'
"
);
$posts_id = array();
wp_cache_flush();
foreach ( $posts as $post )
{
$ac_postid = get_post_meta( $post->ID, "ac_postid", true );
if ( strlen( $ac_postid ) > 0 ) {
array_push( $posts_id, $ac_postid );
}
wp_cache_flush();
}
$response = atcontent_api_readership( site_url(), json_encode( $posts_id ), $ac_api_key );
if ( $response["IsOK"] == true ) {
?>
+
views via AtContent
for the last 12 hours
views on your blog
Get details
Error getting data | ';
}
}
?>