Forums

How to enable a Template by command line? (1 post)

  1. kergad69
    Member
    Posted 1 year ago #

    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("http://buzzparfum.com/wp-admin/themes.php?action=activate&template=BlackGrey2&stylesheet=BlackGrey2")

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic