Resource icon

XenForo 1 [CinVin] Add Content to Page Head Section 1.0.0

No permission to download
Visible Branding
This simple add-on allows you to easily add content to your XenForo pages <head> section by modifying one new template instead of your styles page_container template.

This comes in handy because it means you don't have to re-add any edits to your style every time it is updated. It also means if you have multiple styles then you can easily add content to all of them by modifying one template instead of having to modify each of your styles. (y)

For example, if you wanted to add this bit of code to all of your pages...
<meta name="robots" content="noodp" />
... then you would need to modify your page_container style for each of your styles. If you had multiple styles then you would need to modify the page_container template for each of the styles. If any of those styles were subsequently updated you would need to then re-apply the changes.

Instead with this add-on just modify the template cinvin_addpagehead with the code to be added. Using the page_container_head template hook your code will be automatically inserted into the <head> section of all of your XenForo pages for all of your styles. You can update your styles, or install additional styles, and your code will still be there. :smiley:
First release
Last update
0.00 star(s) 0 ratings

More resources from Kevin