Author: GeeksLab Technology

Laravel uses a variety of caching systems to keep applications running smoothly. These caches include route caching, view caching, config caching, query caching and others. When we change something in a Laravel application, sometimes it doesn’t work because of caching. That’s why we have to clear cash. Here is a list of Laravel cache and how to clear them:1. Application CacheThe application cache stores the temporary data like query, search result, setting and others.Clear the application cache: Copy php artisan cache:clear 2. Route CacheLaravel caches all registered routes to reduce processing time.Clear the route cache: Copy php artisan route:clear Rebuild…

Read More

Add a preloader or loading animation for your WordPress website. How to add this following this tutorial: Method 1: Using a WordPress Plugin Install and Activate a WordPress Plugin: Login to your WordPress dashboard. Then, go to Plugins > Add New. Search Plugin “Preloader” or “WP Smart Preloader” in the WordPress directory. Then, activate and install this preloader plugin. Setup the  preloader WordPress plugin: After activating the “WP Smart Preloader” plugin, go to the plugin settings page (usually under Settings > Wp Smart Preloader or a similar section). Choose an options for your perfect preloder animation or upload your custom…

Read More

Variables are a means of holding data. Variables are used to store data temporarily in the memory of any application. Temporarily means that you can change this data anytime you want. Since the data of the variable can be changed, its name is Variables — that is, whose data or value varies or changes.In PHP programming, variables allow you to work with different types of data like strings, numbers, arrays, objects, etc.Basic Rules for PHP Variables:All variables start with a dollar sign ($) followed by the variable name.Example: $name, $age, $userScoreVariable names must start with a letter or underscore (_),…

Read More

If you are new to web development and want to create a fully dynamic website, Then PHP might be an excellent programming language for you. PHP (Hypertext Preprocessor) is a server-side scripting language that is specially designed for basic to high end web development. In today’s post we will learn about the basics of PHP, how PHP loops, variables and functions work. We will see how to create a landing page by coding with PHP. Let’s start learning PHP.What is PHP?Php is a widely used open source scripting language. It is possible to create any type of dynamic website using…

Read More

The admin dashboard in WordPress makes it simple to add or remove user accounts. Here’s a tutorial: 1. Adding a User in WordPress By Dashboard These steps will assist you in adding a new user. Steps to Add a User: Log in to Your WordPress Admin Panel: Go to mywebsite.com/wp-admin. Scroll down and go to the Users Section: In the left-hand menu, click Users > Add New. Enter the User Data: Username: Enter a unique username (you cannot change later). Email: Please provide the unique email address for each user. First Name and Last Name: These fields are optional but…

Read More

By default in WordPress, the “Add to Cart” button is what appears with additional plugins or themes installed it may display differently and you might even have some alternative texts. Here are a few ways in which you can do that: Method 1: Use Plugin (Without Writing any Code) There are plugins available that allow you to change the “Add to Cart” text without code. 1. Add to Cart Button Custom Text: Download and Install the “Add to Cart Button Custom Text” plugin from WordPress Plugins Directory. Go to settings > add to cart button Then change Add to cart…

Read More

It is important to optimize images in WordPress if you want to make your site run faster and do better in search engines. How to do it:1. Use Image Compression PluginsOne of the best tips to set and forget is installing an image compression plugin that will automatically optimize your images for you. Some popular plugins are:Smush:Features: image optimization without quality loss, bulk compression, and lazy load.Get Smush from the WordPress plugin directory and activate it. Then setup this plugin Go to Smush settings under Smush Dashboard > Smush. Enable Automatic compression for uploading new images Press the “Bulk Smush”…

Read More

Converting a static HTML/CSS site into a React app is about transforming your existing HTML, CSS, and JavaScript to a React components. Here’s a step-by-step tutorial to achieve this.Steps to Convert a Static HTML/CSS Site to a React AppStep 1: At First, Set Up a New React ProjectFirst, you need to set up a React environment using create-react-app or Vite . I personally prefer to use vite for your speedy production. This command or app gives you a ready-to-use environment for building your react app.Set Up a New React ProjectFirst, you need to set up a React environment using npm…

Read More

In html and css, Box shadow and Drop shadow both apply for shadow. But they have different cases for application and use. Let’s learn the box shadow and drop shadow properties of html and css.1. Box ShadowThe box-shadow property is used to attach shadows of one UI element like div, block etc. to the other HTML element’s whole box. It applied to block-level elements and everything in the full box model (excluding the margin).2. Drop ShadowFilter includes the drop-shadow function for adding shadows to images, SVG elements or other content. However, drop-shadow respects transparent pixels in content (great choice for…

Read More

There are many high-quality WooCommerce themes that offer good functionality, design customizability, and speed for e-stores. Premium WooCommerce themes are superior in quality and offer more tools but it can be hard to find one that is right for you.1. FlatsomeKey Features:Very flexible through its UX Builder drag-and-drop page builder.Code to be fast and write the air optimized for performance.Responsive Design with Mobile First.Pre-built stack for eCommerce with templates and essential components.WooCommerce integration worked right out of the box. Best For: Users who require a flexible theme that is easily customizable, with excellent design possibilities.Website: FlatsomePros:High Customization: You can easily…

Read More