Blog

Get Your Message to the World Using These 5 WordPress & WooCommerce Themes

What would you do if you heard that WordPress is considered to be a go-to choice for a huge number of people? Right, you are not going to be surprised. This popularity is based on multiple factors. A boatload of customization options, the opportunity to choose from different WordPress responsive themes, an impressive community… It is possible to continue this list. Yet, we understand that you came here in order to look through some examples of WordPress business themes and WooCommerce templates. Let us get familiar with 5 variants of them that combine

Fixing PHP4 Constructor for PHP7

PHP 7 deprecates PHP4-style constructors. In PHP4, class constructor methods had the same name as the class: ​

This was bad when switching base classes; you did not only have to change the class’ extends declaration but also calls to the parent constructor. PHP5 then introduced the generic __construct method name for class constructors, which solved the problem. ​

PHP7 will output a deprecation message when a class with a PHP4-style constructor is loaded (not necessarily used): ​

PHP Deprecated: Methods with the same name as their class will not be
constructors in a

Remove plugin update notice

This action is not recommended, but in some case you’re gonna need it.

This post will show you how to hide individual plugins update notice. You have to add these lines of code to the function.php file in your theme (the example is working on hello plugin and akismet plugin):

// REMOVE UPDATE NOTICE FOR SOME INDIVIDUAL PLUGINS add_filter(‘site_transient_update_plugins’, ‘remove_update_notifications’); function remove_update_notifications($value) { if ( isset( $value ) && is_object( $value ) ) { unset($value->response[ ‘hello.php’ ]);

Missing the style.css stylesheet error

A common issue that can occur when installing a WordPress theme is “The package could not be installed. The theme is missing the style.css stylesheet.” error message being displayed when uploading or activating the theme.

Lots of customers and WordPress users are complaining an useless theme pack while they’re trying to install it on your self host WordPress. It sounds a serious trouble, but actually it doesn’t. When you buy a premium theme, there always are lots of resources come along with the theme – and authors basically put them all

Read more