Is not a question, i just want to share with you how you can create a new template on civicrm / mosaico!

for wordpress:

Template directory:


here you find 3 templates directory that already exists

choose one of the folders (important) and duplicate and rename folder and the.html inside (respecte the nomenclature)

next step view your template in the selection area in wordpress

go to


edit index.js

and add your template here:

var viewModel = {
        showSaved: ko.observable (false),
        edits: ko.observableArray (initialEdits),
        templates: [{
          name: 'versafix-1', desc: 'The versatile template'
        }, {
          name: 'tedc15', desc: 'The TEDC15 template'
        }, {
          name: 'tutorial', desc: 'The Tutorial'
        }, {
          name: 'newtemplate', desc: 'newtemplatetitle'

Final step is create / modify your own template put your new template with correct name in your Template directory

sorry for my poor english ... I'm french: p

  • Thanks for the insight. Would be nice to format this message properly with markdown formatting to improve legibility.
    – Aivars
    Commented Sep 27, 2017 at 10:35
  • 4
    What would be helpful would be to change your OP to a question eg For WP how do I create a new template on civicrm / mosaico! Then add your above post as an Answer to your own Question. then we can give you +1 for a useful answer
    – petednz - fuzion
    Commented Oct 1, 2017 at 3:51
  • I don't understand :(
    – ZeroCool
    Commented Oct 1, 2017 at 9:31
  • @ZeroCool Thanks for posting this. StackExchange has a question and answer format but you have posted your answer as a question. It would be better to copy most of what you have posted above into the 'Answer' box below. See civicrm.stackexchange.com/help/self-answer Commented Nov 28, 2017 at 19:05
  • 3
    Possible duplicate of template civicrm mosaico on wordpress Commented Dec 28, 2017 at 23:22

1 Answer 1


Thanks for this - it helped me out.

I believe the second part of your answer is no longer valid.

The new place to reference your template seems to be in: uk.co.vedaconsulting.mosaico/CRM/Mosaico/BAO/MosaicoTemplate.php.

Edit the findBaseTemplates() method to return another record with your new template's details and it should show up under the Mailings -> Mosaico Templates menu option in the New from base template: section

  • Thanks for your post but this would be better posted as a comment rather than an answer. Commented Nov 28, 2017 at 19:06
  • @WilliamMortada I did try to leave a comment - unfortunately I need 50 reputation to do so :) Commented Nov 28, 2017 at 23:42
  • 1
    Yes, I appreciate that is a limitation but hopefully you will build up that credit soon. I've just given you 10. Commented Nov 29, 2017 at 8:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.