Sterling Changelog

Posted in: ,

Overview

This article provides a detailed changelog for the Sterling WordPress Theme.

Version 2.2

  • Overview of Changes:
  • ——————————————–
  • New – Sticky Header / Menu Bar. (visit the ‘Interface Options’ section of Site Options Panel to activate)
  • New – Site Options Panel re-designed to match WordPress 3.8 UI.
  • New – Ability to add a jQuery Slider to any page – unlimited sliders.
  • New – Ability to create unlimited (custom) Gallery Pages.
  • New – Selectable Logo positions (left, right and center)
  • New – (369) Font-Awesome Vector Icons Shortcode.
  • New – Font-Awesome Vector Icon Boxes Shortcode.
  • Improved – Better rendering of drop-down menu in IE9 and IE10
  • Improved – Greater compatibility with Google WebMaster Tools.
  • Improved – CSS3 PIE script added to provide more CSS3 support in IE8.
  • Update – Sterling’s Shortcode Manager updated to be ready for WordPress 3.9 / TinyMCE 4.0.
  • Update – TGM-Plugin-Activation script updated to newly released version (2.4.0)
  • Optimized – Alphabetically oragnized all CSS properties for quicker parsing.
  • Optimized – Reduced filesizes and number of files used in Site Options Panel.
  • Miscellaneous bug fixes.
  • Files Modified:
  • ——————————————–
  • header.php
  • style.css
  • /css/IE.css
  • /css/_mobile.css
  • /css/_woocommerce.css
  • /framework/extended/grunion-contact-form/grunion-contact-form.php
  • /framework/extended/grunion-contact-form/grunion-form-view.php
  • /framework/extended/multiple_sidebars.php
  • /framework/theme-specific/admin-functions.php
  • /framework/theme-specific/javascript.php
  • /framework/theme-specific/metabox.php
  • <framework/theme-specific/navigation.php/li>
  • /framework/theme-specific/site-options.php
  • /framework/theme-specific/taxonomy.php
  • /framework/theme-specific/tinymce/config.php
  • /framework/theme-specific/tinymce/plugin.js
  • /framework/theme-specific/tinymce/js/popup.js
  • /framework/js/jquery.prettyPhoto.js
  • /framework/js/custom-main.js
  • /framework/global/theme-functions.php
  • All old page-template-gallery-***.php
  • Files/Folders Added:
  • ——————————————–
  • page-template-filterable-gallery.php
  • /css/PIE
  • /framework/admin/images/site-option-images
  • /framework/js/admin-remove-page-template-select-option.js
  • /framework/js/scrollWatch.js
  • Files/Folders Removed:
  • ——————————————–
  • ../framework/admin/images/color-schemes
  • ../framework/admin/images/banner-overlays
  • ../framework/admin/images/shadows
  • ../framework/admin/images/footer-layouts
  • ../framework/admin/images/fonts
  • ../framework/admin/images/logo-builder
  • ../framework/admin/images/body-backgrounds
  • ../framework/admin/images/footer-layouts
  • ../framework/admin/admin-style-grey.css
  • Description of Code Changes:
  • ——————————————–
  • /style.css – Line 308 Added bug fix for wrapping menu items in Chrome Browser.
  • /style.css – Line 231 – 255 Added properties for sticky header.
  • /style.css – Line 308 – 325 Added properties for center and left nav positions.
  • /style.css – Line 384 Added text-align:left; to header .sub-nav to make up for the nav alignment with the center logo.
  • /style.css – Line 505 – 531 Added properties for center and left logo positions.
  • /style.css – Lines 6079 – 6131 Optimized the output of dropdown menu in top-toolbar.
  • /style.css Moved all .ie css to the file IE.css.
  • style.css – Lines 6028 – 6070 Added CSS for Font Awesome Icon Boxes.
  • /css/IE.css – Line 1 – 9 Added border radius for header .sub-nav for IE 8, made possible by PIE.
  • /css/IE.css – Line 10 – 16 Optimized box shadow to make it consistant for header .sub-nav in IE 9 and 10.
  • /css/IE.css – Line 138 – 247 Added all .ie css properties from style.css.
  • /css/_mobile.css – Lines 36, 37 Modified CSS for jquery slider arrows on mobile.
  • /css/_mobile.css – Lines 456 – 462 Modified CSS for top-toolbar dropdown menu on mobile.
  • /css/_woocommerce.css – Line 2340 Added code to fix country dropdown-select bug.
  • header.php – Line 16 – 17 Defined $true_sticky_header and $true_logo variable.
  • header.php – Line 28 – 34 Linked PIE for border radius in IE for header. sub-nav.
  • /framework/framework_init.php – Lines 166 – 219 Added code for sticky header + CSS for vector dashicons.
  • /framework/theme-specific/admin-functions.php – Line 77 added “width:auto” to fix wordpress login logo bug.
  • /framework/theme-specific/javascript.php – Line 37 Grab Variables for localize custom-main.js for the sticky header.
  • /framework/theme-specific/javascript.php – Line 41 Set the data into array for localize for the sticky header.
  • /framework/theme-specific/javascript.php – Line 77 Added wp_localize_script for sticky header.
  • /framework/js/custom-main.js – Line 115 – 174 Added jQuery to replace class name for the animated sticky header.
  • /framework/js/jquery.prettyPhoto.js – Line 879 Added codes to sanitize hashtag url to prevent XSS.
  • /framework/theme-specific/site-options.php – (most of the file) Optimized file by combining image locations. Organized Site Options to match new UI.
  • All old page-template-gallery-***.php – Line 19 added depth to wp_list_categories so that it shows only top category in filter for old gallery templates.
  • /framework/theme-specific/taxonomy.php add hierarchical parameter to register taxonomy so as to allow child categories.
  • framework/theme-specific/navigation.php – Line 243 Added codes to prevent printing empty gallery category name in class
    truethemes_gallery_walker
  • /framework/theme-specific/metabox.php – Line 2 Added codes for new gallery taxonomy dropdown list filter. Line 415 added gallery settings metabox.
  • framework/global/theme-functions.php – Line 157 Added {if check}, do not filter pre_get_posts for single category view
  • /framework/extended/grunion-contact-form/grunion-contact-form.php – Lines 876,877,897-906 Modified code to better suit the new UI design of WordPress 3.8.x
  • /framework/extended/grunion-contact-form/grunion-contact-form-view.php – Lines 99-118 Added additional instructions for the user.
  • /framework/theme-specific/tinymce/config.php – Lines 365 – 517 Added Vector Icons and Vector Icon Boxes to Shortcode Manager.
  • //framework/extended/multiple_sidebars.php Updated entire file to include on-screen instructions and better cross-browser compatible.

Version 2.1.7

  • - File Update: /tinymce/config.php Line 439 added missing icon chart.
  • - File Update: /tinymce/popup.php and tinymce/preview.phpAdded security check to fix XSS vulnerability.

Version 2.1.6

  • - File Update: /css/_woocommerce.css Line 2305 to 2338 Fix missing view cart button in product category, add to cart message spacing in single product and star rating
  • - File Update: /extended/latest_tweets.php Updated using latest Oauth API

Version 2.1.5

  • - Overview:
  • Minor CSS Bug fixes.
  • - File Update: /framework/style.css Line 2592 – Fixed team member photo frame bug.
  • - File Update: /framework/css/_woocommerce.css Line 1795 – Fixed ‘calculate shipping’ button bug.
  • - File Update: /framework/theme-specific/site-options.php, comments.php, page-comments.php Added the ability to use WordPress default avatar.
  • - File Update: /css/_mobile.css line 825 and 826 added fix for missing left and right slider buttons.
  • - File Update: grunion-contact-form.php line 453 fixed success message notification css class name.
  • - File Update: prettyPhoto.js and custom-main.js Updated prettyPhoto to version 3.1.5

Version 2.1.4

  • - Overview:
  • Visual improvements to shortcode manager.
  • Added Pricing Boxes to shortcodes.
  • Added ‘Jumbo’ button size to shortcodes.
  • Added Linkedin to team members shortcode
  • Added ‘Email Label’ to team members shortcode
  • Added new Footer and Blog options to Site Options Panel
  • Optimized CSS. Removed @import and combined images into single image sprite.
  • Optimized top-toolbar dropdown menus.
  • Updated jQuery Isotope to version 1.5.25
  • Updated custom-meta-box to version 0.9.2
  • Fixed “un-even rows” bug in Gallery sections.
  • - Removed Files: /images/global/… arrow-up.png, bg-archive-heading.png, bg-banner-search-glass.png, bg-banner-search.png, bg-breadcrumb-home.png, bg-footer-callout.png, bg-footer-copyright.png, bg-meta-data.png, bg-slider-nav.png, bg-slider-navigation-arrows.png, bg-team-contact.png, bg-texture.png, bg-toolbar-social-icons.png, bg-top-link.png, bg-tt-share.png, bg-ui-top-link.png, img-frame.png, quotation-marks.png No longer needed. These images added to single image sprite (/global/sprite.png)
  • - Removed Files: /images/shortcodes/… arrow-down.png, accordion-BG.png, arrow.png, button-sprite.png, callout-bg-dark.png, callout-bg-light.png, cross.png, exclamation.png, notification-closeable-x.png, minus-sign.png, neutral.png, plus-sign.png, tick.png, tt-dropcap-sprite.png No longer needed. These images added to single image sprite (/global/sprite.png)
  • - Removed Folder: /images/shortcodes/icons No longer needed. These images added to single image sprite (/global/sprite.png)
  • - Removed Folder: /images/shortcodes/mono-icons No longer needed. These images added to single image sprite (/global/sprite.png)
  • - Removed Folder: /images/global/prettyPhoto No longer needed.
  • - File Update: /framework/theme-specific/shortcodes.php Line 466 – Added $email_label and $linkedin properties.
  • - File Update: /framework/theme-specific/tinymce/config.php Line 870 – Added $email_label and $linkedin to visual shortcode manager.
  • - File Update: /framework/theme-specific/tinymce/config.php Line 57 – Added ‘Jumbo’ button size.
  • - File Update: /framework/theme-specific/tinymce/plugin.js Line 22 – Added ‘split button’ tinymce function.
  • - File Update: /framework/theme-specific/_theme_specific_init.php Line 2 – Added woocommerce theme_support function.
  • - File Update: /framework/js/jquery.isotope.js Updated to version 1.5.25
  • - File Update: /framework/css/_mobile.css Line 448 – Top toolbar dropdown menu optimizations.
  • - File Update: /framework/style.css Line 4903 – Top toolbar dropdown menu optimizations.
  • - File Update: /framework/style.css Line 4997 – Adding styled for pricing box shortcodes.
  • - File Update: /framework/js/custom-main.js Line 396 – Added jQuery to fix “un-even rows” in jQuery isotope.
  • - File Update: /framework/truethenes/metabox/ Updated all files in this folder to new script version 0.9.2
  • - File Update: /framework/framework_init.php fixed timthumb multisite url, it is actually the same for both single and multisite installation

