【问题标题】:how to display selcted photo id in url as pid=123 in nextgen gallery in wordpress如何在wordpress的nextgen画廊中将url中的选定照片ID显示为pid = 123
【发布时间】:2015-01-22 16:53:53
【问题描述】:

我在我的 wordpress 网站中使用 nextgen 画廊插件来显示画廊。

目前我是这样的

www.abc.com/photos/venky-photo-gallery-1097.html/nggallery/image/venky3

我想要这样

 http://www.chitramala.in/photos/varun-tej-photos-178077.html?pid=15453

如何实现这种格式。请帮帮我

【问题讨论】:

    标签: php wordpress nextgen-gallery


    【解决方案1】:

    为此,您必须创建一个模板并调用该模板中的所有照片。在这里您可以获取 id 并将其传递为

    http://www.chitramala.in/photos/varun-tej-photos-178077.html?pid=$var['id']

    然后像 $_GET['pid'] 那样得到它

    【讨论】:

    • nextgen画廊插件有设置吗?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-07-20
    • 1970-01-01
    • 2013-01-17
    相关资源
    最近更新 更多