简体   繁体   English

WordPress页面动态内容

[英]Wordpress page dynamic content

i'm hoping someone can assist, with setting up a dynamic page in wordpress 我希望有人可以提供帮助,在Wordpress中设置动态页面

We currently have thousands of images but i don't want these setup as posts, tho i still want them within the wordpress site, so I'm wondering is it possible to create a page domain.com/newpage and if accessed via domain.com/newpage?funny it would display the image funny.jpg from another directory on the server 目前,我们有成千上万张图片,但是我不希望这些设置作为帖子,但我仍希望它们在wordpress网站内,所以我想知道是否可以创建一个页面domain.com/newpage,如果通过domain访问。 com / newpage?funny,它将显示服务器上另一个目录中的图像funny.jpg

Obviously id need to setup a custom page template which i can do but im struggling with the dynamic code bit 显然,id需要设置一个自定义页面模板,我可以这样做,但我在动态代码位方面遇到了麻烦

any help is appreciated 任何帮助表示赞赏

You can add images under Media in Admin. 您可以在“管理”中的“ 媒体”下添加图像。 They would not be linked to a post but they can be used throughout the site. 它们不会链接到帖子,但可以在整个站点中使用。

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

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