Version 2.1.3

  • - File Update: multiple_sidebars.php Line 70 replaced opening p tag with h3 tag.
  • - File Update: timthumb.php Update timthumb to latest version 2.8.11
  • - File Update: shortcodes.php Line 442 added raw tags to prevent auto p end tag added in blockquote
  • - File Update: functions.php Added missing PHP closing tag at end of file
  • - File Update: framework_init.php Enhanced Jetpack plugin check.
  • - File Update: theme-specific/admin-functions.php line 157 modified to prevent sanitization of custom css code from site option.
  • - File Update: theme-specific/admin-functions.php line 275 added check for background image to prevent null.png
  • - File Update: en_US.po and en_US.mo Updated new translation strings.
  • - File Update: metabox.php and all gallery templates Added Lightbox description for all Lightbox images.
  • - File Update: widget.php and style.css Added pinterest and instagram to custom social widget.
  • - File Update: _mobile.css Added fix for boxed layout margin and padding
  • - File Update: _mobile.css Added fix for comments width, video embed width, construction date in single article view in iPhone and fixed video embed width iPad Portrait view.
  • - File Update: _woocommerce.css Fix for woocommerce version 2.0.1 explanation in file
  • - File Update: grunion-contact-form.php Fix message icon background image url path.

Version 2.1.2

  • - File Update: /css/_woocommerce.css Update with woocommerce products width and remove bullets css fix.
  • - File Update: framework_init.php Update with class_exists check for Jetpack grunion contact form.
  • - File Update: admin-functions.php Updated with checks for Jetpack plugin, show global notification in Theme activation view if detected.
  • - File Update: latest-tweets.php Update with checks for allow_url_fopen and cURL, and error message fallback.
  • - File Update: style.css Comment out line 5449, to allow links in tweets.
  • - File Update: footer.php Fixed error in slide.js init code, removed quotes to boolean true.
  • - File Update: page-comments.php Fixed error in wp_lists_comments() callback. Callback function should be truethemes_page_comments
  • - File Update: footer.php Added function to allow HTML in copyright notice.
  • - File Update: wpml-config.xml Added new site option strings, st_woocommerce_title and st_woocommerce_description.

