Plugin Author
Ajay
(@ajay)
Do you mean moving the script tag to the footer?
You can’t do this automatically, but you could add this function tptn_add_tracker()
to your themes footer.php to manually add the tracking code there.
Thread Starter
derevo
(@derevo)
Yes, this is exactly what i’m looking for. When i’m add it to footer.php now counting works.
<?php tptn_add_tracker(); ?>
Too speed up site loading a bit im add all my javascript to footer, but top-10 ajax script declare before i’m load JS, how result it does not work.
One more thing to fix now, i want to remove duplicate of ajax code, one added automatically to body. How i can fix this?
Thanks a lot!
Plugin Author
Ajay
(@ajay)
I believe this should work:
remove_filter( 'the_content', 'tptn_add_viewed_count', 11 );
Thread Starter
derevo
(@derevo)
Thanks a lot for reply, i’m sorry im not so good in wordpress architecture, where i’m should add this code?
Plugin Author
Ajay
(@ajay)
You can add this in your theme’s functions.php file. As always, remember to backup