TIPS

DEV NOTE TIPS

About min-width property of col-md class

This article discusses possible layout collapses that may occur when using Bootstrap's grid system. In particular, we will focus on the min-width property of classes such as col-md and col-md-auto and how to resolve them.
DEV NOTE TIPS

How to resolve errors when restoring environment from Vagrant to Docker

This article describes how to resolve errors and warnings that may occur depending on the version of PHP when restoring from a Vagrant environment to a Docker environment. Specifically, updating WordPress and plugins to the latest version will resolve these issues.
DEV NOTE TIPS

How to hide single pages in WordPress

This article describes how to hide a single WordPress page. This method rewrites the rewrite rules for a particular page type to an empty array, thereby hiding that page (404 error).
DEV NOTE TIPS

How to use custom variables in Swiper.js

Swiper.js is a customizable JavaScript library that allows you to modify the design using CSS variables. This article describes examples of using custom variables in Swiper.js.
DEV NOTE TIPS

How to knock down vertical text by 90 degrees with CSS

This section explains how to use CSS to make text vertical and also rotate it 90 degrees. This is accomplished by combining two CSS properties: writing-mode: vertical-rl; and text-orientation: sideways;. Note, however, that some properties are not supported by all browsers.
DEV NOTE TIPS

How to use the w-100 element to break lines in a Bootstrap grid

Bootstrap's grid system is used to divide content into columns. Sometimes, however, you may want to create new rows. One way to accomplish this is to use the w-100 class. This class sets the width of the element to 100%, resulting in the next column being pushed out into a new row.
DEV NOTE TIPS

Capital letters cannot be used in HTML data attributes.

HTML data attributes are a convenient way to add custom data to an element, but attribute names cannot contain uppercase letters. This is due to HTML specifications; if you use attribute names that contain uppercase letters, the browser may not recognize them correctly. This article explains why and how to resolve this issue.
DEV NOTE TIPS

How to apply rendering delays and scripts in ACF Blocks

Due to delays in rendering ACF Blocks, there can be problems applying JavaScript scripts. To solve this, you need to initialize your scripts using the ACF action hook 'render_block_preview'. This article details how to do this.
DEV NOTE TIPS

Top and bottom margins despite line-height: 1; and countermeasures

Even if CSS line-height: 1; is set, there may be margins above and below some elements. This is the result of including not only the height of the text but also the height of the entire line. One way to remove such margins is to apply negative margins to the: :before and::after pseudo-elements. However, negative margins should be used with caution.
DEV NOTE TIPS

iPhone parallax effect reduction settings and Bootstrap transition

The iPhone's "Reduce parallax effect" setting may affect Bootstrap's transition effect. To resolve this issue, set the relevant section of Bootstrap's SCSS configuration file "_variables.scss" to false. However, to respect the user experience, this setting change should be done carefully.
DEV NOTE TIPS

Checkpoints when BrowserSync does not work

When BrowserSync does not work, first check to see if the source code has been rewritten in an unintended way. In particular, BrowserSync will not function properly if unintended characters are mixed in at the beginning of the HTML.
DEV NOTE TIPS

Checkpoints and countermeasures when COLSPAN does not work

If the colspan attribute does not work on the td element of a table, this section explains the causes and countermeasures. applying CSS display: flex; to the td element may change the behavior of the table cell, so a wrapper element is created inside the table cell to apply display: flex;. flex; inside the table cell.
DEV NOTE TIPS

Image conversion errors to WebP and how to check CMYK images

If an image cannot be converted to WebP format, the image may be in CMYK color mode. This article explains how to check the color mode of an image and convert it to RGB mode.
DEV NOTE TIPS

How to change the user agent of iPad OS and how to determine the device by JavaScript

Since the user agent has changed for the iPad OS, it may not be recognized as an iPad by the conventional JavaScript-based device determination. This section describes how to resolve this issue.
DEV NOTE TIPS

How to solve the problem of a link on iPhone not responding without pressing a link twice

Describes how to resolve a problem with touch screen devices such as the iPhone that requires two taps on the a link to get a response.
DEV NOTE TIPS

Countermeasure for “504 Gateway Time-out” error in PHP Nginx PHP-FPM environment

This section describes how to configure the PHP Nginx PHP-FPM environment to resolve the "504 Gateway Time-out" error.
DEV NOTE TIPS

Countermeasure against timeouts when importing large amounts of data in WordPress

Describes how to avoid timeouts when importing large amounts of data into WordPress.
DEV NOTE TIPS

How to deal with file size check errors in the Attachment Importer

This article describes how to deal with file size check errors that occur with the Attachment Importer plugin.
DEV NOTE TIPS

Smooth scrolling conflict between Bootstrap5 and jQuery

This article describes an issue that causes conflicts between Bootstrap5's default smooth scrolling settings and jQuery's smooth scrolling feature, and its solution.
DEV NOTE TIPS

How to identify the back button and site navigation

This article explains how to use JavaScript to determine the use of the back button and how to navigate within a site. This information can be used for features such as opening skips, for example.
DEV NOTE TIPS

How to prevent layout shift using flex-shrink

This section describes how to prevent layout shifts using the flex-shrink property of Flexbox. In particular, setting the value of flex-shrink to 0 reduces the possibility of layout shifts.
DEV NOTE TIPS

Solution to YouTube playback problem when returning with the back button

Provides a solution to the problem of YouTube not playing properly when returning with the browser's back button by using the onPlayerStateChange event to play the video.
DEV NOTE TIPS

How to use PHP global variables in header.php or function.php

How to use PHP global variables in header.php or function.php and its advantages.
DEV NOTE TIPS

Solution when get_terms fails to retrieve

Provides a solution to the problem of not being able to retrieve taxonomy items with get_terms. By setting specific arguments, this problem can be easily solved.
DEV NOTE TIPS

Solution to visible border on button click in bootstrap5

Provides an easy way to solve the problem of visible borders on button clicks in Bootstrap 5.
DEV NOTE TIPS

Solution to problem with first tap not working when loading screen on iPhone

Provides a solution to the problem of the first tap not responding when loading a screen on the iPhone; simply change the settings in Instagram Feed Pro to solve this problem.
DEV NOTE TIPS

WP Retina and Responsive Image method compatibility issues and solutions

This section describes the compatibility issue between WP Retina and Responsive Image method and its solution.
DEV NOTE TIPS

How to solve the problem of webp not showing up locally

This section describes the problem of webp format images not being displayed in the local environment and how to resolve it.
DEV NOTE TIPS

Error resolution for fibers not supporting Node.js 16

This section describes a problem with the fibers package causing errors in Node.js version 16 and how to resolve it.
DEV NOTE TIPS

How to solve the problem of images in flex view stretching vertically in Safari on iOS

This section describes the problem of images in the flex view being stretched vertically in Safari on iOS and how to resolve the problem.