template.php
in place of any call made to the WordPress template hierarchy.http://localhost:3000
. In production this will be the deployed location of your Frontity site)Note that the environment variable, if it exists, takes precedence over the setting configured in the settings page.
wp-config.php
file.Note that if the PHP constant exists, it takes precedence over both the environment variable and the settings page setting.
https://<YOUR-DOMAIN>/static
.--public-path
option of the npx frontity build
command./wp-content/frontity
, say, then your static folder will be at https://yourdomain.com/wp-content/frontity/build/static
.npx frontity build
thus:https://<YOUR-DOMAIN>/static
.--public-path
option to point directly to the Vercel URL:--public-path
parameter in the npx frontity dev
command as well: