float= The Red Rook (cover).png

Parallel Visions: City of Angels City of Demons ebook and trade paperback available on Amazon (or here).
The question of whether Vance was dead or not became more than academic when he found himself in a bathtub up to his chin in ice water like some forgotten cocktail garnish, a demonic woman standing over him, and no memory of how he got there.
Read free chapters of Parallel Visions: City of Angels City of Demons here
The Red Rook, sequel to Dispensing Justice and the second novel of Nova Genesis World is now available for Kindle or as a paperback at Amazon.
Read free chapters of Dispensing Justice here (or get it here).
Read free chapters of The Red Rook here (or get it here). -- Fritz Freiheit

Dispensing Justice (cover).png 20th Annual Writer's Digest Self-Published Book Awards - Honorable Mention.png

WordPress notes

From FritzWiki
Jump to: navigation, search

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
Where ID refers to the ID of the file or hole, as shown in the Drain Hole administration pages.