简体   繁体   English

WordPress主题是否可以在没有WordPress的情况下工作?

[英]is it possible for wordpress theme to work without wordpress?

I have bought this Wordpress theme: http://themeforest.net/item/wp-pro-real-estate-3-responsive-wordpress-theme/1763306?ref=contempoinc but I was stupid enough to forget that Wordpress will need to be installed in order to customize and work on it. 我已经购买了这个Wordpress主题: http : //themeforest.net/item/wp-pro-real-estate-3-sensitive-wordpress-theme/1763306?ref=contempoinc,但我很愚蠢,忘记了Wordpress需要进行安装以自定义并对其进行处理。 Is it possible to run it on some server without Wordpress being include, to consider it as "done" template? 是否可以在不包含Wordpress的情况下在某些服务器上运行它,将其视为“完成”模板?

No, not in any practical way. 不,不是任何实际的方式。 Themes operate inside WordPress the way FireFox addons work inside Firefox or the way an Android App needs Android (to a lesser extent). 主题在WordPress内部运行,就像FireFox插件在Firefox中运行一样,还是Android应用程序需要Android(在较小程度上)。

You must have WordPress to use a WordPress theme. 您必须具有WordPress才能使用WordPress主题。 There are too many class and function dependencies to run the theme without WordPress. 没有WordPress,太多的类和函数依赖项无法运行主题。 It would be near impossible to even a load a theme and get all the templates to work without the WordPress core managing things. 在没有WordPress核心管理的情况下,甚至加载主题并让所有模板都无法工作几乎是不可能的。

You are better off starting from scratch than you are trying to edit the "WordPress" out of a WordPress theme. 与尝试从WordPress主题中编辑“ WordPress”相比,从头开始做更好。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM