Forum Replies Created

Viewing 1 replies (of 1 total)
  • I too would like to see support for this built into the plugin since I don’t want to have have the parent theme in my source control

    Another thought to editing the plugin is to create a grunt or gulp task that copies the template files up to the parent directory:

    watch: {
                php: {
                    files: 'post-templates/*.php',
                    tasks: ['sync']
                }
    }
    
    sync: {
                copy_resources: {
                    files: [
                        { cwd: 'post-templates', src: '*.php', dest: '../Origin' },
                    ]
                }
            }
    }
Viewing 1 replies (of 1 total)