ThemeFuse / Unyson-Backups-Extension

Backup & Demo Content - This extension lets you create an automated backup schedule, import demo content or even create a demo content archive for migration purposes.
http://manual.unyson.io/en/latest/extension/backups/
10 stars 17 forks source link

Unable to locate demo install directory inside theme #26

Closed ashraf92 closed 8 years ago

ashraf92 commented 8 years ago

I have placed demo content inside admin folder in theme . I have this code done so far

function _filter_theme_fw_ext_backups_demo_dirs($dirs) {
       $dirs['/admin/demo-content'] = get_template_directory_uri() . '/admin/demo-content';
        return $dirs;
   }
  add_filter('fw_ext_backups_demo_dirs', '_filter_theme_fw_ext_backups_demo_dirs');

But I can not demo import submenu. I guess I wrote wrong directory

ghost commented 8 years ago

Please inspect this code and figure out what you did wrong

ashraf92 commented 8 years ago

Got it , Thanks