Skip to content
  • Homepage
  • HTML
  • CSS
  • Symfony
  • PHP
  • How to
  • Contact
  • Donate

Teach Developer

Articles, Guides & Tips

How to Install a WordPress Plugin for Beginners

Posted on August 2, 2022August 2, 2022 No Comments on How to Install a WordPress Plugin for Beginners

WordPress plugins are used to enable addon features to the web application developed in WordPress. Many features do not come with the WordPress core by default. So, if we need to extend the functionality of the WordPress application, then we need to use the plugins. There are many plugins available in the market for WordPress…

Read More “How to Install a WordPress Plugin for Beginners” »

Wordpress

How to Display Breadcrumb without Plugin in WordPress

Posted on September 3, 2022September 17, 2022

Breadcrumbs are navigation links, used to display links to all pages beyond the homepage. By default, it is placed at the top of the page and helps in back navigation. In WordPress, breadcrumbs play an important role on the posting page. There are many WordPress plugins available to add breadcrumbs to your site. But we…

Read More “How to Display Breadcrumb without Plugin in WordPress” »

How to, Wordpress

How to Convert PHP CSV to JSON

Posted on June 10, 2023June 10, 2023

JSON format is a widely used format when dealing with API development. Most of the existing API responses are in JSON format. Converting CSV content to JSON format in PHP is easy. In this article, we will look at various methods of achieving this conversion. The above quick example in PHP converts the CSV file…

Read More “How to Convert PHP CSV to JSON” »

PHP, Top Tutorials

How to change background Opacity when the bootstrap modal is open with CSS?

Posted on August 21, 2022August 21, 2022 No Comments on How to change background Opacity when the bootstrap modal is open with CSS?

Sometimes, we want to change background opacity when the Bootstrap modal is open with CSS. This article will look at how to change background opacity when the Bootstrap modal is open with CSS. To change background Opacity when Bootstrap modal is open with CSS, we set the opacity style in the modal-backdrop class. For instance, we write to set…

Read More “How to change background Opacity when the bootstrap modal is open with CSS?” »

CSS, How to

How to use the Local Storage in Javascript

Posted on July 26, 2022July 26, 2022 No Comments on How to use the Local Storage in Javascript

This article discusses what local storage is and the JavaScript methods that we can use to manipulate it. What is Local Storage? Local storage is a web storage object that is available in a user’s browser. It allows JavaScript browsers to store and access data right in the browser. Basic CRUD operations (create, read, update…

Read More “How to use the Local Storage in Javascript” »

JavaScript, Jquery

Difference between var, let, and const in JavaScript

Posted on July 14, 2022July 24, 2022 No Comments on Difference between var, let, and const in JavaScript

A lot of shiny new features came out with ES2015 (ES6). And now, since it’s 2020, it’s assumed that a lot of JavaScript developers have become familiar with and have started using these features. While this assumption might be partially true, it’s still possible that some of these features remain a mystery to some devs….

Read More “Difference between var, let, and const in JavaScript” »

JavaScript, Jquery, React

How to Disable WordPress Auto Update? Turn Off WordPress Auto Updates

Posted on August 4, 2022 No Comments on How to Disable WordPress Auto Update? Turn Off WordPress Auto Updates

WordPress can update your website automatically. It can also update themes and plugins on your site. Choosing to automatically update a website can provide additional security benefits and at the same time, the chances of breaking your site’s style or functionality cannot be ignored. It is more relevant in the case of websites built with…

Read More “How to Disable WordPress Auto Update? Turn Off WordPress Auto Updates” »

How to, Wordpress

How to use setTimeout and setInterval methods in JavaScript

Posted on July 24, 2022July 24, 2022 No Comments on How to use setTimeout and setInterval methods in JavaScript

There are times when you don’t want to execute a function immediately. You want it to delay its execution or run repeatedly after a certain time interval. JavaScript provides us with two methods to achieve that: setTimeout and setInterval. In this article, we will discuss these two methods and how we can use them to…

Read More “How to use setTimeout and setInterval methods in JavaScript” »

JavaScript

How to Add Reset Button in jQuery UI Datepicker

Posted on September 3, 2022September 17, 2022

I am using the jQuery UI date picker plugin to add the date picker dialog to the text input field. Since the input field is a read-only element, it is not allowed to clear the selected date. Is there any option to add a reset button in the date picker to clear the date from…

Read More “How to Add Reset Button in jQuery UI Datepicker” »

How to, Jquery

How to split a string into an array with Twig

Posted on March 14, 2022July 19, 2022 6 Comments on How to split a string into an array with Twig

Twig provides many filters that mimic the basic features of PHP that are easy to understand for front-end developers. One of those filters is a split filter that allows you to split a delimited string by a single character, returning a repeating array. You can limit the length of the result array providing it as…

Read More “How to split a string into an array with Twig” »

Symfony, PHP

How to Make Toggles With React Hooks

Posted on January 3, 2023January 3, 2023

To toggle between a boolean flag in React, you can use the below custom hook that uses setState internally: Since the function returns an array, with a state and a callback function, you can use it in your component, just like you would for other built-in React hooks, like so:

React, JavaScript

Destructuring Assignment in ES6- Arrays

Posted on August 6, 2022August 6, 2022 No Comments on Destructuring Assignment in ES6- Arrays

Destructuring assignment is a nice feature that comes with ES6. Destructuring is a JavaScript expression that makes it possible to unpack values from an array or properties from an object into separate variables. That is, we can extract data from arrays and objects and assign it to variables. Why is this necessary? Imagine if we…

Read More “Destructuring Assignment in ES6- Arrays” »

JavaScript, React

How to check if a customer is logged in to Magento 2 or not?

Posted on August 12, 2022August 12, 2022 No Comments on How to check if a customer is logged in to Magento 2 or not?

There are two ways by which you can check if a customer is logged in or not: 1) By using Object Manager It is always a bad practice to use ObjectManager directly. 2) By Injecting Class (Dependency Injection) As said earlier, it is one of the worst practices to use the ObjectManager directly. Therefore an…

