The Bookstore is a sample project used to demonstrate best practices in developing a WordPress application or website using the Themosis framework.
The project shows to developers how to work with the APIs, how to configure and develop a custom plugin and handle the front-end output with a custom theme.
- PHP >= 5.6.4
- Themosis framework >= 1.3.0
The project comes with a local configuration and a MySQL dump. In order to install this demo project on your local machine, please follow the steps below:
- Download, from our GitHub repository, the project
.zipfile and extract it.
- Setup a Virtual Host with a local host value of
- Set Virtual Host root path to the project
- From your MySQL local server, create a database with a name of
- Create a MySQL user with a username of
demoand a password of
- Assign the demo user privileges to the
- Import project MySQL data, stored in the project
data/bookstore.sqlfile into the
- Open your Console/Terminal, go to the bookstore root directory and run a
- From the browser, visit the
- The Bookstore project is now installed. Enjoy!
The imported database contains a default WordPress user with an administrator role.
In order to log in the WordPress administration, visit the
bookstore.dev/login URL and use the following access:
- Username: demo
- Password: demo
The bookstore project is a simple website showing some of the available APIs of the Themosis framework.
The project is composed of the following elements:
- The Themosis framework core plugin
- The bookstore theme
books-managerplugin developed based on the Themosis framework plugin boilerplate
bookstore-faqsminimalist plugin using some framework APIs
uploadsdirectory with media images used along the project content
The project's theme is by default configured to use
Twig views stored into its
resources/views/twig directory but there are also
Blade views stored into the
We encourage you to explore both plugins and the theme code in order to get familiar with the APIs of the Themosis framework.