Note: This is an advanced customization for Ollie Pro and generally not needed by the majority of Ollie Pro users.
In order to enable the Ollie Pro pattern library on your site, you need to sign in to your Ollie Pro account via the Ollie theme dashboard (Apperance → Ollie). By default, authentication is tied to each user, and a cookie is set to ensure you can stay signed in to your Ollie Pro account.
For sites that have multiple users who need to access Ollie Pro, this can cause a problem because each user would need to be logged in to the Ollie Pro account.
To solve that, we’ve added a way to authenticate your entire site for all users by adding the following constants in your site’s wp-config.php
file.
define( 'OLLIE_EMAIL', 'supdude@olliewp.com' );
define( 'OLLIE_PASSWORD', 'yourpassword' );
Code language: JavaScript (javascript)
Editing your site’s wp-config.php file should only be done if you know the risks and are comfortable making the change. In the future, we may change the way authentication works, but this should give users flexibility in the mean time.