• Resolved janew

    (@janew)


    I don’t like the way the comments area is laid out. Sure I can style some of it in css, but there are things that can’t be done (easily) with css.
    Just as a simple for instance, I want the comment form on top and the posted comments below. Other things, too, but maybe you get the idea?

    As far as I can tell, there is a file in the theme’s classes folder and a file in the wp-includes folder that are used to build the comments area. What I can’t figure out is how to permanently edit those. I am, of course, using a child theme, but copying that class file into my child folder doesn’t work. Nor does copying it to a classes folder in my child folder.

    For now, I’ve just edited the file in the parent theme. Not ideal, but it’ll do until I can find out how to have it in my child folder.

    According to https://developer.www.ads-software.com/themes/template-files-section/partial-and-miscellaneous-template-files/comment-template/#alternative-comment-template I can call my own comments file. OK, so I copied comment-template.php to my child folder with a new name, but when I do that, I get an error that something has already been called. So I guess it’s loading both the comment-template in wp-includes and then MyOwn-template, which is almost the same … which means I either need a way to *not* load the comment-template from wp-includes, or I need to know what stuff to delete from MyOwn-template, to just edit the basic layout and other things. (I also want to set different header tags and other stuff like that, so I need the php that it’s calling … or some of it, anyway, I guess.)

    I don’t know how clear that is. Hopefully someone can decipher my needs and explain what I need to do.

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Need to renovate comments area’ is closed to new replies.