Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1219837
    trendingtips
    Participant

    Hello!

    I’ve been trying to edit the comments.php file in my editor to push the “Leave a comment” box above the comment feed on posts but it won’t work for me. Please advise.

    Here’s what it looks like right now as default:
    <?php x_get_view( x_get_stack(), ‘wp’, ‘comments’ ); ?>

    #1219969
    Jade
    Moderator

    Hi there,

    Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    #1222359
    trendingtips
    Participant

    Not a problem! The url is http://trending.tips

    #1222543
    Nabeel A
    Moderator

    Hi again,

    Thank you for providing the URL. Please add the following jQuery script in your Customizer via Appearance > Customize > Custom > Edit Global Javascript

    (function($) {
       $('.comment-respond').insertBefore('.x-comments-list');
    })(jQuery);

    Don’t forget to clear your browser’s cache after adding the code. Let us know how this goes!

    #1223272
    trendingtips
    Participant

    Hi Nabeel,

    Thank you so much, it worked perfectly! 🙂

    #1223333
    Prasant Rai
    Moderator

    You are most welcome. 🙂

  • <script> jQuery(function($){ $("#no-reply-1219837 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>