Version 2.1.1

  • - Added New File: /framework/js/respond.js New file added for CSS3 Media Queries in web browsers > IE8.
  • - File Update: header.php Added reference to respond.js for Internet Explorer.
  • - File Update: /framework/theme-specific/shortcodes.php Removed [raw] tags for proper paragraph formatting.
  • - File Update: /framework/js/jquery.scrollTo-min.js Updated file to latest version. Fixed Google Chrome rendering bug on FAQ template.
  • - File Update: css/_woocommerce.css Fixed “wrapping checkout button” bug.

Version 2.1

  • - Overview: Compatibility with WordPress 3.5, Theme now packaged with WP CU3ER and Layer Slider Plugins, Ability for Sliders on every page, Completely re-vamped Core Theme Files for speed security and optimization.
  • - File Update: (nearly all files) We’ve commissioned a developer of WordPress core to completely optimize every file in this version. The theme has been completely optimized for speed, security and optimization. All code now also follows WordPress Codex Coding Standards.
  • - File Update: (all page templates updated) Replaced banner code with page slider code. All pages now have ability for custom slider.
  • - File Update: /framework/theme-specific/metabox.php Added new metaboxes to post and page editing screens for custom slider input.
  • - File Update: /framework/extended/grunion-contact-form/grunion-contact-form.php Modified button styling to match WordPress 3.5 styling.
  • - File Update: screenshot.png Modified screenshot dimensions as per WordPress 3.5 retina display requirements (600x450px)
  • - Added New File: template-part-page-slider.php New functionality for page sliders.
  • - Added New Folder: /framework/extended/tgm-plugin-activation New script that enables you to easily install recommended plugins for this theme.

Version 2.0.3

  • - Overview: Speed optimizations and bug fixes.
  • - File Update: /framework/global/theme-functions.php Added code to further clean up wp_head output. Added code to further optimize TrueThemes ‘comments on pages’ functionality.
  • - File Update: /css/_woocommerce Further optimized CSS for woocommerce.
  • - File Update: header.php Added CSS3 Media Queries to IE8 and below.
  • - File Update: /framework/admin/admin-interface.php Speed Optimization for ‘save settings’ functionality.
  • - File Update: page-template-full-width.php Added check for WooCommerce page and applied custom CSS Class accordingly.
  • - Added New File: /images/arrow-small-down.png Image used on main navigation.
  • - Added New File: /images/arrow-small-right.png Image used on main navigation.
  • - File Update: /framework/js/custom-main.js Added new code to add arrow indicators on main nav items that contain child pages.
  • - File Update: style.css Added CSS for arrow indicators on main nav items that contain child pages.

