简体   繁体   English

是否可以使用没有wordpress功能的常规wordpress主题

[英]Is it possible to use a regular wordpress theme without wordpress functionality

First of all i don't have any experience on wordpress.. So please forgive my ignorance.. I've found a theme on themeforest. 首先,我没有任何关于wordpress的经验。.所以请原谅我的无知。.我在themeforest上找到了一个主题。 Unfortunately it's a wordpress theme. 不幸的是,这是一个WordPress主题。 I want to develop my own admin panel. 我想开发自己的管理面板。 I don't want to use wordress. 我不想用女巫。 Is it possible? 可能吗?

Anything is possible, however this is a gum in hair scenario. 一切皆有可能,但这是头发中的口香糖。 Ask the theme author if there is an HTML version which is common on ThemeForest. 询问主题作者是否有ThemeForest上常见的HTML版本。 If you do try to "extract" the layout: 如果您确实尝试“提取”布局,请执行以下操作:

Begin with the stylesheet and match up the styles with each page template's markup. 从样式表开始,然后将样式与每个页面模板的标记匹配。

Also, why not use WordPress? 另外,为什么不使用WordPress? The Redux theme options framework is very easy to use. Redux主题选项框架非常易于使用。

Since a wordpress theme is just a bunch of html/css/js/php files, yes, it is possible. 由于wordpress主题只是一堆html / css / js / php文件,因此可以。 Depending on what language/framework will used backend side, the easiest way would be to extract the html/css/js parts of the theme and than add your own "content-placeholders" which will be used by your own backend. 根据后端将使用哪种语言/框架,最简单的方法是提取主题的html / css / js部分,然后添加自己的“内容占位符”,以供您自己的后端使用。

But: Think twice about doing this. 但是:请三思而行。 First, there could be a conflict with the license of the theme (depending on what type of license is used by the author of the theme). 首先,与主题的许可证可能存在冲突(取决于主题作者使用的许可证类型)。 And more important, second, you should think twice about building your own backend. 更重要的是,第二,您应该三思而后行构建自己的后端。

For the case this isn't an experiment and you're building a productive website, building you're own backend is a lot of work. 对于这种情况,这不是一个实验,而您正在构建一个高效的网站,则要自己构建后端是一项繁重的工作。 Unless you need some special functionalities (or you would like to keep it very slim and basic), I would suggest using a ready made CMS for this - like wordpress. 除非您需要一些特殊功能(或者您希望使其非常苗条和基本),否则我建议为此使用现成的CMS-例如wordpress。

My opinion: 95% of self-made backends for basic cms features I've seen (and was forced to work with) are very messy and far beyond available open source cms. 我的观点:我已经看到(并被迫使用)基本cms功能的95%的自制后端非常混乱,并且远远超出了可用的开源cms。 It seems like many people don't balance the pros and cons of building an own CMS-backend and undervalue the effort to build a state-of-the-art CMS. 似乎很多人在建立自己的CMS后端的利弊之间没有权衡,而低估了建立最新CMS的努力。

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

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