WP Courseware custom post templates

WP Courseware just got better!

Now you have the ability to create custom templates for your course units.



  1. frederic on July 26, 2014 at 6:30 pm


    I am a client and I would like to get a copy of single-unit.php file that you are displaying in this youtube video above. I need to get the template to get rid of the side bar.

    Also can you tell me if there is a way to upload the .php file without a FTP sofware?

    Thank you in advance

    • Ben on July 30, 2014 at 12:55 pm

      We recommend using the single.php that came with your theme as a base. Then you can simply remove the code that displays the sidebar. Just don’t forget to change the header.

  2. Anthony Garcia on July 7, 2016 at 6:44 pm

    This is a great feature! Is there anywhere on the internet where people have posted a repository of custom made templates to share? It’d be really cool if there was something like that. Similar to how people share Divi layouts.

    • Ben Arellano on July 10, 2016 at 3:35 pm

      Thank you for your kind words Anthony. I really wish there was a way for us to standardize the templates, but the reality is that there are thousands of themes, each being different. Currently there isn’t a repository of templates however, it’s a pretty cool idea. Perhaps we will consider something like this. Anyone else interested in a repository of templates?

      • easy 2 success international Ltd on October 22, 2017 at 10:41 pm

        Yes! Repository would be cool.

      • Ruturaaj on January 4, 2018 at 9:10 am

        Yes… Repository will be great. Not just that, have your own market place where WordPress programmers like me will be able to showcase/sell the themes utilizing WP Courseware plugin. This will also offer a good start-point for those who wish to start their own E-Learning venture using WP Courseware.

        • Luke Bong on June 1, 2018 at 1:37 am

          Hi Ruturaaj,

          Do you customise WP Courseware templates? I’d love to find out more because I need that for my website.


          • Ben Arellano on June 11, 2018 at 4:14 pm

            Hi Luke,
            Yes, currently there are ways to customize templates for certain WP Courseware elements. At some point we will have templates for all content, but for now it’s a work in progress. Here is an article I create on how to create and/or customize templates for WP Courseware.

  3. Philip I. on October 27, 2019 at 4:36 pm

    Is there any way to create a template that is used as the default for all units? I would prefer to not have to choose a template from within the unit page editor for every single unit.

    Also when using Elementor which now has a fairly extensive theme builder, one can create and assign a single post template to “courses” (which works, but only when the course is free otherwise wp content is hidden) but we can’t define a single Elementor template for units (Courses show up in the list of post-type conditions but not Units, even tried “child of courses” but doesn’t work either)

    This forces us to scrape the Elementor template html and manually create a template loop from it and then for each unit we have to go back in and edit each one to change the template to our custom one. When there are many courses w/ many units, this is a lot of work.

    If not, no worries, I’ll probably figure out a way to do a find/replace in the db meta for all units but they are likely serialized adding even more fun to the task.

    Glad you guys keep polishing this up and adding more functionality. Thanks for considering our ideas that help us be more efficient.

    • Ben Arellano on April 16, 2020 at 1:40 pm

      Hey Philip,
      Yes, you can certainly create a template for all units. The best way to do this is simply copy the theme’s single.php file and then rename it to single-wpcw_unit.php. Then you can modify the unit template and it will automatically apply to all units without having to configure each one in particular.

  4. Ray Phoon on April 13, 2020 at 11:42 pm

    Hi Ben,
    I wanted to customize the courses.php template, but after editing it, i uploaded to themes/DIvi/wp-courseware/courses.php, it does not reflect my changes. I need to know what did i do wrong?
    please advise.

    • Ben Arellano on April 16, 2020 at 1:03 pm

      Hi there,
      Thank you for the question. If you are using Divi + child theme, make sure that you add the “wp-courseware” folder there instead. Also be aware that there are other templates for the archive page found in the /templates/course/ folder.

Leave a Comment

Would you like to test drive WP Courseware for Free?

No credit card required