Newspaper 6.6.x update – The Social Counter Plugin v 3.1 is here!

0
19477
Newspaper 6.6

This Newspaper 6.6+ update brings some major under the hood improvements in preparation for a bigger update. We always like to periodically take a step back, look at the big picture and if we see something that can be improved we do it! Even if in some cases nobody will ever see the improvement we like to make software that is polished even under the hood.

Due to the refactoring of core components we are now able to load a lot of the code only when needed. This alone brings performance gains and lower memory usage because the theme does not have to interpret all the code with each request.

We also took another step to our goal of having 100% of the JavaScript jshint compliant, now the majority of the theme’s JavaScript passes jshint, we expect to see a more stable JavaScript code that it’s easier minified by third party tools.

Social counter 3.1

In Newspaper 6.6  we improved the social counter for Google Plus, now instead of showing the +1’s it shows the followers count. We found that the followers count is the number that is shown on all the google plus pages. Version 3.1 also fixes the Facebook issue, on some servers the counter was unable to download the number of followers due to captchas shown by Facebook :).

Please update the plugin by deleting the old one and installing the new one from the theme panel. You can follow this tutorial about plugin update (It’s for visual composer but the same steps are used for the social counter as well).

New custom code panel

We moved all the custom code to one panel and we added auto complete and error detection to it. The code editor works with CSS, JavaScript and HTML and it detects common errors, like wrong selectors, broken HTML tags or JS code errors… it’s awesome.

GIF Newspaper 6.6 custom CSS
GIF
GIF

Performance improvements

  • the following modules of the theme are loaded on demand now: td_log, td_remote_http, td_remote_video, td_data_source, td_video_support, td_more_article_box, td_page_views, td_review, td_ajax. This means that the theme loads them only when needed. We mesured a 10% faster load time after this tweak.
  • Before this update, the editor style sheet used in tinyMCE was dynamically compiled from less on each request. In this update we managed to use a single css file that is precompiled while still providing the WYSIWYG feeling of tinyMCE and Newspaper.
  • Each demo now also has a custom CSS compiler. This compiler is used when you change the theme color or other settings that affect the appearance of the front end and with the new system each demo can load only the required css, without selectors or aditional css for other demos.

 New Visual Composer version

Visual-Composer-Logo-150x150We know you guys want the latest visual composer as soon as it comes out but we always test the plugin before we release an update to be sure that everything works as expected.

Newspaper 6.6.5 update – February 1th, 2016

  • fix: WooCommerce 2.5 compatibility + various styling issues
  • improvement: Visual Composer plugin updated to the latest version
  • improvement: Revolution slider updated to the latest version
  • improvement: theme panel status now shows the loaded demo information
  • improvement: footer logo title and alt attribute is now configurable from the theme panel
  • improvement: faster servers that serve the files for the one click demos

Newspaper 6.6.4 update – January 8th, 2016

  • fix: homepage pagination issue with WordPress 4.4.1

Newspaper 6.6.3 update – December 23th, 2015

  • new: visual composer was updated to the latest version 4.9
  • new: revolution slider was updated to the latest version 5.1.5
  • fix: modified structured data to comply with Google’s new requirements

Newspaper 6.6.2 update – December 12th, 2015

  • fix: pagination was not working on categories with big grid disabled on WordPress 4.4

Newspaper 6.6.1 update – December 3th, 2015

Newspaper 6.6 update – The full list of improvements

  • new: Custom code panel. We realized that all the custom css, html and javascript should be in one panel. We also added a custom HTML code section. All the input areas from this panel have autocomplete (ctrl+space) and error checking.
  • new: whatsapp share for article on mobile devices
  • new: added http channel test status in the system status panel. You can now check if the theme is able to get the tweet count, like count etc from your host.
  • new: filter posts by ID in blocks. You can add/exclude specific posts on all the blocks now.
  • new: the theme now has it’s own logging system. We can now debug hosting issues easier.
  • new: a new self diagnosting and self configurating module that allows our theme to pull data from other sites more reliably.
  • fix: smart list 7 and 8 – sometimes the content was doubled
    fix: g+ new icon
  • improvement: video playlist is now more reliable and all the code is loaded only when needed via autoload. The youtube videos information is now collected using just one API call instead of multiple API calls for each videos.
  • improvement: speedbooster 4.2 now supports woocommerce better and moves the style.css to the bottom
  • improvement: the theme panel works better now when adblock is used
  • improvement: all the ajax functionality of the theme is now loaded only when needed
  • improvement: better security checks on all the ajax requests
  • improvement: html is allowed now in the copyright section of the footer
  • improvement: social counter button is clickable on the entire area
  • improvement: almost all the javascript code now passes jshint. We still have about 15-20% of the code to refactor to the new standards but with time we will get there.
  • improvement: the theme’s data source class can now be overwritten from the child theme
  • improvement: all the widgets from the theme are now optimized to work better. The widget_builder class is now deprecated and all the functionality was moved to td_block_widget
  • improvement: the video playlist now downloads the videos metadata on render, not on save post. This allows us to use the playlist on the on click demos.
  • improvement: the following modules of the theme are loaded on demand now: td_log, td_remote_http, td_remote_video, td_data_source, td_video_support, td_more_article_box, td_page_views, td_review, td_ajax. This means that the theme loads them only when needed. We mesured a 10% faster load time after this tweak.
  • fix: theme animations where incompatible with some plugins and the visual composer gallery. The animations still worked but all of them looked a bit strange.
  • fix: bug with the demo loader – the dinamic css for a specific demo was still loaded even after the demo was uninstall
  • fix: header style 8 top submenu z-index fix
  • fix: image aligment issue when using custom article paddings
  • fix: the documentation url for demos was wrong in wp-admin
  • fix: we updated the ads links to point to the right documentation
  • fix: Social counter now shows the followers instead of +1 on google plus. Please update your social counter to see the improvement.
  • fix: styling issues with the latest version of BuddyPress
  • fix: on rare ocassions with some plugins the theme was emitting warnings in the server logs like: “Catchable fatal error: Object of class stdClass could not be converted to string”
  • fix: error that was showing up in logs when the theme panel was saved

The list of modified files | How to update the theme | Buy Newspaper