How to customize AnsPress?

4.56K viewsCore
0

What is the proper way to customize AnsPress? I wish to add/alter some functionality for the needs of my project meanwhile keeping the possibility to update the plugin in the future. What is the proper way of doing it?

0

Hello,
If you are using AskBug then using child theme will be good. You can override most of AnsPress templates by overriding from your theme. Please check FAQ for more detail on overriding.

Check this link for more info about child-theme:
https://codex.wordpress.org/Child_Themes

commented on answer

Hi Rahul, thanks for the answer! I do understand the part about templates, but what about core functionality? For example, I want to rework a bit an access control system and make it more comprehensive. Or else, I want to extend user profiles and give more functionality on them. Can you give an idea where to start from?

One more thing to add: I need a questions to be a able to have more than one best answer. Is this possible to customize without very serious alterations of the core code? Where do I start from?

For customizing users page you have to modify templates/addons/user files. Simply copy this files inside AskBug theme and edit there. There is no simple solution for having two best answers as QA system design have only one solved question.