0

I have a page with a few buttons, which are generated by a function and displayed through a short-code. I want to link these buttons to wp-content/plugin/nameplugin/detailedPage.php?id=blabla.

Do I need to create a new function or a new PHP page. And if I need to create a new PHP page, how do I get the header/sidebar/footer from the chosen theme of the Wordpress website?

4

1 回答 1

0

最好将 URL 查询参数传递到同一页面,并在您的简码逻辑中处理它们。即保持在一页上并根据查询参数切换输出。

于 2012-12-09T09:01:06.300 回答