Support » Plugin: BuddyPress Docs » Overriding and customizing templates

  • Resolved amoosims


    Hello, I will like to know if it is possible to customize the plugin template via child theme without editing the original template files and how to add translation files. Also, I will like to know how to change the word Doc as it appears on the browser tab when on the archive page.


Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author David Cavins


    Sure, copy the templates you wish to change from /plugins/buddypress-docs/templates/docs/ and place them in your-theme/docs/ keeping the name and file structure the same (if the file is in the single folder, make sure it’s inside a single folder in your theme’s docs folder, too).

    I’m not sure I understand your second question. Do you mean changing the <title> in the page’s <head>? If so, it looks like you can do that using this WP hook:



    Thread Starter amoosims


    Thank you for the quick response, glad to know I can fully customize. You are right about the second question too, however I am not sure how to change the title tag e.g from Docs to ‘Publications’

    Also how to add translation files

    Plugin Author David Cavins


    WordPress filters all work something like this. You add a function in your theme’s functions.php file, like

    add_filter( 'wp_title', function( $title ) {
      // Some sort of conditional for when to change the filtered variable. 
      if ( is_post_type_archive( 'bp_doc' ) ) {
        $title = 'Publications';
      return $title;
    } );

    If you want to do a lot of customization, you’ll have to learn how WP works. 🙂

    For more info about how to customize labels, read this:

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.