简体   繁体   English

WordPress Bigwig主题深度定制

[英]Wordpress Bigwig Theme Deep Customization

I have installed bigwig theme for my WordPress site ( http://test.adamconsultingplc.com ) . 我已经为我的WordPress网站( http://test.adamconsultingplc.com )安装了bigwig主题。 The theme is pretty good, but i want to customize the features that it provides, like it has a lot of dynamic features, creating sliders, carrousels, etc. I want customization in the core functionality of theme. 主题非常好,但是我想自定义它提供的功能,例如它具有很多动态功能,创建滑块,转盘等。我想在主题的核心功能中进行自定义。 I don't know much about code structure of WordPress and how the theme works, But i can see that every module at the backend works like adding a post, so for adding a staff member (in STAFF MEMBERS MODULE) is just like adding a post, BUT there is no category mentioned. 我对WordPress的代码结构以及主题的工作方式了解不多,但是我可以看到后端的每个模块都像添加帖子一样工作,因此添加工作人员(在STAFF MEMBERS MODULE中)就像添加一个帖子,但没有提及类别。 I want to add staff members on category based , like cities are my parent categories and under every city i have added two categories ( people and pages ). 我想按类别添加工​​作人员,例如城市是我的父类别,在每个城市下我都添加了两个类别(人和页面)。 So when i add a staff member from the theme provided module , i want to add staff member in Category City->People where city is different for every staff member depending on their office location. 因此,当我从提供的主题模块中添加工作人员时,我想在“城市”->“人员”类别中添加工作人员,其中每个工作人员的城市都取决于他们的办公位置。 I really need help, just to understand the structure of code of theme or just to pin point a start location , where i can start coding from. 我真的需要帮助,只是为了了解主题代码的结构或只是指出一个起始位置(我可以从此处开始进行编码)。

Wordpress have its own functions set, some of them are to determine/filter categories, can't recall the function name but it is easy to find. WordPress具有自己的功能集,其中一些功能用于确定/过滤类别,无法回忆起功能名称,但很容易找到。

From there you can hack in some lines in the page you want to customize. 从那里,您可以在要自定义的页面中添加一些代码。

However if it is marely adding posts that belongs to a category, then try Ultimate-post, again not sure of the name, it is a plug in that replaces normal post list widget that allows you to filter the post by categories and much more. 但是,如果要添加属于某个类别的帖子,请尝试使用Ultimate-post,但又不确定名称,它是一个插件,可以替换常规的帖子列表小部件,该小部件可让您按类别过滤帖子,甚至更多。

also be more specific on your question, may be adding few lines of code if you've narrowed down where the problem/change is. 在您的问题上也更为具体,如果您缩小了问题/更改的范围,则可能会添加几行代码。 good luck. 祝好运。

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

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