Site level META attributes
Permalink
I would like to ask, is there an option in C5 to control META tag information in the website level so it could get included automatically in every page? Say, if you have a few hundred pages and need to change website description or keywords.
yeah sure, kludgiest way is to create a bare minimum installable package(check docs) then in on_start there define something to include in tags as in define('TAGS_MY_APP',$whatever);
then in your theme then put in stuff to include there if it exists, which is either say a !empty or a strlen to check before echoing whatever in your theme
Putting it in the package is cool because you can then maybe build out something to parse and add via a package's on_start method.
Why does that matter? Because each installed package's on_start method is called on every request for any page ;)
then in your theme then put in stuff to include there if it exists, which is either say a !empty or a strlen to check before echoing whatever in your theme
Putting it in the package is cool because you can then maybe build out something to parse and add via a package's on_start method.
Why does that matter? Because each installed package's on_start method is called on every request for any page ;)
Does anyone have any idea on a global edit meta tags?