0

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?

1 Answer 1

0

You 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.