teyruu
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Popular Posts] Shortcode for just the thumbnail url textOk I just temporarily edited your code, I hope you don’t mind. I just added {img_no_link_no_tag} to $data where it’s value is a preg_match to the source image of $thumb.
Forum: Plugins
In reply to: [WP Popular Posts] Post counts gone haywire in past few daysAh I think the plugin is really broken even with the changes I made above. I hope it would be resolved soon.
Forum: Plugins
In reply to: [WP Popular Posts] Post counts gone haywire in past few daysWhat caching plugin are you using Robin?
Forum: Plugins
In reply to: [WP Popular Posts] Post counts gone haywire in past few daysI think I may have found the problem: on Tools, Data Tools, Ajaxify widget – it should be enabled on w3total cache.
But if you enable it then widgets will be loaded via ajax as well as the counting script.
I had trouble with this since I’m using jquery on the output of the popular list. So I just disabled Ajaxify and just placed this on the single posts:
<?php $nonce = wp_create_nonce('wpp-token'); global $wp_query; wp_reset_query(); $id1 = $wp_query->post->ID; ?> <script type="text/javascript"> /* <![CDATA[ */ jQuery.post('<?php echo admin_url('admin-ajax.php'); ?>', {action: 'wpp_update', token: '<?php echo $nonce; ?>', id: <?php echo $id1; ?>}, function(data){/*alert(data);*/}); /* ]]> */ </script>Forum: Plugins
In reply to: [WP Popular Posts] Post counts gone haywire in past few daysI have the same problem…
I noticed that I used to have the admin-ajax.php ajax script appearing on the post, but now its gone with the current updates.
Was the call to admin-ajax.php specifically removed?