I created a theme for my blog and I’m stuck at one thing, which is that after a user submits a comment, he’s not taken back to the post, he’s only shown the comments of that post which ruins the layout of the blog. Is there any code I can add in functions.php or change the code in comments.php to prevent this from happening?
If you want to see the comments.php code, here it is:
(@aadilpitafi)
15 years, 10 months ago
I created a theme for my blog and I’m stuck at one thing, which is that after a user submits a comment, he’s not taken back to the post, he’s only shown the comments of that post which ruins the layout of the blog. Is there any code I can add in functions.php or change the code in comments.php to prevent this from happening?
If you want to see the comments.php code, here it is:
[Code moderated as per the Forum Rules. Please use the pastebin]