This is a demo website illustrating the use of WordPress and the Themosis framework in order to build a custom website.
Feel free to navigate through the code. Make sure to review the code in the following directories:
- wp-content/plugins/themosis/app/
- wp-content/themes/bookstore/app/
Note: This is purely a code demo. The purpose of this project is to demonstrate the use of the framework APIs. There is no complete sanitization and validation of some user inputs nor check for empty values, ...
Follow the next steps in order to install this project on your local machine.
- Clone the repository on your local machine.
- Define a virtual host with a name of:
bookstore.local
(make sure to use thelocal
tld so when you import the content, the paths match) - Install WordPress as usual (set your wp-config.php file)
- Activate the Themosis plugin
- Import the content by using Tools->Import (WordPress) and select the
bookstore.wordpress.xml
file from the root directory of the project. Check the optionDownload and import file attachmnents
. - Active the Bookstore (Themosis) theme
- In Settings->Permalink, set a permalink structure (for example: Post name)
- In Settings->Reading, set the
Home
page as the front/home and thenews
page as the blog/post page. - Update the main menu in Appearance->Menus and set its
Theme locations
toHeader navigation
andFooter navigation
. - Enjoy!
Feel free to report any issue during installation using this repository issue system.
It's also possible that you will have to run the
composer update
command inside theplugins/themosis
directory to re-install/update the library dependency after cloning the repository on your computer. If you have an issue withcomposer
, simply delete thevendor
directory and run thecomposer install
command to install the dependency back.
Check the themosis/documentation repository for the APIs documentation.
For more updates, please follow us on Twitter @Themosis or subscribe to our mailing-list.
All images belong to their respective author: