The process to Indexed, a page centric theme

So… I wanted my website to have a fresh look, perhaps make it feel a bit more professional too.

Without a real aim, I generated an underscores template and the latest version of Foundation 5 from their repo. There was however some certitude aside a clean-to-minimal design I was after.

Pages – the post type, don’t get enough tlc I feel. But in combination with ACF Pro they are quite powerful. Plus my website is static. Making the theme solely focused on pages is a no brainer here.¬†I figured it was the occasion to try Timber as well.

Along the way I switched from Foundation to Materialize. I’m a big fan of material design and was curious of the framework, so another opportunity for something new. Applying their starter template, I was immediately chuffed¬†with the result on ‘index.php’, the only template used by the theme. The orange was a pleasant surprise, very elegant imho.

Timber was certainly helpful to quickly test out Materialize and is currently only used for the loop. I barely scratched the surface of Timber and am looking forward to use it more in depth. The docs are a great and the plugin provides a starter theme. I drew inspiration from it for my function file.

In terms of (theme) features, for time and convenience I used this Hide Title plugin, it certainly would be a nice option to have it baked in though. And then there is ACF to go wild with. The only requirement is to set a page of choice as front page, this could be automated too I suppose.

Good enough for personal use yet far from finished. I guess I’d like to give it some more structure before throwing it out there.

Trying out Timber, ACF and Materialize surely was inspiring.

New repo/fork cristovaov/site-importer-vvv

cristovaov/site-importer-vvv
November 13, 2014 at 09:05PM
via GitHub https://github.com/cristovaov/site-importer-vvv

Existing site importer for VVV. Based on Simon Wheatley’s demo examples and existing scripts in the VVV project.

Assuming that you are already using Varying Vagrants Vagrant. Recommended: Vagrant Hosts Updater and Triggers installed

Steps:

  1. Copy your existing site in your www folder inside your VVV installation.
  2. Clone or extract this repo in a folder named vvv-import inside your site’s local copy.
  3. Replace samplesite.sql with your DB backup.
  4. Modify all instances of samplesite.dev inside the files vvv-host and vvv-nginx.conf.
  5. Change the MySQL credentials inside wp-config.php to VVV’s default -don’t forget to back it up or copy/rename before!
  6. If Vagrant is running, stop it with vagrant halt
  7. follow this with a vagrant up --provision. -> optional: drop the provision-custom.sh file from the extra folder in the provision folder as to not go through the full provisioning
  8. Probably needed: Vagrant SSH to your imported site and do a WP-CLI search and replace.

You should be good to go.