Read More “How to check if a customer is logged in to Magento 2 or not?” »

How to, Magento-2

How to make the scrollbar visible in mobile browsers with CSS?

Posted on August 21, 2022August 21, 2022 No Comments on How to make the scrollbar visible in mobile browsers with CSS?

Sometimes, we want to make the scrollbar visible in mobile browsers with CSS. In this article, we’ll look at how to make the scrollbar visible in mobile browsers with CSS. To make the scrollbar visible in mobile browsers with CSS, we set the scrollbar’s width. For instance, we write to set the vertical width of…

Read More “How to make the scrollbar visible in mobile browsers with CSS?” »

CSS, How to

How to Delete Unused Database Tables in WordPress

Posted on September 14, 2022September 17, 2022

Use the following steps to remove or delete unused tables from database in WordPress using plugins garbage collector: Step 1 – Add Plugins Garbage Collector Step 2 – Active Plugins Garbage Collector Step 3 – Search Unused Tables From Database Step 4 – Remove or Delete Unused Tables Step 1 – Add Plugins Garbage Collector…

Read More “How to Delete Unused Database Tables in WordPress” »

Wordpress, How to

How to use :hover to modify the CSS of another class?

Posted on August 19, 2022August 21, 2022 No Comments on How to use :hover to modify the CSS of another class?

To use :hover to modify the CSS of another class, we can use it with another selector. For instance, we write to select the elements with the class wrapper in the elements with class item that we hovered on. We set its color and background-color for those elements.

CSS, How to

How to Recover Deleted WhatsApp Messages

Posted on September 18, 2022

Recover Deleted Messages From Google Drive & iCloud For Android For Android users, one of the best ways to restore your deleted WhatsApp messages is to restore your backup from Google Drive. But It is only possible if you have set your backup option ON in App. If you have not set a backup option…

Read More “How to Recover Deleted WhatsApp Messages” »

How to, Tips

Here are 10 platforms where you can find your next remote job as a developer.

Posted on August 21, 2022September 18, 2022

1. remotive. io 2. flexjobs. com 3. producthunt 4. remoteok. com 5. justremote. co 6. weworkremotely. com 7. dailyremote. com 8. hired. com 9. remote. co 10. remoteleaf. com

How to, Tips

How to Deploy a React application on a cPanel

Posted on October 8, 2023October 8, 2023

post is about how to deploy React app in a sub-directory on cPanel. So, for this, you need a React Application setup and a cPanel ready for deployment. You can host React app on Firebase or any free hosting as well. That, I will cover in another post. React App cPanel/WHM Once, you are ready, let’s start…

Read More “How to Deploy a React application on a cPanel” »

How to, React, Top Tutorials

How to make a div always float on the screen in the top right corner with CSS?

Posted on August 17, 2022August 17, 2022 No Comments on How to make a div always float on the screen in the top right corner with CSS?

Sometimes, we want to make a div always float on the screen in the top right corner with CSS. In this article, we’ll look at how to make a div always float on the screen in the top right corner with CSS. To make a div always float on the screen in top right corner…

Read More “How to make a div always float on the screen in the top right corner with CSS?” »

CSS, How to

Categories

  • Codeigniter (3)
  • CSS (11)
  • eCommerce (1)
  • Framework (1)
  • Git (3)
  • How to (43)
  • HTML (5)
  • JavaScript (15)
  • Jquery (7)
  • Laravel (1)
  • Linux (4)
  • Magento-2 (1)
  • Node js (4)
  • Others (2)
  • PHP (11)
  • React (13)
  • Server (1)
  • SSH (3)
  • Symfony (6)
  • Tips (16)
  • Top Tutorials (10)
  • Ubuntu (3)
  • Vue (1)
  • Wordpress (7)

Latest Posts

  • What is SSH in Linux?
  • How to Delete Files in Ubuntu Command Line
  • How to Deploy a React application on a cPanel
  • How to use events listeners and Event Subscriber in Symfony
  • How to Convert PHP CSV to JSON

WEEKLY TAGS

AJAX (1) Codeigniter (1) Javascript (11) JQuery (1) PHP (16) Programming (1) React (3) Symfony (1)

Random Post

How to style an HTML radio button to look like a checkbox with CSS?
How to clear your cache in npm
Here are 10 platforms where you can find your next remote job as a developer.
How to use :hover to modify the CSS of another class?
CSS

Quick Navigation

  • About
  • Contact
  • Privacy Policy

© Teach Developer 2021. All rights reserved