How do I remove quantcast from my sites?
Quantcast is coming from the Stats component of JetPack. You can: Disable Jetpack Stats Directly block Quantcast, such as via the DoNotTrack Plugin
Quantcast is coming from the Stats component of JetPack. You can: Disable Jetpack Stats Directly block Quantcast, such as via the DoNotTrack Plugin
There are many different ways to get some stats regarding your site. One of the most popular solutions is to use Jetpack. Check this link for more info: http://jetpack.me/support/wordpress-com-stats/ Alternatively you may use a plugin such as this one: https://wordpress.org/plugins/wp-power-stats/ Another solution is to use a separate application such as AwStats which is usually provided … Read more
Haven’t seen a plugin that does this, since each theme would differ. But for a custom solution that would work with Google Analytics events see #9 here: https://searchenginewatch.com/sew/how-to/2287906/10-google-analytics-custom-events-that-track-the-untrackable OP also found this more specific article: http://cutroni.com/blog/2014/02/12/advanced-content-tracking-with-universal-analytics/ (These are in comments above, just posted to make it faster for those looking for something similar to find … Read more
I’m having the same problem. Take a look at the opening comments of content-types-wordpress-plugin.php, it looks like there are extra line breaks between each line, which may disrupt the parser that pulls out the version number, etc. If you don’t see the extra breaks when you develop locally, you may have to play with the … Read more
I would recommend installing Piwik on your intranet using one of their plugins, though it will work just fine as a stand alone. http://piwik.org/ http://piwik.org/blog/2008/06/new-plugin-wordpress-piwik-integration/
Check for the post type with the post ID: if ( $post[‘post_id’] && get_post( $post[‘post_id’] ) && ‘post’ === get_post_type( $post[‘post_id’] ) )
I think I’d build that upon and already existing plugin that does the counting for me. I have made quite good experience with Post Views Counter as it also lets you use it in WP_Query. But WP-PostViews looks promising as well. Choose one. Next I’d query posts by view count from a WordPress cron event … Read more
Switch to the new jetpack plugin and you will be fine.
Not installed by default, but available as plugin from repository: WordPress.com Stats
All you need to do is modify the SQL query. Using the code you linked as a base: $numposts = $wpdb->get_var(“SELECT COUNT(*) FROM $wpdb->posts WHERE post_status=”publish” AND year(post_date) = 2010″); if (0 < $numposts) $numposts = number_format($numposts); The ‘AND’ I added basically gives you all the posts of 2010. Change the year accordingly