How to show comment box on front page under Blog

Home Forums WordPress Themes – Premium Lavish Pro How to show comment box on front page under Blog

This topic contains 1 reply, has 2 voices, and was last updated by  Bidur 2 years ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #49700

    Alison Schuster
    Participant

    Can you help me. I would like for my readers to see the comment box directly below the Blog Posts on the front page without having to click on the blog. How do I do this. Thank you.

    #49704

    Bidur
    Moderator

    Hello Alison Schuster,

    The changes you are trying to make is a customization work. Custom changes need to be made inside the theme file.

    But if you are technically sound in wordpress and understand the theme files properly you can take the following reference or else it may mess up your theme;

    1. Go to your index.php file and make changes.
    2. You can simply add < ?php comment_form(); ?> inside index.php file within your particular blog style,
    i.e just below the function get_template_part(). for instance;

    get_template_part( 'content', get_post_format() );
    comment_form();

    Note: 1. Be sure to make changes in the child theme so that the contents won’t lost upon theme updates.
    2. Apply front page display setting correctly under settings >> Reading >> Front page displays.

    Regards,
    Bidur

    • This reply was modified 2 years ago by  Bidur.
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.