I'm sort of new to this but have been learning about code editing in the past several weeks to modify a free theme I found (GloriousDay by WordPress Theme Shop). I am trying to update the comment section as described here but it is not working and the explanation is hard to follow.
Problems started when I tried to edit the loop. The first error was "syntax error, unexpected T_ELSE". I looked at the old code and noticed the if statement began with <?php so I added it at the beginning. The next error was "unexpected '<' whenever any thing appears after the final second "endif".
Also, my sidebar disappeared on the single post page.