我在wordpress网站的主页上添加了两个文本框,我只需要显示最近的帖子标题。我应该添加哪行代码来实现这一点?
下面是我用来创建方框的代码:
<p>
<div class="zedity-editor zedity-notheme" id="zed_fbnvrcpt" style="position: relative; width: 1000px; height: 200px; overflow: hidden;">
<div class="zedity-box zedity-box-Text zedity-edited" style="position: absolute; left: 1px; top: 0px; width: 559px; height: 109px; z-index: 12; display: table; table-layout: fixed; background-color: rgba(242,242,242,1);" data-boxtype="Text">
<div class="zedity-content" style="width: 100%; height: 100%; color: black; font-size: 14px; line-height: 17px; font-family: Arial,Helvetica,sans-serif; display: table-cell; overflow: hidden;">
<p style="margin: 0px; color: black; font-size: 14px; line-height: 17px; font-family: Arial, Helvetica, sans-serif;">Latest News</p>
</div>
<div class="zedity-box zedity-box-Text zedity-edited" style="position: absolute; left: 735px; top: 0px; width: 266px; height: 103px; z-index: 14; display: table; table-layout: fixed; background-color: rgba(110,110,110,1);" data-boxtype="Text">
<div class="zedity-content" style="width: 100%; height: 100%; color: black; font-size: 14px; line-height: 17px; font-family: Arial,Helvetica,sans-serif; display: table-cell; overflow: hidden;">
<p style="margin: 0px; color: black; font-size: 14px; line-height: 17px; font-family: Arial, Helvetica, sans-serif;">Our Clients</p>
</div>
</div>
</div>
</div>
</p>