In order to achieve better interaction effect, the Msimple theme has been upgraded recently, and the article like function has been added. This function refers to a pure code WordPress article of Maker Cloud, and the article like function has been added. Let's record and share it here. Implementation idea: display the number of likes in real time through ajax, and save the number of likes in custom fields, Cookies prohibit re liking. Add Code The code below the code is added to the func of the topic