Michael Onegin
asked 9 years ago

Hi! Great plugin! Thank you for developing it.

The only problem I have is plugin’s strange behavior on a single question page.
I have plugin installed here: http://weheart.moscow/ask/
And here’s a single question: http://weheart.moscow/question/8-hour-layover-need-visa/
As you see on my second link top menu is broken.
Can’t figure out how to fix it.

3 Answers
DominicStaff
answered 9 years ago

Please send me username & password of your site (via private answer) for further checking.
Regards,

Allen
answered 9 years ago

@Michael : well i think it’s not DWQA problem , it’s from plug-in "PBK Mega Menu for WordPress" you use to build the wordpress menu, the shrotcode of that plugin won’t work , maybe there’s conflict between 2 plug-in. Glad

onegin
replied 9 years ago

I am aware it’s a two plugins conflict. The thing is that PBK’s shortcodes are broken only in one single question page. New question page and list of questions page look fine.

dominic Staff
replied 9 years ago

Firstly, you can change the permission of the file (via FTP). You need to make this file writable before you can save your changes. See the Codex for more information.
Regards,

onegin
replied 9 years ago

Dominic, what changes are you talking about?

dominic Staff
replied 9 years ago
onegin
replied 9 years ago

Dominic, you want me to change the permission of what files exactly? You need them to be changed so you can edit them and fix the problem or what?
I can also give you FTP login/pass

dominic Staff
replied 9 years ago

Please send me your FTP, I will check and help you change permission & resolve this issue.

onegin
replied 9 years ago

Dominic, just added private answer with ftp login&pass. Thank you.

onegin
replied 9 years ago

Dominic, I just updated the plugin and all changes disappeared. I am really sorry, could you do the changes again? I will backup everything this time.

Sorry again.

Allen
answered 9 years ago

Hi Michael : to resolve this problem you can open file : wp-plugin\dw-question-answer\inc\template-funtions.php.
Go to line 846 , remove or comment the code : $this->remove_all_filters( 'the_content' );

That is the main reason , because at the single page , this function will remove all page filter so the shortcode of PBK mega menu won’t work. This function use to make sure that the "single-answer" section will not be override by other filter , the layout won’t broke.

onegin
replied 9 years ago

Great! Works! Thank you!

Powered by DW Question & Answer Pro