Opus Primus

… the first work. It works first!

Version 1.3-alpha-20140901

I just tagged the latest code for Opus Primus into a “Pre-Release” package at GitHub.

If anyone is reading this and would like to give it a try, here is the direct link.

The major front facing elements will be the new mobile menu and the new typography, most everything else is under the page and should still be very solid despite being tagged as a “alpha” version.

Updated in News and tagged , , , . Use this permalink for a bookmark.
* * * * *

Mobile Menu Support

Although the theme is for the most part very responsive as far as web design goes, it really was lacking in the menu displays. This has been something that has been bothering me for a while and I finally carved out some time to sort out the issue.

I must apologize for not doing this sooner as it took slightly less than an hour to track down a JavaScript plugin that could be integrated into the theme; write the necessary code for the integration; and, add a couple of minor tweaks to make it fit better (there are probably more tweaks to be made).

Thanks to SlickNav – Responsive Mobile Menu Plugin for jQuery created by Josh Cope – @computerwolf; a very easy solution to implement.

Also to note, with the implementation of mobile menu support, the post/page breadcrumbs will not be displayed on mobile devices … at least for the time being.

If you’re interested in giving this new mobile menu support a test run, please feel free to use its branch at GitHub … and, as always, constructive criticisms are more than welcome.

Enjoy!

Updated in News and tagged , . Use this permalink for a bookmark.
* * * * *

A New Look

I added an article to my Instapaper reading list a while back that dealt with typography. It was an interesting insight by Mike Anderson on why he chose to use large font-sizes on his web site. The ideas he wrote about stuck with me. (Thanks, Mike!) Reading the article and following Mike’s links lead to an interesting article from Chris Pearson and his Golden Ratio Typography Calculator (just in case you don’t read all the way to the bottom of the page like I did … thanks, Chris!).

I think I have read these articles three or four times and made notes on how I wanted to apply them to Opus Primus. I should have done this much earlier now that I see the results. The site just looks that much better (with the current 1.3-alpha) than what it did in the past … it even looks great in mobile testing, too.

Most of the front-facing aspects of this new look are done although I’m sure I’ll find something to tweak … I always do.

If you have any ideas or suggestions feel free to share them in the comments below; constructive criticism is always welcome.

Enjoy!

Posted in News and tagged , , . Use this permalink for a bookmark.
* * * * *

Opus Primus 1.2.5

This release is a bit ahead of my usual schedule for theme updates (about two months rather than my normal three months) due to the number and extent of the updates, modifications, and corrections. They were starting to become more than what I would normally add (see the changelog below) in a “minor” update. This release may have been better served as version 1.3 but as it is already approved by the WordPress Theme Review Team I will leave the current version as is.

Although most of the work is still under the page, there are a couple of highlights to look at which are more obvious: a new pagination method (see the bottom of any list view page), and adjustments to the Opus Primus TagLines parameters to make it more easily seen (once it is activated in the editor “Screen Options” in the top right corner of your screen).

Below is the recent changelog:

To see the changelog click here.To hide the changelog click here.

== Changelog Version 1.2.5 ==
* Released July 2014

= Code =
* Added new method `OpusPrimusNavigation::pagination` for moving between pages of posts
* Added new method `OpusPrimusNavigation::pagination_wrapped` to provide actions hooks before and after the `pagination` method
* Added `antispambot` email protection to author biography email addresses
* Added sanity checks to ensure widgets are active before rendering sidebars
* Added `opus_primus_defaults.php` to replace `$opus_defaults` class
* Added `opus-primus-ignite.php` to reduce clutter in `functions.php`
* Added `opus_image_link_navigation_output` filter hook to provide access to navigation output
* Added `opus_tagline` to default hidden screen options array
* Adjusted the `OpusPrimusStructures::the_loop` and `OpusPrimusStructures::the_loop_archives` to use the `pagination_wrapped` method
* Changed navigation method from `posts_link` to `pagination`
* Changed single view first year of copyright to published year of post/page in `OpusPrimusStructures::copyright` method
* Deprecated `OpusPrimusDefaults` class (file may be removed in a future release)
* Enqueue custom stylesheet in an update safe location `/wp-content/opus-primus-customs/`
* Enqueue custom JavaScript in an update safe location `/wp-content/opus-primus-customs/`
* Refactored all defaults using true/false to use filtered define statements
* Refactored `OpusPrimusTaglines::tagline_create_boxes` to clarify the parameter usage
* Remove conditional customization enqueue using internal theme folder
* Renamed `opus-ignite.php` to `opus-primus-ignite.php` and moved to theme root
* Renamed `OpusPrimusNavigation::image_nav` to `OpusPrimusNavigation::image_link_navigation`
* Replaced `OpusPrimusStructures::replace_spaces` with `sanitize_html_class`
* Set Customization path and URL CONSTANTS

