Can’t connect to my WordPress website using Windows 8 app?

I took a look at the WordPress app for Windows 8. It looks as though it is strictly built for WordPress.com, not self-hosted blogs. The apps available for Android, iOS, and Windows Phone on the other hand actually support both self-hosted installations and WordPress.com. Even though you integrated some WordPress.com services into your blog via … Read more

Isotope with Infinite Scroll

Usually isotope allows appending new items and then just re-layout the masonry again: Somewhere in your JS file you should put the elements you want to append into a variable, e.g. new_elements jQuery(‘.grid’).append(new_elements) .isotope(‘appended’, new_elements) .imagesLoaded( function() { jQuery(‘.grid’).istotope(‘layout’); }); Source: http://isotope.metafizzy.co/methods.html The solution Thanks to @vajrasar for the final touches. When you echo the … Read more

Using stats_get_csv to return a list of popular posts by views with thumbnails

The API returns the following columns when you query the postviews table: date post_id post_title post_permalink views For my blog the post_id column was either empty or 0 (for the homepage). So unless you have good values there, you will have to work from the post_permalink value and determine whether it is a page or … Read more

Jetpack – stats_get_csv period parameter

While researching to answer this SO Question, stumbled upon this one, which gave me the final hint. I’ll reproduce the relevant part: Function get_stats_csv /plugins/jetpack/modules/stats.php The function get_stats_csv calls http://stats.wordpress.com/csv.php. If we visit this address, we get this response: Error: api_key is a required parameter. Required parameters: api_key, blog_id or blog_uri. Optional parameters: table, post_id, … Read more

Popular posts by view with Jetpack

There is a Jetpack widget called Top Posts and Pages (Jetpack) If you check out the [source code][2] for this widget, you can see that it’s using the function stats_get_csv() to retrieve the stats: $post_view_posts = stats_get_csv( ‘postviews’, array( ‘days’ => 2, ‘limit’ => 10 ) ); If you want to generate your custom most … Read more

Jetpack Infinite Scrolling For Multiple Columns On Same Page?

I’ve checked the source code for Slim Jetpack and this task can not be accomplished without rewriting that plugin. Here are some hints: You’ll have to duplicate line 539 of ‘/modules/infinity-scroll/infinity.php’ stating: jQuery.extend( infiniteScroll.settings.scripts, <?php echo json_encode( $scripts ); ?> ); You’ll have to duplicate line 475 of ‘/modules/infinity-scroll/infinity.js’ as this initializes infinite scroll. (Do … Read more