IndieWeb Twenty Fifteen Theme

From IndieWeb

IndieWeb Twenty Fifteen Theme or iwtwentyfifteen is an IndieWeb friendly forked version of the annual WordPress Twenty Fifteen theme that has improved support for microformats version 2. It is a relatively clean, simple, and responsive design which is well suited for use as a personal website.


Child Theme

It is recommended, but not necessary, that one use this theme in conjunction with a child theme so you can make your own changes and customizations if necessary.


IndieWeb Examples


Features

Microformats 2

Rough outline of the changes from the original:

  • Modified the header.php file to remove the erroneous hfeed microformat that was being put on all pages.
  • Changed the archive.php page to add h-feed and hfeed to create the appropriate feed pages (I need to doublecheck this in an actual reader, but it looks good on the page and seems to parse properly.)
  • In the functions.php file, I’ve wrapped the_content in e-content, wrapped the_excerpt in p-summary
  • In the functions.php file, I’ve added a filter that will add h-entry to the correct place.
  • The meta data section of posts created by inc/template-tags.php has been modified to provide an h-card on posts. While not shown visually on the page, if users have a gravatar associated with their user account, it should be found by parsers and is able to be displayed when leaving responses on others' sites.

Brid.gy

Thanks to improved microformats support, this theme should be more compatible than most for use with Bridgy and particular Brid.gy publish functionality. The Syndication Links plugin is a simple way to enable Bridgy publish functionality, if desired.

Webmentions

The function.php file has a snippet for automatically approving Webmentions. This can be commented out for those who may have spam issues in the future.

Footer

  • The footer includes badges to show support for IndieWeb and Microformats. If one adds the Webmention plugin, a line at the bottom of the footer.php file can be uncommented to reveal the Webmention badge as well.

Posts about


Customizer

This theme is still compatible with the WordPress customizer and has a few built-in options for changing the theme's colors as well as adding header and background images to personalize it to one's taste.


To do list

  • For better Syndication Links plugin compatibility, move the syndication links meta into /inc/template-tags.php
  • For better Simple Location compatibility, move the Simple Location meta output into /inc/template-tags.php
  • If/then statement in footer.php to check for Webmention support to automatically show that badge which is currently commented out.
  • Code for declaring microformats support to other plugins?


See Also


WordPress
Topics Getting Started on WordPress β€’ Advanced WordPress Set Up β€’ Plugins β€’ Themes β€’ Examples β€’ WordPress with Bridgy β€’ Development β€’ Data β€’ Security
Primary Plugins Indieweb Plugin β€’ Webmention β€’ Semantic Linkbacks β€’ Micropub β€’ IndieAuth β€’ Post Kinds β€’ Syndication Links β€’ WebSub plugins
POSSE Plugins Syndication Links β€’ Social Network Auto Poster β€’ JetPack Publicize β€’ WP Crosspost β€’ Tumblr Crosspostr β€’ Diasposter β€’ Mastodon Autopost β€’ Bridgy Publish plugin (deprecated) β€’ Medium (deprecated)
PESOS Plugins Keyring Social Importers β€’ DsgnWrks Twitter Importer β€’ DsgnWrks Instagram Importer
Other Plugins IndieBlocks β€’ Shortnotes β€’ ActivityPub Plugin β€’ Aperture β€’ Refback plugin β€’ IndieWeb Press This β€’ WordPress MF2 Feeds Plugin β€’ WordPress uf2 β€’ OpenID β€’ Simple Location β€’ Parse This β€’ Indieweb Actions β€’ PressForward β€’ Yarns Indie Reader β€’ WhisperFollow β€’ blogroll2email
Themes SemPress β€’ (SemPress Child Themes: SemPress Lite, SenPress, and Index) β€’ Autonomie β€’ Independent Publisher β€’ IndieWeb Publisher β€’ mf2_s β€’ Twenty Sixteen IndieWeb-friendly fork β€’ IndieWeb Twenty Fifteen Theme β€’ Doublescores
Assistance Join the #indieweb chat β€’ IRC and other chat options β€’ WordPress FAQ β€’ WordPress Outreach Club β€’ Troubleshooting Tips β€’ WordPress tools β€’ WordPress channel
See also WordPress related wiki pages β€’ Category:WordPress plugins β€’ Category:WordPress themes β€’ Category:WordPress sessions β€’ WordPress.com β€’ WordPress using IndieMark β€’ AWS Tutorial