WordPress,帖子作为内容更改的导航

发布于 2025-01-07 10:13:47 字数 166 浏览 6 评论 0原文

有没有办法显示这样的帖子:链接

(转到“Om videomarathon”,然后单击“陪审团” “

我需要将帖子显示为导航,仅更改内容并修复导航。(如本页所示) 谢谢。

is there a way to show the posts like this: link

(go to "Om videomarathon" and then click "jury"

I need to show the posts as a navigation with the only the content changing and the navigation being fixed. (like on this page)
Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

他不在意 2025-01-14 10:13:47

只要您在帖子本身中有适当的标记,任何形式的“选项卡式”JavaScript 都可以做到这一点。您要做的就是隐藏除您想要查看的年份之外的所有内容。

jQuery 将是一种相当简单的实现方法(无论如何,您可能会在页面上加载 jQuery)。 jQuery 选项卡演示

Any form of "tabbed" javascript would do that providing you have appropriate markup in the post itself. All you would be doing is hiding everything except the year you want to view.

jQuery would be one fairly easy way of implementing it (you may be loading jQuery on the page anyway). jQuery Tabs Demo

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文