With over 150,00 downloads and a rating of 4.3 out of 5 Pinboard, is an elegant theme powered by an advanced theme framework and grid system, with virtually unlimited layout options and styles, ideal for showcasing your portfolio of works or other multimedia elements like images, photo galleries, videos and podcasts.
Pinboard does add rel=”author” links so you only need AuthorSure to add the rel=me profile links on the author page.
The author page looks like this:
The recommended AuthorSure settings for Pinboard are:
Author Post Settings: Byline
Author Page Settings: Do not show title
Advanced Settings: Use hook: pinboard_header_extras
For the example given in the screenshot above my preference was for the following Author Page Settings:
Author Bio: None
Contact Methods sub-title: Blank
Profile Icon Size: 32px
Shows Icons Only?: Checked
This hides the bio and shows large profile icons with no labels. This is just a personal preference; you can have a full bio and put each contact method on a new line if you prefer to do so.
Theme Code Changes
Being unfamiliar with Pinboard I was unable to find a suitable hook for adding the author bio so I decided to create one:
I added the following 3 lines to ../themes/pinboard/index.php after the bit where the page heading (or current location) is displayed. This creates a new hook called pinboard_header_extras after the line of code
The code snippet is:
Pinboard CSS Changes
I also changed 1 line of CSS to style the new #header_extras section the same as the heading.
In themes/pinboard/style.css I changed:
#current-location, #sidebar-wide, #sidebar-footer-wide {
padding:20px 3.1%; background:#eee; border-bottom:#e0e0e0 1px solid; font-weight:300;
}
to
#header-extras, #current-location, #sidebar-wide, #sidebar-footer-wide {
padding:20px 3.1%; background:#eee; border-bottom:#e0e0e0 1px solid; font-weight:300;
}
Alternative Approach
A better alternative to changing the main index.php file would be to create a custom template such as template-author.php. However, it was not obvious to me how to integrate a custom template into Pinboard so that template-author.php would be used on author archive pages. So I went with the recommendations above.
I plan to support Pinboard as one of the free themes on WP Whoosh. Once I have done this I will have a better understanding of how to configure Pinboard and may decide to revisit this post with an improved solution.