Web Lucas
Coming back fresh ...

Popular Categories

Choose a category to get started

The Importance of Informing the User About the Use of Cookies

Informing users about the use of cookies on your website is a fundamental aspect of respecting privacy and adhering to legal r…

Read more

Change Excerpt Length For All Loops In WordPress Code Example

WordPress has a built-in filter named excerpt_length which has the role to set the excerpt length for all the loops. Simply…

Read more

Add Custom Class To Post Images In WordPress Code Snippet

Here is how you can apply conditionally a CSS class to link elements which contain images embedded into posts. Just add…

Read more

How To Sanitise In WordPress But Keep Html Code Snippet

wp_kses() will do the sanitization of html output but keep the html. While using wp_kses you need to tell it what…

Read more

How To Use Jquery Wrapper In WordPress, JS Code Example

WordPress has its own version of the jQuery library and using $ operator will end up with js errors in your…

Read more

Get The Width And Height Of The Viewport With Vanilla Js, Code Example

Let’s look at how to get the height and width of the viewport using Vanilla JS. We can use window.innerHeight to…

Read more

Why Well Commented Code Is Important? Jsdoc Approach

As you probably know the JSDoc is a popular approach for inline documentation used in many programming…

Read more

You might also like

Browse fresh articles

The Importance of Informing the User About the Use of Cookies

Informing users about the use of cookies on your website is a fundamental aspect of respecting privacy and adhering to legal r…

Read more

Change Excerpt Length For All Loops In WordPress Code Example

WordPress has a built-in filter named excerpt_length which has the role to set the excerpt length for all the loops. Simply…

Read more

Add Custom Class To Post Images In WordPress Code Snippet

Here is how you can apply conditionally a CSS class to link elements which contain images embedded into posts. Just add…

Read more

How To Sanitise In WordPress But Keep Html Code Snippet

wp_kses() will do the sanitization of html output but keep the html. While using wp_kses you need to tell it what…

Read more

How To Use Jquery Wrapper In WordPress, JS Code Example

WordPress has its own version of the jQuery library and using $ operator will end up with js errors in your…

Read more

Get The Width And Height Of The Viewport With Vanilla Js, Code Example

Let’s look at how to get the height and width of the viewport using Vanilla JS. We can use window.innerHeight to…

Read more

Why Well Commented Code Is Important? Jsdoc Approach

As you probably know the JSDoc is a popular approach for inline documentation used in many programming…

Read more