DesignWall
Forum Replies Created
-
Forum: Plugins
In reply to: [DW Question & Answer] Changing text in serch boxHi,
To change the following text “What do you want to know?” you can open the
Template.php file in the inc folder and find the line 78, or you can change this text in the .po file.
Regards,
Dominic From DesignWall Team.Forum: Plugins
In reply to: [DW Question & Answer] Possible to remove filter and change drop down boxHi,
You can add the following code to the style.css file to remove the filter section:.dwqa-question-filter a { display: none; } .dwqa-question-filter span { display: none; } .dwqa-question-filter { margin-bottom: 60px; }Or go to your theme folder and create a new folder , named it “dwqa-templates” .
Inside your new folder, create a new file: “archive-question-filter.php”.
Now, open up the new file in notepad or any code editor, and copy/paste the code at this link:
URL: http://snippi.com/s/3gsom9u
You can remove the line 14 to line 30 and line 34.Hope this helps!
Dominic from DesignWall team.Forum: Plugins
In reply to: [DW Question & Answer] Anonymous UserHi,
you can open file wp-content/plugins/dwqa-question-answer/inc/Handle.php and add following code under line 293:if ( !$category ) { dwqa_add_notice( __( 'You must choose category.', 'dwqa' ), 'error' ); return false; } if ( !is_user_logged_in() && empty( $_POST['_dwqa_anonymous_email'] ) && !is_email( $_POST['_dwqa_anonymous_email'] ) ) { dwqa_add_notice( __( 'You must enter a valid email.' ), 'error' ); return false; } if ( !is_user_logged_in() && empty( $_POST['_dwqa_anonymous_name'] ) && !is_email( $_POST['_dwqa_anonymous_name'] ) ) { dwqa_add_notice( __( 'You must enter your name.' ), 'error' ); return false; } if ( !$tags ) { dwqa_add_notice( __( 'You must type tags.', 'dwqa' ), 'error' ); return false; } if ( !$content ) { dwqa_add_notice( __( 'You must type detail question.', 'dwqa' ), 'error' ); return false; }Regards,
Dominic from DesignWall Team.Forum: Plugins
In reply to: [DW Question & Answer] Show descriptions of categories and tagsHi,
To resolve this issue, you can open the archive-question.php file then add the following code under line 9.
<div class="categories-description"><?php echo category_description(); ?></div>
Regards,
Dominic from DesignWall Team.Hi,
– When you submitted an answer to a question and it showing ‘0 answers’, please deactivate all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one and let us know if you find the problematic plugin(s). Maybe there is a conflict in plugins.– To resolve the time issue in your site you can do the following solution:
About list question page, you can open the content-question.php file, find line 17.
Replace it with the following code:$time = human_time_diff( get_post_time( 'U' ), current_time('timestamp'));you can open the content-single-question.php file and find the line 19.
Replace the following code:<?php printf( __( '<span>%s%s %s asked %s ago</span>', 'dwqa' ), dwqa_get_author_link( $user_id ), get_avatar( $user_id, 48 ), dwqa_get_author(), dwqa_print_user_badge( $user_id ), human_time_diff( get_post_time( 'U' ) ) ) ?>With new code:
<?php printf( __( '<span>%s%s %s asked %s ago</span>', 'dwqa' ), dwqa_get_author_link( $user_id ), get_avatar( $user_id, 48 ), dwqa_get_author(), dwqa_print_user_badge( $user_id ), human_time_diff( get_post_time( 'U' ), current_time('timestamp') ) ) ?>Regards,
Dominic from DesignWall Team.Forum: Plugins
In reply to: [DW Question & Answer] "Best Answer" icon issue on mobileHi,
Please accept my apology for the delay in getting back to you. I have checked on our demo and it still displays on my mobile. I think some style of your site conflict with our plugin. Please send me your site URL, I will check and help you resolve it now.
Regards,
Dominic from DesignWall Team.Hi,
At the moment, our plugin does not support this feature.
Regards,
Dominic From DesignWall Team.Forum: Plugins
In reply to: [DW Question & Answer] Remove Notice To Upgrade To Pro In Admin Dashboard@cybmeta,
We have updated and changed the option to turn off the notice. Right now, it works fine.Forum: Plugins
In reply to: [DW Question & Answer] How can I send you full translated file po and mo ?Sorry for the trouble that you encounter. Your language files have been added into DW Question & Answer 1.4.3.1
Regards,
Kevin from DesignWall.Forum: Plugins
In reply to: [DW Question & Answer] Error anytime installing another theme or pluginSorry for the trouble that you encounter. This issue has been fixed in DW Question & Answer 1.4.3.1
Regards,
Kevin from DesignWall.Forum: Plugins
In reply to: [DW Question & Answer] Answer verify by administratorI will check and fix this issue in an upcoming version of DW Question & Answer.
Regards,
Kevin from DesignWall.Forum: Plugins
In reply to: [DW Question & Answer] Commenting users end up as followers multiple timesHi,
We will fix this issue in an upcoming version of DW Question & Answer.
Regards,
Kevin from DesignWall.Forum: Plugins
In reply to: [DW Question & Answer] Require an email for anonymous questionsHi you can open file
wp-content/plugins/dwqa-question-answer/inc/Handle.phpand add following code from line 293:if ( !$category ) {
dwqa_add_notice( __( ‘You must choose category.’, ‘dwqa’ ), ‘error’ );
return false;
}if ( !is_user_logged_in() && empty( $_POST[‘_dwqa_anonymous_email’] ) && !is_email( $_POST[‘_dwqa_anonymous_email’] ) ) {
dwqa_add_notice( __( ‘You must enter a valid email.’ ), ‘error’ );
return false;
}Regards,
Kevin from DesignWall.Forum: Plugins
In reply to: [DW Question & Answer] Registration link on submit question pageYou can add login / register link by override answers.php template file.
1. Copy /wp-content/plugins/dw-questions-answer/templates/answers.php to /wp-content/themes/your-theme/dwqa-templates/answers.php
2. Replace code of answers.php file with http://snippi.com/s/l2fhf53
Forum: Plugins
In reply to: [DW Question & Answer] 1.4.0 Breaks EverythingOnly content inside template files was changed. You still can override via the same way of DWQA 1.3
Regards,
Jackie