Opus Primus

… the first work. It works first!

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.
* * * * *

Opus Primus 1.2.2

Oddly enough, we were running the 1.2.1 version before updating to our latest release version 1.2.2 … we often run the bleeding edge version here. (I almost always run the latest version on my personal website.)

We noted a few minor issues that needed to be sorted out, such as, how the breadcrumbs trail really didn’t look all that great if you used almost anything other than the default background of white. So we changed the breadcrumbs trail to always have a white background (we may still re-factor this down the road but this was the solution we chose to put forward at this time). We’re open to ideas here as well.

We fixed and/or added more i18n code so anyone doing translations should find most if not all strings properly handled (we missed several previously strings in our image EXIF title outputs). We also fixed a Post-Format: Gallery issue that crept up on us as well. I was testing NextGEN Gallery by Photocrati (which works perfectly) with Opus Primus and found if you did not actually use the [ gallery ] shortcode with the Gallery Post-Format you got some really unexpected results.

Feel free to read through the changelog for more details on what all what done with this latest version … and enjoy!

To see the changelog click here.To hide the changelog click here.
== Version 1.2.2 ==
* Released October 2013

= Code =
* Added conditional test rather than print both breadcrumbs (one empty)
* Additional i18n code corrections and enhancements
* Corrected i18n code for EXIF data
* Extracted $post_title management from `post_breadcrumb` method into the `breadcrumb_post_title` method
* Fixed issue with Gallery Post-Format being used when the `gallery` shortcode is not used.
* Fixed undefined offset when there is no image found in post

= CSS =
* Reduced all menu related elements with `z-index` property to a value of 1
* Removed `z-index` property from breadcrumb related elements
* Set the breadcrumbs background color to `#ffffff` (white)

= Miscellaneous
* Add documentation to the `first_linked_image` function
* Removed `table-stripe` class from Post-Format: Image tables
* Tested up to WordPress version 3.7

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

Gallery Post-Format and No [gallery] Shortcode Fix

See version 1.2.2-alpha on the Opus Primus GitHub repository

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

Opus Primus 1.2

I was considering uploading this version last week but given the various rumbling that came out of WordCamp San Francisco I thought a few more days and WordPress version 3.6 would be available which is more along the timeline I had in mind for this release.

Now there were actually quite a few changes to the theme but most will be noticed behind the scenes versus by your readers. One of the biggest changes, at least from a performance perspective, was the merging of the LESS stylesheet and components into the theme itself. In some test scenarios this cut the load time in half!

Work on version 1.3 is already in the initial planning stages so please feel free to make any constructive comments and / or feature requests for consideration. In the meantime, I hope you enjoy this latest version of Opus Primus … of course that is after the theme passes through the WordPress Theme Review Team processes.

To see the changelog click here.To hide the changelog click here.
=== Opus Primus Changelog ===
== Version 1.2 ==
* Released August 2013

= Code =
* Added display of featured image centered at full size in single standard post format view
* Added full `featured_image` method call to single view of post formats audio, chat, quote, and status
* Added `get_author_description` method in Authors class
* Added filtered `comment_form_required_field_glyph` method in Comments class
* Added many new filters – see http://opusprimus.com/under-the-page/hooks-filters/ or `hooks-filters.txt` for a current list
* Added sanity conditional check to eliminate potential duplicate body classes
* Added `is_single` conditional test before enqueue of Comment Tabs script
* Added post to post navigation in single view
* Added conditional check if not post password required when displaying comments
* Added conditional for showing the page byline details
* Added `show_page_byline` default and set as false
* Changed `the_post_thumbnail` to use parameters which are set in the call to `OpusPrimusImage::featured_image`
* Changed post thumbnail on pages to full size image and align to the center
* Changed comment fields into an unordered list
* Changed `meta-tags` container from `p` to `div` (adjusted CSS as needed)
* Changed `opus_post_byline_details` filter to `opus_post_byline_phrase`
* Check for long post titles in breadcrumbs and trim as needed
* Display comment count in meta details if comments exist and comments are closed
* Fixed call to wrong post navigation function in single view
* Merge `opus-ignite.php` into `functions.php`
* Moved `featured_image` method call into `is_single` conditional in post-format loops
* Removed `featured_image` method call from post-formats link and video loops
* Removed global `$opus_image_meta`; replaced with call to `exif_data` method
* Removed `style.less` related function and action calls
* Removed `restore_image_title`

= CSS =
* Added styles for comment form fields
* Added more specific selector used with `.post.format-link`
* Added more BNS Plugin Integration (BPI) adjustments
* Added styles from compiled `style.less` file (file removed)
* Added `img` elements for captioned images and `wp-smiley` images
* Address both class and id usage for the sidebar search form
* Adjusted widths of comment form elements
* Adjusted CSS to better handle large images with captions in large full-width displays
* Adjusted `table` elements from `max-width: 100%` to `width: 100%` and other minor changes
* Minor tweaks and adjustments
* Sorted out the adaptive layout for screens less than 480px wide

= JavaScript =
* Added more specific selector used with `.post.format-link` when adding `.link-symbol` class
* Added script to create class to display tables with striped rows
* Removed LESS JavaScript library

= Stanzas =
* PullQuotes – Added `pullquotes-readme.txt` file
* PullQuotes – Added left-side placement with new `to` parameter
* Taglines – Added `taglines-readme.txt` file
* THA – Added `tha-readme.txt` file

= Miscellaneous =
* Documentation Updates
* Minor changes to text tense used in `changelog.txt`
* Removed `style.less` file (compiled and merged into `opus-primus.css` file)
* Removed license references related to LESS as all components were removed
* Updated `hooks-actions.txt`
* Updated `hooks-filters.txt`
* Updated `readme.txt` FAQ – What is the difference between how the “Featured Image” is used on a post and how it is used on a page?
* Updated `readme.txt` FAQ – What are Stanzas?
* Updated `readme.txt` FAQ – What happened to the LESS components of the theme?
* Updated outstanding @todo items with version (number added at end of line)

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