Silvio Jesus
asked 10 years ago

Hello here.
I’m running a website with the hueman theme installed and wanted to use your awesome Q&A plugin.
After following the advice in: http://cmspioneer.com/designwall/question/how-to-solve-hueman-theme-conflicts-with-dw-question-answer/ i still come up with a bit of a snag when it comes to single question display:

Please advise.
 
Best regards,
Silvio jesus 

1 Answers
Guru
answered 10 years ago

Dear @silviojesus
I would refer you to read our guide here: http://designwall.com/guide/dw-question-answer-plugin/#Style_integration, to make our plugin integrated your WordPress.
You can open your theme page.php or single.php to see your markup and apply it for DW Question & Answer.
It would also be useful if you look at the following answer: http://designwall.com/question/setup-sidebar-in-theme/#answer-20775

Silvio Jesus
replied 10 years ago

Hi there.

Thank you for the reply.

As i walk thru the code its seems the call to the comments is wrecking havoc as it simply stops any further rendering from happening.

I guess I’ll have to do some major code-digging to make this work with the hueman theme :/ I was honestly hoping for some easy solution 😛

Guru
replied 10 years ago

Hi Silvio,

Unfortunately this is a local issue, and without access, I can’t guide you much.

Best regards,

Silvio Jesus
replied 10 years ago

Hi again.

The comments issue was and incompability with the Social Comments Plugin. Deactivated it and It’s solved now (well, quick fix, i don’t reallt need social comments).

I think I know where the problem now lies, it’s with the layout itself.

Even tough the Q&A and New Question have set pages where we can change the layout in the page editor (in hueman, or apply a page template in any other theme), with the single question template that is now an option.

Is there any way to make the single question template behave like the other two? i.e. set a page to render it?

Best Regards.

Guru
replied 10 years ago

Glad you solved your problem. You will have to change your content-start-wrapper.php file to match that of your theme.

Open up the landing page file of your theme (normally it’s page.php file in themes/[theme-name] folder) in notepad or any code editor, you can see this as a content wrapper of the webpage.

and try to replicate the wrapper.

Guru
replied 10 years ago
Silvio Jesus
replied 10 years ago

Okay, it’s a pain trying to make it work with sidebars, so i’m dropping it. Need some help on another matter regarding this one.

The “dwqa-question” custom post type is set as a single post (i.e., when the theme renders it it uses the set layout of single post pages).

Any idea how I could set the said CPT as a “page” for theme usability sake?

Guru
replied 10 years ago

Dear Silvio,

I think even if you change the custom post type to page, you will have many problems as the code is riddled with is_single() function calls which I am suspicious will give you further problems.

It would be a lot easier and future proof if you worked on the answer above. As any updates will not erase your work, which will be in the theme folder.

Regards

Silvio Jesus
replied 10 years ago

Hi again.

I’m solving it via changes to the child theme with a custom function.

Thank you for your help.

Powered by DW Question & Answer Pro