Prism ICT

Blog

At Prism ICT, we offer a comprehensive range of services designed to help you achieve digital excellence At Prism ICT, we offer a comprehensive range of services

Default image

Enable Leverage browser caching by .htaccess

For enable Leverage browser caching just use the following code on your .htaccess file ## START OF EXPIRES CACHING ## <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/jpg "access 1 year" ExpiresByType

Default image

Enable GZIP Compression by .htaccess file

For enable GZIP Compression just use the following code on your .htaccess file. Make sure to add it below the current contents of your .htaccess file. <IfModule mod_deflate.c> # Compress HTML,

Default image

WordPress get get_option() data as plain HTML

If you want to get WordPress get_option() data as plain HTML without any extra '/' or '"' then you must need to use this function. $NewData = stripslashes( html_entity_decode(get_option('YourOptionHere'), ENT_QUOTES,

1 12 13 14 15 16 19