Posts

How to Solve Wordpress Error "your file exceeds the maximum upload size"

Image
  Solve Wordpress Error "your file exceeds the maximum upload size" are you getting Wordpress Error " your file exceeds the maximum upload size "? This error may occur whenever you try to manually upload Themes or Plugins in Wordpress. I am going to explain you about how to solve this problem is most simple and easy steps: Step 1: Go to your root directory location where Wordpress files are installed. Eg for local Xampp server: Go to   C:\xampp\htdocs \theme-demo (theme-demo is root directory where WordPress is installed locally)  Eg for live serve: open your File Manager and open WWW or public_html folder. Step 2: Search for .htaccess File and add the following highlighted code & Save Changes. # Begin WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /theme-demo/ RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /theme-demo/ind

how to add social media icons to WordPress footer without plugin

Image
Do you want to add Social Media Icons to Wordpress Footer without using a plugin? This post will explain to you how to add social media icons to Wordpress footer without using any plugin so let's get started. Follow the following steps to add social media icons to Wordpress Footer: Step 1. To add social media icons to your WordPress website you need to add CDN to load Icons like I suggest Fontawesome CND which is free to use. a. Add the below code inside your <Head>...........</head> section of your theme manually or you can use any Plugins to add code inside Header. <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"/> b. Search icon and get the HTML code from the Fontawesome website. The link is given below.        https://fontawesome.com/icons?d=gallery&m=free Step 2: Then, add the Text widget to your footer widget section and add the following code: <

How to Use Java 8 Language Features in Android Studio?

Image
Do you want to Use Java 8 Language Features in Android Studio ? Now, you can use features of Java 8 Language features & for that your Android Studio version must be 3.0 or Higher. Follow these steps to use Java 8 Language Features in Android Studio. Start Android Studio & open a New Project or your existing project. Navigate & Expand your Gradle Scripts , Open build.gradle (Module: app) file.  Copy & Paste the following Line of Code inside android {............} section as shown in the figure below:  compileOptions { sourceCompatibility JavaVersion. VERSION_1_8 targetCompatibility JavaVersion. VERSION_1_8 } Finally, Sync your project, if the sync is successful then you can use Java 8 Language features in Android Studio. Test Java 8 Language features: Before Java 8 Language features Click Event will be like: btnTake .setOnClickListener( new View.OnClickListener() { @Override public void onClick (View

Fix HTTP Strict Transport Security not enabled on WordPress

Image
Looking for a solution to Fix HTTP Strict Transport Security not enabled on WordPress . This post will explain to you how to fix the " HTTP Strict Transport Security not enabled " problem on your Wordpress website. Please follow the following steps to Fix HTTP Strict Transport Security not enabled on WordPress :   Login to your Cpanel of your Website & Open your File Manager . Open or Browse through WWW or public_html directory or folder. Search and Edit . htaccess file which is hidden so you must enable show hidden files option. If .htacess file is not present then you can create a file name with .htaccess. Copy & Paste the below code inside between opening  <IfModule mod_rewrite.c>   &  </IfModule> code.(Note: better to place next line of  <IfModule mod_rewrite.c> )         Header set Strict-Transport-Security "max-age=31536000" env=HTTPS   Save your .htaccess file after adding above code. Congrats, now y