Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+3 votes
274 views
in Q2A Core by
edited by

Hello, I have two questions:

1- How can I make the comment box on the answers always visible without having to press the comment button.

2- How do I hide the comment button on the questions (Answered)

1 Answer

0 votes
by
selected by
 
Best answer

Hi, for the first question, the solution is Ajax Comment Form v1.01b

I have found the answer for the second question 

To Hide the comment button on the questions:

Follow these steps:

1. Edit file qa-theme/<your-theme>/qa-theme.php

2. Add or merge the initialize() function below:

public function initialize() {

    parent::initialize();

    if (!qa_is_logged_in() && $this->template === 'question' && isset($this->content['q_view']['form']['buttons']['comment']))

        unset($this->content['q_view']['form']['buttons']['comment']);

}

Thanks for @pupi1985 he gives me the answer in another answer

Hide answer button

...