2018-07-18 21:14
浏览 75


Actually, I am using advance custom field plugin and I have made a repeater with three fields language, release and download (file type).

So now I have made a custom template for every post and retrieved repeater fields on it so I want that when user will click on download button then it will redirect on another page with a custom URL with post name and language both.

I need post name and language into that link then on final page

I will give the download option. Below are pages link of the post


I have also set download page on custom page.

Let me know the right solution for it.

图片转代码服务由CSDN问答提供 功能建议

实际上,我正在使用高级自定义字段插件,我已经制作了一个具有三个字段语言,发布和下载的转发器( 文件类型)。

所以现在我为每个帖子和检索到的转发器字段制作了一个自定义模板,所以我希望当用户点击下载按钮然后它会重定向到另一个带有自定义URL的页面上 邮寄姓名和语言。


我将提供下载选项。 以下是帖子的页面链接

https://subtitlesrt.com/movie-imdb/fifty-shades-freed-2018-arabic-subtitles-download-srt-%D8%AA%D8%B1%D8%AC%D9%85%D8%A9- %D8%A7%D9%81%D9%84%D8%A7%D9%85 /



  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • douyun6399 2018-07-19 02:48

    If i were you i would follow these steps.

    1. Create a new page with name of Custom download maybe
    2. create a custom template for that page
    3. in your posts when you show repeater values, use the values like a form with GET method (maybe input types can be hidden for aesthetic) and submit the form to this new page.
    4. In this page you can get the repeater field values with form and do whatever you want.

    NOTE: i suggested GET method because you said "... it will redirect on other page with a custom url .." GET method show values in url and you can index them.

    点赞 评论

相关推荐 更多相似问题