We have been working hard on getting things ready for version 1.0.4 and it is finally almost here. This version is our first release candidate and we wanted to share it with the community to get some feedback. Now things have changed quite a bit underneath the hood so we don’t suggest testing this out on a live site since most likely your child themes will need a little adjusting.
A New Loop
The major changes in 1.0.4 are with the post loop in the actions.php file. The old loop was hard to customize so we decided to rewrite it from the ground up and separate it into some sections. First comes the header:
Next comes the actual post content function:
And finally the footer:
With this type of structure, you can easily customize elements without having to rewrite the entire function.
You will notice a new font preview in the PressWork Toolbox that makes it easier to see what fonts are available and how your site will look using each one. Thanks to Michal Bluma for contributing the code.
Bug fixes galore
When WordPress 3.3 was released, things got a little funky here and there with PressWork. We went through all of the code, rewriting things to improve efficiency and to debug common issue. Thanks to Michael Riethmuller for his multiple fixes on the toolbox.