click count of a certain link in wordpress post
问题 Is it possible to count how many times a certain link in post has been clicked? (for example purpose, let's say that the certain link has an ID named 'bla') <a id="bla" href="#">download</a> I got a feeling it should be possible by using custom-fields/post-meta (to keep the count), just like the ever-so-popular 'visitor count' trick. Unfortunately, I'm rather clueless about PHP s. 回答1: It could be done with ajax call that updates post meta field before the link is followed. Example below