Title: How to customize with PHP
Last modified: November 28, 2023

---

# How to customize with PHP

 *  Resolved [rafaelblacksmith](https://wordpress.org/support/users/rafaelblacksmith/)
 * (@rafaelblacksmith)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/how-to-customize-with-php/)
 * Hello,
 * I would like to know if there are any ways to customize the template, queries,
   etc with PHP.
 * For example, is there a base file we can use as template for home page of the“
   docs”, “category” and “single” that loads all the options already and then I 
   could customize on top of the PHP inside my theme?
 * We also want to implement a user role restriction for each single file, not just
   the category. Is there any way to do this with plugin?
 * Thank you in advance.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Support [Zeba Afia Shama](https://wordpress.org/support/users/zebaafiashama/)
 * (@zebaafiashama)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/how-to-customize-with-php/#post-17238654)
 * Hello @[rafaelblacksmith](https://wordpress.org/support/users/rafaelblacksmith/)
   
   I hope you are doing well.I have forwarded your query to our development team.
   Please give us some time to get an answer from the dev team. I’ll give you an
   update on that once the dev team informs me.Thank you for your patience.
 *  Plugin Support [Zeba Afia Shama](https://wordpress.org/support/users/zebaafiashama/)
 * (@zebaafiashama)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/how-to-customize-with-php/#post-17243514)
 * Hello @[rafaelblacksmith](https://wordpress.org/support/users/rafaelblacksmith/)
 * I hope you are doing well.
 * I’m sorry to inform you that currently, there is no simple way to customize the
   BetterDocs template from your theme. The plugin does not provide a base file 
   that can be used as a template for the home page of the “docs”, “category”, and“
   single” that loads all the options for further customization with PHP inside 
   your theme.
 * Regarding your question about implementing user role restrictions for each single
   file, unfortunately, this feature is not available in BetterDocs. The plugin 
   currently only supports user role restrictions at the category level.
 * I understand that these limitations might not align with your specific needs,
   and I apologize for any inconvenience this may cause. Your feedback is valuable
   to us, and I’ve noted your suggestions for potential future enhancements to the
   plugin.
 * If you have any further questions or need additional assistance, please don’t
   hesitate to let me know.
 * Thank You
 *  Plugin Support [Zeba Afia Shama](https://wordpress.org/support/users/zebaafiashama/)
 * (@zebaafiashama)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/how-to-customize-with-php/#post-17249876)
 * Hello again @[rafaelblacksmith](https://wordpress.org/support/users/rafaelblacksmith/)
 * I hope you are doing well.
 * Regarding your issue, we still haven’t heard back from you. So, I am assuming
   you don’t have any feedback for us. I am resolving this topic.
 * Have a nice day!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘How to customize with PHP’ is closed to new replies.

 * ![](https://ps.w.org/betterdocs/assets/icon-256x256.png?rev=2953105)
 * [BetterDocs – AI Documentation, Knowledge Base, Docs, FAQ with Chatbot](https://wordpress.org/plugins/betterdocs/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/betterdocs/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/betterdocs/)
 * [Active Topics](https://wordpress.org/support/plugin/betterdocs/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/betterdocs/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/betterdocs/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Zeba Afia Shama](https://wordpress.org/support/users/zebaafiashama/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/how-to-customize-with-php/#post-17249876)
 * Status: resolved