Per Design

Mostly musings on design

Per Design

  • Customizing WordPress comments

    by

    in

    The documentation on customizing WordPress comments is a bit sparse, particularly when compared to WordPress posts. I ran into this issue while building a web application built off of WordPress and wanted to use WordPress’ commenting system with some custom fields and styling. So here’s my attempt to address that.

  • CSS classes based on page location

    When styling SharePoint sites, it can be very useful to add specific styles to specific “pages” or views. Here’s a bit of jQuery/javascript code to make that possible. It works by grabbing the page location turning it into classes that are added to the body tag. jQuery(document).ready(function($){ //use a javascript variable to hold the results…

  • Nearly automatic breadcrumbs

    Breadcrumbs Generates breadcrumb links based on the URL/path of the document (this code currently requires jQuery).