asked 4 months 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
answered 4 months 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:

            <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 ) ?>" >
Powered by DW Question & Answer Pro