Leveraging AI to Supercharge Your WordPress Business Website
In today’s competitive digital landscape, every business website needs an edge to...
15.Feb.2016 | Code Snippets, Wordpress
This snippet of PHP can come in handy for removing the empty spaces in a string.
Here is it being used to remove the empty spaces in the telephone number using ACF.
<?php echo str_replace(' ', '', get_field('your_field')); ?>
Share
In today’s competitive digital landscape, every business website needs an edge to...
WordPress has come a long way since its humble beginnings in 2003....
In the ever-evolving landscape of website development, staying ahead of the curve...
Add this to your functions.php to add a class to all pages within a tree: function is_tree($pid) { // $pid...
Is your HTML5 Video playing perfectly on Android phones, but not on iPhones? If you are having problems with your...
A useful bit of code to prevent files from being accessed (or hotlinked) in WordPress. Prevent files from being directly...