The one last version I managed to squeeze in before I embarked on my vacation was 4.2.4. Don’t worry, this post has been written prior to my vacation – it is only being posted while I am holidaying.
This is another small release (which is what I like doing, really, as opposed to humongous ones), with the following:
- New Features
- Rudimentary Device Support
As promised in my last post, I have added support for some mobile-specific classes. There are a bunch of conditionals available, such as
is_ipad, which determine the device-type based on the user-agent of the browser. Based on this, certain classes are added to the
bodyelement of the page. E.g.
device-desktopis added as a class if you are browsing through a desktop. The code for all of this has been liberally lifted from the mobble plugin.
I didn’t have the time to fit in the sidebar positioning features – those will happen after I return.
- More Byline Control
I have added the capability to specify starting and trailing texts for bylines. This means you can remove things like the “Tagged with: ” for tags and add text like “Filed under” for categories. Check out the options under Other Graphical Elements → Byline Configuration. For people desiring additional control, I have added the filters
suffusion_after_byline_htmlto help you modify the strings based on your display etc.
- Some Admin Extensibility
So far Suffusion has been fairly rigid about the back-end options. Of course, you can do insane amount of stuff with the options, but there has been no way to extend the options via child themes. In a first step to even better flexibility (who knew that was possible?), you can now use the
suffusion_admin_modify_option_listfilter and enhance the option list. E.g. if you are building a child theme with a new byline style, you could add the byline style to your list and make it available to all users of the child theme.
- Bug Fixes
- In some cases incorrect byline information was appearing if displayed in the post footer. This has been rectified.
- There was a bug in the reset capability for custom backgrounds – I have taken care of that.
Hope you enjoy this release, while I enjoy my vacation.