Where to add my PHP codes for AJAX Jquery to work?
Here is a general scenario for adding PHP code snippets in WordPress theme or plugin. Scenario 1: Theme is your custom made theme. In this case, you can add code snippets in your own desired way (and obviously in standard way since you are the author of the theme). Scenario 2: Theme is either premium … Read more