|
Parallel Visions: City of Angels City of Demons ebook and trade paperback available on Amazon (or here). |
![]() |
|||
WordPress notes
WordPress notes
Themes[edit]
Header.php Update[edit]
<script type="text/javascript">
// right before end head tag
jQuery(document).ready(function() {
// hides the XenoMessage as soon as the DOM is ready
jQuery('.XenoMessage').hide();
jQuery('a[href]').each(function(){
var href = jQuery(this).attr('href');
if (5 > href.length) {
return;
}
var href_lower = href.toLowerCase();
var ignoreRegExp = /^https?\:\/\/(www\.)?(novagenesisworld|fritzfreiheit|thenexus)\.com/;
if (href_lower.match(ignoreRegExp) != null){
return;
}
var siteUrl = "http://fritzfreiheit.com";
if(href_lower.substr(0, 4) == "http") {
jQuery(this).attr("href", siteUrl + "/r/r.php?url=" + href );
}
return;
});
});
</script>
Drain Hole[edit]
Documentation: http://urbangiraffe.com/plugins/drain-hole/
Download Tags[edit]
The following tags can be inserted inside posts and pages to embed Drain Hole information. This information is generated dynamically, and will change whenever the underlying information changes:
- [drain hole ID hits] - Displays the total number of hits from the specified hole ID
- [drain hole ID show] - Show a list of all files in the specified hole (change display code by copying view/drain-hole/show_hole.php from the Drain Hole plugin directory to the same directory path in your theme's directory and editing the file)
- [drain file ID show template] - Displays the download template for the specified file ID. 'template' is optional and can be ignored (the default template will be used)
- [drain file ID version] - Displays the version of the specified file
- [drain file ID versions limit] - Displays the specified number of versions from the file's history
- [drain file ID hits] - Displays the total downloads for the specified file
- [drain file ID url name] - Displays a URL allowing the specified file to be downloaded. 'name' is optional and is the text that will appear inside the download link (if not specified then the filename is used)
- [drain file ID updated] - Displays the update time of the specified file
- [drain file ID size] - Displays the size of the specified file
- [drain file ID icon] - Displays the download icon for the specified file
- [drain file ID href] - Displays the URL of the file
