Scroll Fading vs Scrolljacking

Scroll fade is a new design pattern. It refers to an animation that is triggered by scrolling: new elements or content fade in or out once the user scrolls down to a certain point on the page. Movement (and thus animation) is processed preattentively: the eyes are automatically drawn to it. As a result, incorrectly […]

Accordions

Although accordions can streamline lengthy content pages and reduce scrolling, they compromise content visibility and raise the cost of interaction. On the desktop, reserve the use of accordions for content-rich pages where users won’t need to access information under multiple accordion sections. While accordions add a visually rich experience, it is not healthy for a […]

How to use ACF Fields securely

The ACF (Advanced Custom Fields) plugin has gained popularity among developers for several reasons. The plugin provides a simple and intuitive interface within the WordPress dashboard, allowing developers to easily create and manage custom fields without extensive coding. ACF significantly speeds up the development process by enabling developers to swiftly incorporate custom fields and meta-data […]

How to use proper escaping of user input in WordPress

esc_html() escapes a string so that it is not parsed as HTML. Characters like < are converted to &lt;, for example. This will look the same to the reader, but it means that if the value being output is <script> then it won’t be interpreted by the browser as an actual script tag. Use this function whenever the value being output […]