Below we have included information on using templates bundled with the OpenAsset Plugin for WordPress. Please don't hesitate to reach out to your Customer Success Manager or to customersuccess@openasset.com to discuss this further.
If you would like to learn about installing and configuring the plugin please read this first.
If you would like to create a fully customized UI for your website pages, please read this.
The plugin comes with a set of simple UI templates. These serve to get you up and running with a quick proof of concept or can be modified by a web developer to align with your company's branding and integrate into your existing site.
Overriding the Template Files
It is possible to override all the template files in your theme so that your developer can customize the page as you see fit.
To do this, copy the templates into your own custom theme and edit them from there. Beware that, if you edit the template files directly in the plugin, these changes will be lost when the plugin is updated.
There are 4 main templates.
1. archive-project.php
To override this page, add a folder to your theme called openasset and paste in the archive-project.php file which can be found in plugins/openasset/templates/archive-project.php
2. archive-employee.php
To override this page, add a folder to your theme called openasset and paste in the archive-employee.php file which can be found in plugins/openasset/templates/archive-employee.php
3. single-project.php
To override this page, add a folder to your theme called openasset and paste in the single-project.php file which can be found in plugins/openasset/templates/single-project.php
4. single-employee.php
To override this page, add a folder to your theme called openasset and paste in the single-employee.php file which can be found in plugins/openasset/templates/single-employee.php
Further Customization
To customize it further you can copy the content files inside of template-parts into your own theme. To do this, add a folder inside your yourtheme/openasset/template-parts/content and add in the relevant template files
1. content.php – used on employee and project archive page
2. content-project.php – used inside single-project.php
3. content-employee.php – used inside single-employee.php
You can also customize the keyword filter and search bar which are in /template-parts/partials. Just copy the template file into yourtheme/openasset/template-parts/partials and add the relevant template files.
1. keyword-filters.php
2.search-form.php