Web Lucas
Coming back fresh ...

Top Categories

Choose category to get started.

You might also like

Browse fresh articles

Change excerpt length for all loops in WordPress

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

Read more

Add custom class to post images in WordPress

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

Read more

How to sanitise in wordpress but keep html?

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

Read more

How to use jQuery in WordPress?

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

Read more

Get the width and height of the viewport with Vanilla JS

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

Read more