IP.Board Apps and Hooks

Custom Head and Body 1.0.0

Submitted by Aoki, , Thread ID: 5821

Thread Closed
07-07-2015, 11:41 PM
#1
This simple plugin allows you to specify additional html that will be included in the following places:
  • After the <head> tag
  • Before the </head> tag
  • After the <body> tag
  • Before the </body> tag

This is most useful for adding links to javascript and css files. It is possible to do this by editing the templates (globalTemplate, IncludeJS, IncludeCSS) but these changes need to be made after each upgrade.

I use this on my board to add some custom javascript functions and to use some google fonts by adding this just before the </head> tag:

Code:
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700" rel="stylesheet" type="text/css">

Content locked
This content has been locked. Please login or register in order to unlock it.

RE: Custom Head and Body 1.0.0

This post was last modified: 26-02-2021, 05:42 PM by ImioUniverz
#2
bruh it was helpful, thank you!!a

it help bruh it was helpful, thank you!!

Users browsing this thread: 1 Guest(s)