Rick Jacobson
asked 8 years ago

All of my pages are full width so when you click on Categories it’s showing the page as a normal page with sidebar. How can I tell the categories to use the full-width page?

Thanks for a great plugin.

nobita
replied 8 years ago

@Rick : you could try open dw-question-answer\inc\template-function.php, go to line 793, then make change in this line :
return dwqa_get_template( 'page.php' ); ,

change the page.php to the name of the full-with template file, and it should be include the right path to that file. Hope this help.

advandate
replied 8 years ago

This is what is on line 793: if ( isset( $wp_query->post ) ) {

Do you still want me to change that?

advandate
replied 8 years ago

I did find two places where that is. One says single.php and the other says page.php. I changed page to my themes fullwidth template page file and it didn’t change. Our site is private right now so can you give me an email address where I can PM you the URL?

advandate
replied 8 years ago

ok, I got it to work. I had put the full path to the file and the page didn’t like that. I just changed page.php to template-fullwidth.php which is what the theme uses and didn’t put the full path and it works fine now. Thanks for the heads up on that!

nobita
replied 8 years ago

Hi, so glad that you can make it. If you need any assistance , just come here to ask, we’ll be pleasure to help you.

1 Answers
DominicStaff
answered 8 years ago

Hi,
Please send me your site, I will check and help you resolve it.
Regards,

advandate
replied 8 years ago

how do I send you the URL? Don’t want to post the URL here.

dominic Staff
replied 8 years ago

Please accept my apology for the delay in getting back to you. To send me username & password of your site or URL you can use the private answer. See the following image:
http://prntscr.com/8nu7up
Regards,

Powered by DW Question & Answer Pro