我正在开发一个插件,该插件在安装时会创建两个页面,并为其分配模板。现在,我想通过另一页面(模板)上的表单来调用一个页面(模板)。我尝试了一些代码片段,但没有反应。
这是将在提交时调用另一页的表格
<form action="">
<input type="text" class="form-control input-lg" placeholder="Movie Name" />
<span class="input-group-btn">
<button class="btn btn-info btn-lg" type="submit">
<i class="glyphicon glyphicon-search"></i>
</button>
</span>
</form>
这是提交时将被调用的页面
<div class="container">
<div class="row">
<div class="col-lg-12">
<h4 class="post-title"><strong>Les Miserables</strong></h4>
</div>
</div>
<div class="row post-content">
<div class="col-lg-12">
<ul class="mail-list">
<li>
<a href="">
<span class="sub-heading">Action / Drama / History / Musical / Romance / War</span>
<span class="subtopic_description">IMDb Rating 7.6</span>
</a>
</li>
<li>
<a href="">
<span class="sub-heading">Synopsis</span>
<span class="subtopic_description"> Jean Valjean, known as Prisoner 24601, is released from prison and breaks parole
to create a new life for himself while evading the grip of the persistent Inspector Javert.
Set in post-revolutionary France, the story reaches resolution against the background of the
June Rebellion.</span>
</a>
</li>
</ul>
</div>
</div>
</div>
我不知道该怎么做,因为WordPress是通用的,任何人都可能使用此插件,因此,如果我将页面的手动链接放到了一起,那么每个人都会被重定向到我的页面,那么我该怎么做? >