jury65
Forum Replies Created
-
Thanks, but the author does not respond…
Has not understood. Even if I shall insert this line in ” Read More Right Here “, what will take place?
“Read More Right Here” Knows nothing about this $outputIt is a pity, but the author ” Read More Right Here ” has not answered me.
I can try to change itself, but in top-10.php there is no similar line 70
Line 70: $id = intval($post->ID);
What exactly should be inserted?author “Read More Right Here”!
halloo!, hi!Last answer from the author TOP 10
The counter only works if it is included on “singular” pages.
From what I see on the plugin site for Read More is that you can execute a script when the event is triggered. Could you check with the developer for the code to do so.
You’ll need to be able to execute a call to “top-10-addcount.js.php” similar to line 70 of top-10.php$output = '<script type="text/javascript">jQuery.ajax({url: "' .$tptn_url. '/top-10-addcount.js.php", data: {top_ten_id: ' .$id. ', activate_counter: ' . $activate_counter . ', top10_rnd: (new Date()).getTime() + "-" + Math.floor(Math.random()*100000)}});</script>';
Yes, the ajax loading the post content on the left automatically, but counter viewing herewith does not increase. That to do?
Please see my blog https://clever.net.ru/