The Definitive WordPress Speed Guide – Step by Step WordPress Speed Guide for Beginners Definitive solution, if your site is not faster after this, you are doing it bad! One of the biggest concerns of WordPress users is the speed of their websites. Why does it go so slow? Is the theme? Is the server? Here and there you find articles about what plugins […] Written by Laura Solanes February 19, 2016February 25, 2020
Useful Snippets for KLEO Hello Readers! So today i want to share with you some useful Snippets to use with your KLEO theme. Snippets are an easy and cool way of customizing your website and adding extra features to make it stand out! PHP Snippets for KLEO Change side menu font icon with an image. function kleo_side_menu_button ( $items, […] Written by Laura Solanes June 25, 2015June 25, 2015
Increase PHP memory limit in WordPress The most encountered error in WordPress installs these days is the “memory exhausted” error. We get this error while we’re trying to install / activate / update plugins and themes or while we try to do memory intensive tasks inside our WordPress sites. Fatal error: Allowed memory size of xxxxxxxx bytes exhausted (tried to allocate […] Written by SeventhQueen June 7, 2015June 7, 2015
Restrict not logged in users from accessing BuddyPress or bbPress pages This little code snippet will protect all BuddyPress & bbPress pages and force users to go to Register page before accessing them So if a user, that doesn’t have an account, visits your BuddyPress Members page, an user Profile page, groups, a Group page, activity page or any other bbPress forums pages will get redirected […] Written by SeventhQueen March 26, 2015May 5, 2020
Show users in members directory right after account activation By default in BuddyPress, members won’t show in your Members directory if they don’t log in first. If you want users to show in your site after they activate their account or if you activated users using a plugin, you have to add this piece of code to your child theme/functions.php add_action('bp_core_activated_user', 'kleo_add_member_activity'); function kleo_add_member_activity($user_id) […] Written by SeventhQueen January 20, 2015November 18, 2020