Version 2.0.2

  • - Overview: Further optimized woocommerce shortcodes. Added new shortcodes: content boxes, email encoder, drop caps, highlight text, mono icons.
  • - File Update: footer.php Added new class name to Footer Callout Button.
  • - File Update: /framework/theme-specific/shortcodes.php Added new shortcodes.
  • - File Update: /framework/theme-specific/tinymce/config.php Added new shortcodes.
  • - File Update: /framework/theme-specific/tinymce/plugin.js Added new shortcodes to the visual shortcode dropdown list.
  • - File Update: /css/_woocommerce Further optimized CSS for woocommerce shortcodes.
  • - Added New Folder: /images/shortcodes/mono-icons Images used for mono icons shortcode.
  • - Added New File: /images/shortcodes/tt-dropcap-sprite.png Image used for drop cap shortcode.

Version 2.0.1

  • - Meta Box (Page Settings): Updated with checkbox to allow comments on page.
  • - Added New File: /page-comments.php
  • - Widget Update: Updated Twitter widget to work with new Twitter API.
  • - Overview: Boxed Layout, Body Backgrounds, Per-Page Styling, Comments on Pages, Theme Designer Options
  • - File Update: /css/_mobile.css Improved responsive-ness of Under Construction Page Template.
  • - File Update: /framework/theme-specific/shortcodes.php Modified Shortcode for Notification Boxes.
  • - File Update: /framework/theme-specific/tinymce/config.php Added ‘closeable’ option to Notification Boxes.
  • - Added New File: /images/shortcodes/notification-closeable-x.png

Version 2.0

  • - Overview: Boxed Layout, Body Backgrounds, Per-Page Styling, Comments on Pages, Theme Designer Options
  • - Site Options Panel: Added new option for Slider Navigation Arrows.
  • - Site Options Panel: Added new option for Boxed Layout.
  • - Site Options Panel: Added new option for Body Background Color.
  • - Site Options Panel: Added new option for Body Background Image.
  • - Site Options Panel: Added new option for Body Background Image Position.
  • - Site Options Panel: Added new option for Body Background Image repeat.
  • - Shortcode Update: Added Facebook and Google+ to Team Members Shortcode.
  • - Shortcode Update: Added Team Members to Visual Shortcode Editor.
  • - Shortcode Update: Added Testimonials to Visual Shortcode Editor.
  • - File Update: /css/_mobile.css Added styles for Slider Navigation Arrows.
  • - File Update: style.css Added styles for Slider Navigation Arrows.
  • - File Update: style.css Added styles for Boxed Layout.
  • - File Update: footer.php Modified JavaScript and PHP for Slider Navigation Arrows.
  • - File Update: footer.php Added closing div tag for boxed layout.
  • - File Update: header.php Added opening div tag for boxed layout.
  • - File Update: header.php Added conditionals for custom per-page color scheme.
  • - File Update: page-template-home-jquery.php Added PHP check for Slider Navigation Arrows.
  • - File Update: page-template-home-jquery-sidebar.php Added PHP check for Slider Navigation Arrows.
  • - File Update: wpml-config.xml Optimized XML strings for WPML Translation Plugin.
  • - File Update: /framework/admin/admin-style.css Modified CSS for color-picker descriptive text.
  • - File Update: /framework/theme-specific/metabox.php Added new page option for custom per-page color schemes.
  • - File Update: /framework/global/widgets.php Added Google+ to Social Media Widget.
  • - File Update: /images/global/image-sprite.png Added Google+ Icon.
  • - File Update: /framework/admin/images/bg-icn.png Added Icon for WooCommerce Page.
  • - File Update: /images/global/bg-toolbar-social-icons.png Added Google+ Icon.
  • - Folder Update: /framework/truethemes/metabox Updated Metabox script to latest version (0.9).
  • - Added New Folder: /images/body-backgrounds
  • - Added New File: /template-part-page-styling.php

Version 1.0.9

  • - File Update: /css/_woocommerce.css Added CSS fixes for product review functionality.
  • - File Update: /framework/js/custom-woocommerce.js Added optimizations for WooCommerce shopping cart widget.- File Update: /framework/theme-specific/update-notifier.php Added fix for Child Theme update notification.

