frontity_
.frontity_
is a "Frontity Query Option".It is important to note that Frontity Query Options do not form part of the canonical link. This means that whatever is passed in thefrontity_
query parameter will not be matched by handlers or used to fetch data from WordPress. Its purpose is merely to allow dynamic configuration of Frontity.
frontity_
are reserved to send special information to Frontity, i.e. they are not related to the URL that needs to be rendered (e.g. a post or a page), but instead are used to change the Frontity configuration dynamically.state.frontity.initialLink
and state.router.link
because they should not affect the content of what needs to be rendered such as a post or a page.state.frontity.options
, and the properties are then available to any packages that need them.Note that the key names of parameters are camelCased when they are added tostate.frontity.options
. So, for example, thefrontity_source_auth
query string param will becomestate.frontity.options.sourceAuth
once added.Only key names are transformed in this way, values remain unchanged.