Vagrant LAMP Stack setup

I liked WAMP very much, but after discovering Vagrant I never will go back to WAMP.

What is Vagrant used for?

Create and configure lightweight, reproducible, and portable development environments.

In my words: Vagrant is used to simulate a real server environment to interact with.

In this article I want to share my basic setup.

Continue reading Vagrant LAMP Stack setup

wordpress, style.css

Some boilerplates for wordpress theming:

And for child themes:

 

php helper for including a partial

When I prototype in PHP, I use this small helper function to include a partial and to import some variables.

Example:

 

wordpress php helper

Helper for including theme assets, stylesheets or javascript files: