Mikal
asked 2 weeks ago

Hi there,
We’re interested in your plugin but were wondering if its possible to turn off the “tags” feature. We don’t want users to be able to tag their questions when they submit them. Is this possible?

1 Answers
DominicStaff
answered 2 weeks ago

You can create the dwqa-templates/styles/default folder in your theme folder then copy the  question-submit-form.php file from the plugins/dw-question-answer-pro/templates/styles/default/ paste into the default folder in your theme that you have created.
Then find the line 57 remove the following code:

<p>
            <label for="question-tag"><?php _e( 'Tag', 'dwqa' ) ?></label>
            <?php $tags = isset( $_POST['question-tag'] ) ? $_POST['question-tag'] : ''; ?>
            <input type="text" class="dwqa-question-tags" name="question-tag" value="<?php echo esc_attr( $tags ) ?>" >
        </p>
Powered by DW Question & Answer Pro