WordPress 页面分组
有什么方法可以在 Wordpress 中对我的页面进行分组/文件夹吗?页面中的页面,而不是帖子中的页面。如果我将它用作 CMS 并且有 200 个页面。 10个主页面,其余均为子页面。将所有页面视为一个巨大的列表确实很不方便。
我知道我可以使用帖子和类别,因为无论如何我都不需要博客功能,即使我确实需要它,我也可以让它工作。问题是,这样我会失去一些功能,不幸的是这对我来说不是一个选择。
我环顾四周并用谷歌搜索,但到目前为止还没有结果。我确信我不是唯一对此感到好奇的人。
Is there any way to group/folder my pages in Wordpress. Pages as in pages, not posts. In case I'm using it as a CMS and have, say, 200 pages. 10 main pages and the rest are all sub-pages. It'd be really inconvenient to see all the pages as a one huge lists.
I know I could use posts and categories, as I won't be needing the blog functionality anyway, and even if I did need it, I could make it work anyway. Thing is, I'd lose a bit functionality this way and it's unfortunately not an option for me.
I have looked around and Googled but so far with no results. I'm sure I'm not the only one who has come to wonder about that.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
好的,所以我找到了我正在寻找的东西。
http://wordpress.org/extend/plugins/page-tree/
Ok, so I found exactly what I was looking for.
http://wordpress.org/extend/plugins/page-tree/
CMS Tree Page View 是我创建的一个插件,我认为它就是您一直在寻找的。
它的一些功能包括:
屏幕截图、截屏视频和下载:
http://eskapism.se/code-playground/cms-tree-page -查看/
CMS Tree Page View is a plugin that I've created and I think it's what you've been looking for.
Some of it's features are:
Screenshots, a screencast and download:
http://eskapism.se/code-playground/cms-tree-page-view/
如果我明白你想要做什么,这在 WordPress 核心中是支持的,因为页面可以有子页面等等。
有关页面组织的更多信息,请访问以下链接:
http://codex.wordpress.org/Pages#Organizing_Your_Pages< /a>
If I understand what you are trying to do, this is supported in wordpress core since the page is able to have a subpages and so on.
More info about pages organization on the following link:
http://codex.wordpress.org/Pages#Organizing_Your_Pages
也许 WordPress › pageMash >页面管理 « WordPress 插件?
Maybe WordPress › pageMash > Page Management « WordPress Plugins?
试试这个:
我的样式表类是:
我将制作一个插件来促进这个解决方案,因为我已经需要它很长一段时间了。
特别感谢这篇文章:http://wordpress.org/support/topic/list -only-page-siblings 让我从顶部开始。分页,我补充道。另外,还将研究要显示多少页面等...享受修改它的乐趣。
哦,顺便说一句,将此代码放在您的页面模板文件中,以便它在页面上运行。
Try this:
My stylesheet classes are:
I'll be making a plugin to facilitate this solution since I've had the need for it for quite some time now.
Special thanks to this post: http://wordpress.org/support/topic/list-only-page-siblings which got me started on the top part. The pagination, I added. Also, will be working on how many pages to show, etc... Enjoy modifying it.
Oh, BTW, place this code above in your Page Template file for it to work on pages.