jonsby
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Popular Posts] dynamic categories filterWorks great!
Thanks for the help and for providing such excellent support.
I donated a few bucks from the plugin page. Should be enough for a beer or two 🙂
Forum: Plugins
In reply to: [WP Popular Posts] dynamic categories filter`<?php
foreach((get_the_category()) as $category) {
$myCats .= $category->cat_ID . ‘, ‘;
}
?><?php
if (function_exists(‘wpp_get_mostpopular’))
wpp_get_mostpopular( ‘range=”all” limit=3 thumbnail_width=215&thumbnail_height=100 stats_views=0 cat=”‘ . $myCats . ‘” post_type=”post,blogg’ );
?>Forum: Plugins
In reply to: [WP Popular Posts] conflict with polylang – not writing to databaseyes all of them are from the post type blogg.
thanks i’ll delete that table then.
Forum: Plugins
In reply to: [WP Popular Posts] conflict with polylang – not writing to databasehttp://www.stretch.se
The blog is at http://www.stretch.se/bloggForum: Plugins
In reply to: [WP Popular Posts] conflict with polylang – not writing to databaseThanks! the fix you suggested works. I can now see in the database that it registers views however the filters for day week month doesn’t work. i still get “no data so far”
i have four tables in the database
PopularPostsdata
popularpostsdata
popularpostsdatacache_backup
popularpostssummaryand ‘popularpostsdata’ is getting new entries
my shortcode looks like this
<?php echo do_shortcode(“[wpp range=all limit=3 thumbnail_width=70 post_type=blogg freshness=0 stats_comments=0 thumbnail_height=70 stats_views=0 order_by=views wpp_start=
- wpp_end=
]”); ?> i use this in a theme file.
i can sort posts and pages daily, weekly, monthly but not my custom post type ‘blogg’