Posts

Showing posts with the label Coding

How To Embed Image from Google Drive to Your Website Like WordPress, Blogger, and or HTML Pages

Image
As a blogger, you should always consider the importance of having a good quality of image being embedded on your blog or any kind of website that uses image to attract more of their visitors, and one of the main problems of a newbie blogger of any Blog platform such as the WordPress is the size of the image, because as we all know that the higher quality of the image the higher the size it will be which will use up your hosting most especially to those blogger who only use shared hosting. So in this tutorial, we will guide you on how you can actually insert the uploaded image from Google Drive  to your website using only a simple HTML code which is very easy to do, so below will be the step by step guide on how you can actually do it. Step #1: Log-in your Gmail account and go to  https://drive.google.com/  where you need to upload the image you want. Step #2: Once you have done uploading the image you just need to get the ID of the image by simply do a right-click ...

Real Estate 7 "Warning: Cannot assign an empty string to a string offset"

Image
screenshot from ThemeForest Are you one of the devs or company which is using the Popular real Real Estate 7  in WordPress, well you might also face an issue about an error that looks like this below. "Warning: Cannot assign an empty string to a string offset —  class.wp-scripts.php " We write this article to help those who is currently facing the issue so what we do is locate the error line from class.wp-scripts.php  and make sure you replace it with the following code. Original Code: /*$l10n[ $key ] = html_entity_decode( (string) $value, ENT_QUOTES, 'UTF-8' );*/ Replace with this Code: if (!empty($value)) { $l10n[$key] = html_entity_decode( (string) $value, ENT_QUOTES, 'UTF-8'); } also, make sure that you are using a PHP version 7.0 or 7.1 and above so you can enjoy using this theme RE7 without any problems, and also before you start installing the demo of the themes make sure that you activate all the suggested plugins mention on the theme. Booking Calend...

How to Remove URL Text Field on WordPress Default Comment Box?

Image
This is one of the common question for every blogger which is using the WordPress CMS platform for blogging, and by default it has 4 field in comment section below each post (Name, Email, Website, and Comment). Now as we all know that not all users or visitors got a personal website so some blogger asking "How to Remove the Website Text Field on WordPress". Just copy the code below; add_filter('comment_form_default_fields', 'remove_url');  function remove_url($fields)  {  if(isset($fields['url']))  unset($fields['url']);  return $fields;  } and add this code to your functions.php, go to your WordPress backend area, and click Themes>Editor and look for the function.php and paste the code then that's it.