Adding themes to the extension:
It is now possible to add themes to the extension. This can be done by pushing a PR or sending me a zip file with your theme.
What should the theme look like?
You can see the structure of the theme
here.
About the JSON:
The JSON file describes the theme.
Code: Select all
{
"name": "Default",
"author": "Stanislav Atanasov",
"description": "Default Post Love Theme!",
"support": [
"ProSilver"
],
"preview": "preview.jpg"
}
The file should have the same name as the theme folder. This name will be the theme unique string. The preview image is not necessary but it will give some basic info for how the theme looks like.
Tests:
You should write your tests. Add your theme in tests/functional/postlove_theme_test.php after the first test. Start creating ...