Web Lucas
Coming back fresh ...

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