Minor update to pagebar plugin (v2.65)

The last update to the pagebar plugin has been made over a year ago. Since all new ideas will be included in version 3 and the plugin was working fine with every new update of WordPress there was no need for an update.

The other day Borisa Djuraskovic of “Webhosting Hub” wrote me an email that he has created a Serbian language file. This was a good opportunity to introduce a small feature that was spinning in my head for some time:

One of pagebar’s feature is the automagic insertion, which works great for most themes. Nevertheless you still had to insert the CSS code into the style.css file or to copy the pagebar.css into the theme’s directory. For inexperienced users this was quite an obstacle.
So I made the decision that in the twenty-[ten, eleven, twelve, and thirteen] themes a default pagebar styling will be used:

Twenty-Ten2010
Twenty-Eleven2011
Twenty-Twelve2012
Twenty-Thirteen2013

There is no option to disable this feature. I you’re using a twenty-something theme you will always have this design. I refrained from adding a new option because I don’t want to introduce a new string and break the current language files (Nacin would say “Decisions, not options”). Since I’m an option junky will be an option to disable this behaviour in v3 🙂

(If you’re a theme developer and want automagic styling of pagebar in your themes send me a mail containing the necessary css file and slug name.)

There are some fixes in the release, too:

  • tab code in settings pages
  • remove standard navigation in twenty-eleven
  • detection of main loop

Thanks again to Borisa Djuraskovic for the Serbian language file.

As always I hope this update won’t break anything.

Leave a Reply

Your email address will not be published. Required fields are marked *