= CSS =
* Added `Navigation` section and `Pagination Method` sub-section
* Complete refactoring of the `@media` query styles for better responsiveness
* Corrected `select` element to use “max-width” rather than “width”
* Fixed white space on right side of iPhone displays
* Minor adjustments to `img` tag related items
* Monster be gone!? – addressed special case many level menu in sidebar

= Miscellaneous =
* Updated `hooks-filter.txt` documentation to note eight (8) new filters
* Updated `hooks-actions.txt` documentation to note two (2) new actions
* Updated `screenshot.png` to show a bit more of the theme display

I am planning some potentially significant visual changes for the next release (version 1.3?) and as always I welcome any constructive criticisms so feel free to share in the comments below … and don’t be afraid to offer any Feature Request suggestions, I would be more than happy to review them, too.

 

Enjoy!

Updated in News and tagged . Use this permalink for a bookmark.
* * * * *

New Feature: Pagination

Coming up in the next release of Opus Primus will be a much better implementation of pagination to move between list of posts. If you would like to get the feature now, please feel free to grab the latest release from the Opus Primus GitHub repository.

To get a sneak peek at what this will look like just scroll down to the bottom of the list of posts on the home page. Previous versions of the theme would have had a much more simpler navigation method just using text links of “Previous Page” and “Next Page”.

If you want to revert back to the plain text links of previous versions this is actually fairly easy to do. I would suggest starting with creating a Child-Theme so any changes you make to the theme will be update safe. I wrote an article a while back that may be helpful if you have not created a Child-Theme before. You can find it at WPFirstAid.com.

All you have to do is copy and paste the following line of code into your Child-Theme’s functions.php file:

add_filter( 'opus_navigation_pagination', array( 'OpusPrimusNavigation', 'posts_link' ) );

Enjoy!

Posted in How To and tagged , , . Use this permalink for a bookmark.
* * * * *

Opus Primus 1.2.4 – Live at WordPress.org

… and yes, this is still  one of my favorite emails to read:

Version 1.2.4 of Opus Primus is now live at <https://wordpress.org/themes/opus-primus>.

Any feedback items are at http://themes.trac.wordpress.org/ticket/18889

This was another release with a lot of little things as well as some improvements under the page. Please see the changelog below for more details:

To see the changelog click here.To hide the changelog click here.

== Version 1.2.4 ==
* Released May 2014

= Code =
* Added sanity check to only display comments_link when not in single view or in an archive view
* Added Featured Image Thumbnails to post-format single and archive view templates (except Post-Formats: Image and Gallery)
* Added `opus_primus_theme_version()` call as an accessible text string
* Added new default `number_of_secondary_images` method under Gallery parameters
* Bring the Featured Image Thumbnail back into the index view … can you say “waffle”?
* Change `$output = null` to `$output = ”` in `OpusPrimusPosts::sticky_flag` method
* Corrected typo in `’opus_links_pages_after’` hook
* Corrected modified date/time output to account for scheduled posts being modified earlier than they are posted
* Refactored conditional comments and featured thumbnail checks into the `comments_link` and `show_featured_thumbnail` methods
* Removed `extract` function, escaped attributes, and refactored conditional checks in PullQuotes Stanza
* Use `opus_primus_theme_version` in place of `wp_get_theme` calls
* Use transients to improve performance impact of the `OpusPrimusStructures::copyright` method

= CSS =
* Added Format-Aside Dashicons to Post-Format: Aside posts
* Added Flag Dashicons to Sticky Posts
* Changed Password Protected Dashicons to use the Lock
* Separated the Tagline output class into two different classes
* Updated normalize.css to 3.0.1 (copy and pasted from git.io/normalize)

= Miscellaneous =
* Added filter `opus_primus_theme_version_text`
* Change text domain to match theme slug
* Updated `hooks-actions.txt`
* Updated `hooks-filters.txt` (corrected reference to `opus_first_author_details_text`)
* Updated Opus Primus PullQuotes `readme.txt`

I have some ideas for the next release but I am also always open to suggestions …

Enjoy!

Updated in News and tagged . Use this permalink for a bookmark.
* * * * *

Opus Primus 1.2.4-beta Available

The latest version of Opus Primus (version 1.2.4-beta) is available from its home repository on GitHub.