Version 1.0.8

  • - Improved Theme Compatibility with WooCommerce Plugin.
  • - Site Options Panel: Added new section for WooCommerce Settings.
  • - Added New Folder: /images/woocommerce
  • - Added New File: /framework/js/jquery.superfish.js
  • - Added New File: /framework/js/custom-woocommerce.js
  • - Added New File: /framework/extended/woocommerce.php
  • - Added New File: /template-part-woocommerce-banner.php
  • - File Update: page.php Added WooCommerce conditionals.
  • - File Update: /framework/js/custom-main.js Added jQuery superfish function. (added for drop-down nav within top toolbar)
  • - File Update: /framework/theme-specific/javascript.php Added WooCommerce conditionals. Enqueue jQuery superfish script.
  • - File Update: /framework/theme-specific/sidebars.php Added 2 new sidebars for WooCommerce pages.
  • - File Update: page-template-left-nav.php Added ability for custom Left Nav Menu.
  • - File Update: /framework/theme-specific/metabox.php Added Metabox to WordPress Page Editing screen which allows for custom Left Nav Menu.

Version 1.0.7

  • - Fixed all templates and site option to allow text with apostrophe
  • - Fixed fatal error in category, archive, tags..etc caused by undefined function in template-part-small-banner.php

Version 1.0.6

  • - Fixed if conditional loop in comments.php to prevent sidebar from dropping off page.
  • - Loading of jQuery in html head for plugin compatibility.
  • - Minor bug fixes in search template
  • - Optimized PHP Error Reporting
  • - Optimized Timthumb URL for multi-site
  • - Improved Theme Compatibility with WPML Multilingual Plugin.

Version 1.0.5

  • Improved Theme Compatibility with WordPress 3.4.
  • Fixed SEO Module bug in Utility Page Templates.

Version 1.0.4

  • Fixed SEO issue with Page Title in FAQ and Gallery Templates.
  • Improved Responsive function of Homepage Lightbox page template.
  • Improved JavaScript page-specific loading.
  • Site Options Panel – Added ability to disable Responsive Design.
  • Site Options Panel – Added ability to disable Searchbar on a global level.
  • Site Options Panel – Added ability to rename breadcrumbs “Home” link.
  • Site Options Panel – Added ability to add a Banner Description to 404 and Search Results pages.
  • Added Localization Strings to Google Maps Widget.
  • Added JavaScript fix for top-link on FAQ page template.
  • Added PHP/Wordpress fix for Video Transparency bug.
  • Added HTML/PHP fix for Video Homepage Left Align.
  • Added CSS fix for single-line divider.
  • Added CSS fix for WordPress “nextpage” functionality.
  • Added CSS fix for #12 display bug on FAQ Page Template.
  • Added CSS fix for Theme Designer Banner Settings.
  • Added CSS fix for Tag Cloud background image.
  • Added CSS fix for Active Main Menu Link showing on Search Results page.
  • Removed File – “template-part-under-construction-footer.php” – Functions have been added to “footer.php”.

Version 1.0.3

  • Improved speed within in Admin Dashboard.
  • Fixed JavaScript Slider bugs. Clickable links and Featured Image ALT text.
  • Improved Footer Menu functionality. Menu will not display if nothing is set.
  • Fixed Business Hours Widget bug. Removed background color when placed in footer.
  • Improved jQuery Tab Shortcodes.
  • Fixed CSS bug with 3rd-level menu highlighting.

Version 1.0.2

  • Added new section to Site Options Panel (JavaScript Slider).
  • Fixed bug on “Under Construction” page template.
  • Updated Gallery Posts to allow for multiple categories.
  • Updated Gallery Posts to allow for page linking.
  • Improved Child Theme / Theme Designer compatibility.
  • Fixed column shortcode bug.
  • Updated TimThumb to latest version.

Version 1.0.1

  • Fixed PHP fopen error
  • Fixed SEO module settings saving
  • Fixed javascript error in drop menu, viewable only in error console
  • Fixed saving of default settings in site options.
  • Added suppressing of e_warning and e_notice etc when WP_DEBUG is set to true, does not suppress PHP error reporting.
  • Minor CSS adjustments for better “responsive-ness”.

Version 1.0

  • Initial Theme release.
changelog, change log, sterling changelog, change history, changes, history of changes, Changelog, Changelogs, Sterling Changelog