Benoit Pereira da Silva
asked 10 years ago

The questions are covering the sidebar. Is focus DW Question ready ?  What can i do. http://walkingworking.com/ I did not found how to fix that without hacking ?  

5 Answers
DominicStaff
answered 10 years ago

To add the sidebar to the the Questions page, you can find here for the document guide on how to create 2 file: content-start-wrapper.php, content-end-wrapper.php.
URL: http://designwall.com/guide/dw-question-answer-plugin/#Style_integration
– Please add the following code to the content-start-wrapper.php file.

<?php
/**
 * The Template for displaying all single posts.
 */
get_header(); ?>

<div id=”primary” class=”site-content span9″>
<div id=”single_top_content” class=”clearfix”></div>
<?php if( is_page() || is_archive() ) { ?>
<header class=”entry-header”>
<h1 class=”entry-title”><?php _e( ‘Question & Answer’, ‘dw-focus’ ); ?></h1>
</header>
<?php } ?>
<div class=”entry-content”>

– Please add the following code to the content-end-wrapper.php file.

</div>
</div>
</div>
<?php get_sidebar(); ?>

Regards,

Benoit Pereira da Silva
replied 10 years ago

Sorry but, I m native an IOS and Mac OS X native developer and completly new to WordPress theming and your explanation are not enough for me
I ve applied your hack on my child theme.
How to make it fluid ?

B

PS :By default why not to make your theme ready to use with your own plugin ?
I ve bought two premium, thinking they were QAplugin ready.

DominicStaff
answered 10 years ago

Sorry about the previous code that I sent you. Please try the following solution to archive it
– Please add the following code to the content-start-wrapper.php file.

<?php
/**
 * The Template for displaying all single posts.
 */
get_header(); ?>

    <div id="primary" class="site-content span9">
      <div id="single_top_content" class="clearfix">
        <?php if( is_page() || is_archive() ) { ?>
        <header class="entry-header">
            <h1 class="entry-title"><?php _e( 'Question & Answer', 'dw-focus' ); ?></h1>
        </header>
        <?php } ?>
          <div class="entry-content"> 

– Please add the following code to the content-end-wrapper.php file.

</div>
</div>
</div>
<?php get_sidebar(); ?>

   – Also, most of our themes are compatible with the plugin. With DW Focus, after installing successfully the plugin, only sidebar does not allow to display on the question page. 🙂
Regards,

Benoit Pereira da Silva
replied 10 years ago

Applyed, it does not work for me… Or i m missing something.
Could you check ?
http://walkingworking.com/questions/
I ve sent to your support team two days ago the id + password.

Dominic Staff
replied 10 years ago

you can send me your username & password of your site (via private answer). I don’t remember your information have provided anywhere.

Benoit Pereira da Silva
answered 10 years ago

Do you still encounter FTP issues ?  I can set up a command line SSH account if you prefer. 

Benoit Pereira da Silva
answered 10 years ago

Do you still encounter FTP issues ?  I can set up a command line SSH account if you prefer. 

Dominic Staff
replied 10 years ago

Yes, I still encounter FTP issues. I think I should try with SSH account.

Benoit Pereira da Silva
replied 10 years ago

OK let’s try :

ssh [email protected]
pass : UmF-dyr-cUr-2aw

Benoit Pereira da Silva
replied 10 years ago

Did you succeed ?

DominicStaff
answered 10 years ago

Right now, you can check your site, I have helped you resolve this issue.

Benoit Pereira da Silva
replied 10 years ago

Thanks a lot indeed Dominic.

1# So what was the problem ? How did you fix it ?

2# Still have 2 little I18N issues Some token are not translated : “Question & Answer” or for example “Choose an user name” http://walkingworking.com/

Benoit Pereira da Silva
replied 10 years ago

I gonna change the SSH credentials for security purposes

Dominic Staff
replied 10 years ago

– This issue is due you have add two file : content-end-wrapper.php & content-start-wrapper.php outside the dwqa-templates folder.
– To translate the “Question & Answer” you can open the content-start-wrapper.php file. Find the following line code:

– To translate “Choose an user name”, you can open the template-functions.php file in the folder path “wp-content\plugins\dw-question-answer\inc” Find the line 164.

Powered by DW Question & Answer Pro