Rajiv V
asked 10 years ago

Hi,
I am using the u-design theme (http://themeforest.net/item/udesign-wordpress-theme/full_screen_preview/253220) for my website. I am using your plugin to power a Q&A section on my site
 
I am facing the following problems.

  1. I want to have a margin on left and right for all the screens (Display questions, ask question and show a single question). I could not find any place to make any changes in the setting. Not sure, If I need to change the code. Please guide. Please have a look at the website for the display issues.
  2. Can someone share the code and name of the plugin for social login/registration. When user clicks on ask a question, he should be shown a popup window having the options of registering or login. I guess for pop-up there would be another plugin.
  3. I want to have the social media share options below the question and answer or comment. The reader should be able to share the whole question trail on the social media platforms. I could show it in the user profile box, however I would ideally like to have it below the question/answer/comments.
    Thanks
     
2 Answers
DominicStaff
answered 10 years ago

1. Please make a private answer then send me username & password for further checking.

2.  You can use the Social Login plugin. Please find the plugin here: http://wordpress.org/plugins/loginradius-for-wordpress/installation/
 
3. To show the social sharing (facebook, etc) for a Question in Q&A, please do as following.
Step1: Download and unzip the plugin twitter-facebook-google-plusone-share.zip.
Please find the plugin here: http://wordpress.org/plugins/twitter-facebook-google-plusone-share/
Step2: Copy and paste the unzipped folder into your Plugins directory under wordpress installation. (wp-content/plugins)
Step3: Activate the plugin through the plugin window in the admin panel.
Step4: add the following code to the single-question.php file in the folder path “wp-content\plugins\dw-question-answer\inc\templates”

 <?php if(function_exists('kc_add_social_share')) kc_add_social_share(); ?>

See the screenshot:
 
For Example: you can add this code to the line 20 or line 25 of the single-question.php file
See the screenshot:
 
Step5: Configure the settings through Dashboard > Settings > TWG Social Share.

Hope this helps!

Rajiv V
replied 10 years ago

Hi Dominic, Did you get a chance to explore and find out a solution to the display issues ? Thanks in advance

DominicStaff
answered 10 years ago

To resolve the Layout issue in your site when you install DW Q&A plugin, You can add the following code to the style.css file

 [class*="dwqa-question"] #content {
margin-left: auto;
margin-right: auto;
max-width: 960px;
}
@media screen and (max-width: 719px) and (min-width: 480px) {
[class*="dwqa-question"] #content {
max-width: 480px;
}
}
@media screen and (max-width: 480px) {
[class*="dwqa-question"] #content {
max-width: 320px;
}
}

Hope this helps !

Vitaliy Shibalkov
replied 10 years ago

This method does not help. Help, how to fix it? How to change width

? Sorry for my bad english(
Dominic Staff
replied 10 years ago

This has fixed the integration problem. You can follow this guide here http://cmspioneer.com/designwall/guide/dw-question-answer-plugin/#Style_integration
If you still face the issue, Please send me your FTP (via private answer). We will help you resolve this issue.

Powered by DW Question & Answer Pro