javascript - For an architecture like wordpress, what is the most reasonable way to carry out secondary development?

WBOY
Release: 2016-08-18 09:15:29
Original
1092 people have browsed it

Today I am using WordPress to integrate QQ third-party login. I don’t know how to do it reasonably. Should I put all the secondary development files in the theme? Or write the logic in the root directory file?

Reply content:

Today I am using WordPress to integrate QQ third-party login. I don’t know how to do it reasonably. Should I put all the secondary development files in the theme? Or write the logic in the root directory file?

I dare not say the most reasonable one, but the basic idea is: if it is a modification to the interface, make a theme yourself; if it is a functional modification, make a plugin. It is not advisable to directly change the WordPress source code, because WordPress itself needs to be continuously upgraded.

Specifically regarding your function, when WordPress integrates QQ, I feel it is better to make it a separate plugin and not put it in the theme.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!