• Hello,

    I would like to enable a Template on my blog by command line.

    I make an automatiquely WordPress installation program and I want to add a template selection.

    I tried to include the themes.php file but it doens t work.

    Otherwise I tried with exec like
    exec("https://buzzparfum.com/wp-admin/themes.php?action=activate&template=BlackGrey2&stylesheet=BlackGrey2")

    Thanks

  • The topic ‘How to enable a Template by command line?’ is closed to new replies.