开发者

WordPress - Where would I put custom classes and database calls?

I开发者_运维知识库'm working on a WordPress CMS site and I want to add my own classes that make my own calls tot he WordPress database. Where would be the ideal place to put these so they are easily accessible? I'm guessing it would go either in wp-content or wp-includes but I don't know which.

Thank you


You should put them in your template folder, in the functions.php file.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