Skip to content

passle/passle-sync-wordpress-demo-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Passle Sync Demo Theme for WordPress

Passle Sync Demo is a theme for WordPress which makes use of the Passle Sync plugin.

🚀 Getting started

This theme is intended to serve as an example of how to use the Passle Sync plugin in your theme templates. To get started, take a look at the templates for the custom post types that the plugin creates, single-passle-post.php, and single-passle-author.php.

These templates are pretty standard - the important thing is that they are named correctly, as described in the Wordpress documentation. The interesting stuff all happens in the template parts, content-single-passle-post.php, and content-single-passle-author.php.

For more info on how to use the Passle Sync plugin, view the API documentation in the plugin's repository.

🔧 Requirements

TBD

👨‍💻 Development

Prerequisites
  • NPM
  • Development environment running a WordPress instance
Environment setup

To develop this theme, first clone the repository:

git clone https://github.com/passle/passle-sync-wordpress-demo-theme

Next, install all dependencies and build the frontend with the following commands:

npm install
npm run init
Developing the frontend

To develop the frontend, use the watch script available in package.json.

Building the theme zip

To build the theme zip file, use the build script available in package.json. This will install all dependencies, build the frontend, and create a zip containing all necessary output files.

💬 Contributing

If you'd like to request a feature or report a bug, please create a GitHub Issue.

📜 License

The Passle Sync demo theme is released under the terms of the MIT License.