As a website owner utilizing the powerful WordPress content management system, you understand the significance of maintaining a secure admin dashboard. This is where crucial site management tasks take place, and it’s essential to limit access to authorized individuals even if their user role already all the actions. With the following code snippet, you can… Continue reading Restricting Access to the WordPress Admin Dashboard
Author: Parserror
Responsive Iframe
It is common to embed videos to the websites from platforms like YouTube or Vimeo using iframes. However, ensuring that these embedded videos maintain a responsive layout can be a challenge. A responsive layout allows the video to adapt and scale properly across different devices and screen sizes. To achieve a responsive iframe layout, you… Continue reading Responsive Iframe
URL escape codes
URL escape codes, also known as percent encoding or URL encoding, provide a way to represent special characters and non-ASCII characters within a URL. In this comprehensive list, you will find escape codes for the characters that must be always escaped in URLs. Character URL Escape Code SPACE %20 < %3C > %3E # %23… Continue reading URL escape codes
List of common MIME types
MIME types, or Multipurpose Internet Mail Extensions, play a fundamental role in communication between servers and clientsas they define the nature and format of a file being transmitted. In this list of common MIME types, we have the MIME types and descriptions for frequently encountered file extensions. File extension MIME Type Description .aac audio/aac AAC… Continue reading List of common MIME types
CSS Reset: A Clean Slate for HTML Elements
In the realm of web development, the appearance and styling of HTML elements are often influenced by default styles applied by web browsers. While these styles can be convenient, they can also limit creative freedom and make it challenging to achieve a specific aesthetic or design vision. By neutralizing the influence of default styles, this… Continue reading CSS Reset: A Clean Slate for HTML Elements
Imitating a frequent cron job with php
Sometimes you may run into situation where you would need to set a cron job but your hosting provider doesn’t support them or only allows you to run scheduled jobs for example only once in hour when you would need to do a task more often. In my case I ran into latter case and… Continue reading Imitating a frequent cron job with php
Animated loaders with HTML & CSS
Creating engaging and visually appealing loaders is an art form that captures users’ attention while their requested content is being loaded. HTML and CSS, the fundamental building blocks of modern web design, offer a wide range of possibilities for crafting captivating loaders that enhance the user experience. Here’s a collection of nine animated loaders, each… Continue reading Animated loaders with HTML & CSS