Simple Portfolio Maker (SPM) is (mostly) a Wordpress theme that allows you to easily build your portfolio.
- Predefined blocks which let you choose your text and images arrangement (left, right, on 2 columns, et....).
- Delivered with SEO plugins by default
- Contact form included
- Home page with your highklighted cases studies
- An index page for all your cases studies
- Simple and sober design with easily customizable CSS sheets
- Thanks to Timber, it is very easy to adapt the html (twig files) to fit your needs.
- Useless CSS & JS from default wordpress installation removed to speed up the site
- Tanks to Bedrock, you also take advantage of nice features like:
- Better folder structure
- Easy WordPress configuration with environment specific files
- Environment variables with Dotenv
- Autoloader for mu-plugins (use regular plugins as mu-plugins)
- Enhanced security (separated web root and secure passwords with wp-password-bcrypt)
- PHP >= 7.4
- Composer - Install
- If you just want to look over the theme and run a demo, docker-compose is also recommanded but not mandatory in production.
- Clone this project
- Update environment variables in the
.envfile as explained here. You can copy paste.env.exampleto have an example. - Build docker images:
$ make build
- Install all dependencies
$ make install
- Run docker
$ make dev
- According to the
.envfile, create your Wordpress database. By default, you can create it with PhpMyAdmin on http://localhost:8001. Defaults credentials areroot/root. - Finish the Wordpress installation and access to WordPress admin at http://localhost:8000
- In another shell, configure defaults settings for the theme:
$ make configure
- If you want to crate fake cases studies:
$ make fake
- You should have a nice portfolio now on http://localhost:8000 ! 🎉
Under "Posts", you have now a "Case study" item:
You can choose the block type you want with the select box, then let's put your images and write your text:
Additionnally, you may have some mandatory fields to fill to have a nice case study to display, let yourself be guided with the instructions diplayed under each field.
For a better rendering, you have to set a featured image on each case study. You can also choose to highlight you case study, in this case it will be displayed on the home page.
You have to set yourself some things to have a functionnal contact form.
-
⚠️ If you have several contact forms, Simple Portfolio Maker will always use the first one! (shorted byid)
-
Copy paste this code in the tab "form" of your contact form.
[text* your-name placeholder "Nom & Prénom / Société"]
[email* your-email placeholder "Email"]
[textarea* your-message minlength:50 placeholder "Votre message"]
<div>
<button class="btn" type="submit">
Envoyer le message
</button>
</div>You can configue your mail settings in the "WP mail SMTP" panel.
If you want to test locally emails (thanks to Maildev), please follow the guide:
- Select "Other SMTP"
- Settings:
- set
maildevfor SMTP host - Encryption:
none - SMTP Port:
25 - Auto TLS:
off - Authentication:
off
- save settins
- Go to "email test" tab on the top of the page and send email
- You should have an email at http://localhost:1080 ! 🎉
Contributions are welcome from everyone.



