admin管理员组文章数量:1122832
i'm making a custom Wordpress template and I've made this HTML code for single comment template:
<div class="comment" id="1">
<div class="useravatar" style="background-image: url('[LINK]')"></div>
<div class="textbox">
<div class="dateauthor">[AUTHOR NAME] <span class="date">[DATE]</span></div>
<div class="text">
[COMMENT TEXT]
</div>
</div>
</div>
But i'm getting only headache to find out how to make a loop o something else where I can use this.
Is there any good example for this cases?
i'm making a custom Wordpress template and I've made this HTML code for single comment template:
<div class="comment" id="1">
<div class="useravatar" style="background-image: url('[LINK]')"></div>
<div class="textbox">
<div class="dateauthor">[AUTHOR NAME] <span class="date">[DATE]</span></div>
<div class="text">
[COMMENT TEXT]
</div>
</div>
</div>
But i'm getting only headache to find out how to make a loop o something else where I can use this.
Is there any good example for this cases?
Share Improve this question asked Sep 4, 2015 at 15:10 Mattia Del FrancoMattia Del Franco 1255 bronze badges1 Answer
Reset to default 0You have just created the template. You still need to create the entire function of the form. It would be easier to just copy a comment.php and then edit it out with some CSS to get it to look like what you want it to. The link below is for a default comment.php that should work for you. https://gist.github.com/mpsparrow/51965f9eedba5d5e7492
本文标签: loopMake custom Wordpress comments list
版权声明:本文标题:loop - Make custom Wordpress comments list 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736282587a1926688.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论