Again, this is mostly a release dealing with minor details and minimal to no functionality changes (ideas are welcome, feel free to add yours in the comments below).

I expect to have this latest version pushed to the WordPress Theme repository shortly, perhaps as soon as a couple of days but at most it should be within the week … unless I get any reports back of something significant in this latest version that needs to be addressed immediately. As it is, I will be deploying this beta version to this site as well as my personal site and to WPFirstAid.com. Feel free to have a look around on those sites to see the theme live.

Below is a sampling from the current changelog:

To see the changelog click here.To hide the changelog click here.

= Code =

* Added Featured Image Thumbnails to post-format single and archive view templates
* Corrected modified date/time output to account for scheduled posts

= CSS =

* Added Format-Aside Dashicons to Post-Format: Aside posts
* Added Flag Dashicons to Sticky Posts
* Changed Password Protected Dashicons to use the Lock

= Miscellaneous =

* Change text domain to match theme slug

Updated in News and tagged . Use this permalink for a bookmark.
* * * * *

Opus Primus 1.2.3 – Live at WordPress.org

Always one of my favorite type of emails to receive:

Version 1.2.3 of Opus Primus is now live at <http://wordpress.org/themes/opus-primus>.

Any feedback items are at http://themes.trac.wordpress.org/ticket/16874

There were lots of little things added with this latest version. You can find the complete changelog entry for this version below.

To see the changelog click here.To hide the changelog click here.

== Version 1.2.3 ==
* Released February 2014

= Code =
* Added more tests
* Added Featured Image thumbnail to standard post-format archive views
* Moved `featured_image` wrapper into OpusPrimusGallery::featured_image method
* Moved `secondary_images` wrapper into OpusPrimusGallery::secondary_images method
* Moved the ellipsis out of the read more link
* Refactored `$output` to use `button` class versus the button element in meta byline flags
* Removed unused parameter `$more` from `OpusPrimusPosts::excerpt_more_link` method
* Removed `$sep_location` parameter as it was not used in `browser_title` method
* Removed Featured Image thumbnail from index view
* Renamed `OpusPrimusDefaults` methods from `show_*` to `display_*`
* Set `display_page_byline` to true as theme author aesthetic choice

= CSS =
* Added post coda post format classes
* Added `dashicons` dependency to main `Opus-Primus` stylesheet
* Added `button` class to replace the button element styles
* Change to only append to the `cite` tag when it is inside the `blockquote` tag
* Center align Calendar Day table header cells
* Fixed really long Post Titles and Words not wrapping as expected
* General clean-up and removal of excess/over-writing properties
* Prepended Post Byline with matching Post-Format dashicons
* Re-Adjust `ul.nav-menu` and `.nav-menu` to `z-index: 3` for main menu
* Reduced the citation font-size for better aesthetics

= JavaScript =
* Re-format code structures
* Removed `table-stripe` class from specific Calendar elements

= Miscellaneous =
* Updated tags used in `style.css` header block to include responsive-layout and fluid-layout
* Updated `readme.txt` to note existence and location of `changelog.txt`
* Updated `readme.txt` copyright notice to clarify copyright years used by individual files.
* Updated Required WordPress version to 3.8 for `dashicons` dependency

Updated in News and tagged . Use this permalink for a bookmark.
* * * * *

Opus Primus 1.2.3-beta Available

The latest version of Opus Primus (version 1.2.3) as a beta is available from its home repository on GitHub.

Please feel free to get yourself a copy and have some fun with it … let me know if you find anything not working as expected and I will make every effort to correct it before I submit this version for inclusion in the WordPress Theme repository.

Below are some highlights from the current change log, the entire change log will be noted in the stable release post.

To see the changelog click here.To hide the changelog click here.

= Code =
* Added Featured Image thumbnail to standard post-format archive views
* Removed Featured Image thumbnail from index view
* Renamed `OpusPrimusDefaults` methods from `show_*` to `display_*`
* Set `display_page_byline` to true as theme author aesthetic choice

= CSS =
* Added post coda post format classes
* Fixed really long Post Titles and Words not wrapping as expected

Updated in News and tagged . Use this permalink for a bookmark.
* * * * *

Updates to Code Format and Standards Page

Just a quick note to say that the links on the Code Format and Standards page have been updated to point to the Make WordPress Core Handbook entries.

I have also added a link to the WordPress.xml file I use with PhpStorm (my IDE of choice) by JetBRAINS for reference purposes.

Updated in Update. Use this permalink for a bookmark.
* * * * *