Tag Info

Hot answers tagged

1

Not sure if I'm understanding you correctly, but if you want to display a special of the day, depending on the day ... I have a rough representation of how you could go about doing so. Example: $current_day = date('N');// 1 (for Monday) through 7 (for Sunday) - daily/weekly //$current_day = date('j');// 1 to 31 - daily $specials = array( '', ...


1

I'd highly recommend WP-CLI for such tasks. It is a tool that allows installation and configuration of WordPress on the command line. What you are trying could easily be done: wp core download wp core config --dbname=<dbname> --dbuser=<dbuser> --dbpass=<dbpass> wp core install --url=<url> --title=<site-title> ...


1

If you are using Linux, you are lucky enough, there is a command line tool EasyEngine which lets you install your complete site in 5 3 minutes, It was publicly released recently at Wordcamp Mumbai 2014. Not just installation, but also provides you other options to manage sites. I'd say a really handy tool.



Only top voted, non community-wiki answers of a minimum length are eligible