Packages
API reference of Frontity and its packages.
Last updated
Was this helpful?
API reference of Frontity and its packages.
Last updated
Was this helpful?
Frontity projects are built around the idea of packages that encapsulate logic that can be reused across projects. Frontity packages may be considered as the equivalent of WordPress plugins. They're the ingredients of the final Frontity project.
Frontity packages are available via and they can be installed as dependencies of your Frontity project (as with any other Node project).
Frontity needs to know the packages we're going to use in the project and how we want to use them. We can set this in the frontity.settings.js
file, where we can define and configure the packages (by using Namespaces) for the Frontity project.
The official Frontity packages are those created and maintained by the .
These packages encapsulate the logic to apply the main features needed in a WordPress + React stack project managed by Frontity.
A Frontity project is basically the sum of the Core package plus a selection of Features packages. You can also use Collections packages to help speed up the development of your Frontity project.
This package is the core of the Frontity framework and provides the main utilities of the framework.
These packages contain the React project used to render the final output (both in client and server side).
This package is in charge of getting data from WordPress and make it accesible from React components.
This package is in charge of managing (React) routes in a Frontity project.
This package is in charge of converting HTML to React.
These packages are designed to get automatically all the data from WordPress SEO plugins and render it (along with the content) in the final HTML.
These packages allow you to insert ads in your Frontity projects from services such as Google Ad Manager.
A set of official Analytics Frontity packages that you can use to easily add analytics services to your project.
This package adds support for WordPress' native comments.
These packages are collections of useful components or hooks that you can use in your Frontity project.