wiki:arctic_customization
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
wiki:arctic_customization [2010/12/07 00:19] – created chkuo | wiki:arctic_customization [2023/05/12 10:57] (current) – [analytics.script] chkuo | ||
---|---|---|---|
Line 3: | Line 3: | ||
===== main.php ===== | ===== main.php ===== | ||
- | add | + | Add |
<code php> | <code php> | ||
<?php /*google analytics code; chkuo; 2010/ | <?php /*google analytics code; chkuo; 2010/ | ||
- | < | + | </code> |
before the ''</ | before the ''</ | ||
===== analytics.script ===== | ===== analytics.script ===== | ||
- | add this file to the template directory: | + | Add this file to the template directory: |
- | <code jave> | + | <file> |
- | < | + | <!-- Google tag (gtag.js) --> |
- | + | < | |
- | | + | < |
- | | + | |
- | _gaq.push([' | + | |
- | + | | |
- | | + | |
- | var ga = document.createElement('script' | + | |
- | ga.src = (' | + | |
- | var s = document.getElementsByTagName(' | + | |
- | })(); | + | |
+ | gtag(' | ||
</ | </ | ||
- | <code> | + | |
+ | </file> | ||
===== footer.html ===== | ===== footer.html ===== | ||
Line 60: | Line 57: | ||
===== print.css ===== | ===== print.css ===== | ||
+ | Add | ||
+ | <code css> | ||
+ | /* start of custom style; chkuo; 2010/12/06 */ | ||
+ | strong { | ||
+ | font-style: | ||
+ | font-weight: | ||
+ | } | ||
+ | em { | ||
+ | font-style: | ||
+ | text-decoration: | ||
+ | } | ||
+ | em.u { | ||
+ | font-style: | ||
+ | text-decoration: | ||
+ | } | ||
+ | /* end of custom style; chkuo; 2010/12/06 */ | ||
+ | </ | ||
+ | to print **Bold Text**, //Italic Text//, and __Underlined Text__ correctly |
wiki/arctic_customization.1291652363.txt.gz · Last modified: 2010/12/07 00:19 by chkuo