OUR POSTS

WordPress Articles

Body Class
Sage 10 Body Class Addition
Often you need to add several classes to the body class besides the default classes. We can update the WordPress body class using a filter. In Roots Sage and most themes you have several ways to do this. You could add the filter, use __NAMES_SPACE__ magic constant and then add
default memory only mistake
Fatal Error Wordfence Test
Our customer experienced an error using Amelia Forms. It would not load properly even though we had added its scripts to the exception list in WP Rocket. So we decided to investigate. The only errors in logs we found were from yesterday and were not related to Amelia but to
DreamPress and Oxygen Builder
Oxygen Builder should run on any server that can run WordPress one would assume. And DreamPress does run WordPress websites. They are however not clear on memory on offer at on the pricing pages with specifications. Oxygen Builder is a greedy little bastard memory and requests wise while using the
Oxygen Builder New Style Sheet not loading
At production I had added FAQ based on https://www.youtube.com/watch?v=GTw3rzcPC9k . On staging it worked fine but now on production the newly added FAQstyle CSS added under manage > stylesheets was not loading. So I did the following Emptied WP Rocket cache though I should not need to as I am
Use Search Icon to Fire Search
If you want an icon to work as your search submission in WordPress you can do this with a basic jQuery script. It is actually not too hard. You just use something like jQuery('#fancy_icon-198-4635').on('click', function() { jQuery('#searchsubmit').click(); }); where on clicking the fancy icon you trigger a search submit click.
Body Tag User Role
Sometimes you want to add a body tag for a specific user role. This as you want to hide or show specific parts of a page, or site for a particular user. Here is how you can do just that. add_filter( 'body_class', 'imwz_role__body_class' ); function imwz_role__body_class( $classes ) { $user
1 2 17 18