Category: Wordpress

Find all my articles related to WordPress here. Also check out My Best-of articles dedicated to WordPress.

  • BuddyPress: Add All Countries to Your Custom Profile Field

    Here's a code that all BuddyPress social network owners have been eagerly awaiting. It's a feature that lets you add all the world's countries at once, rather than manually, to a field labeled "Country," where your network members can select their country. Only…

    Read more


  • WordPress: display users by registration date

    Here's a very useful WordPress plugin for those who manage WordPress sites with regularly joining members – especially those using BuddyPress – and who need to see who the most recent members are. Indeed, the users page in the WordPress dashboard displays a list in alphabetical order, and it's not…

    Read more


  • SEO tip: beware of automatic redirection based on browser language!

    SEO tip: beware of automatic redirection based on browser language!

    Are you using the WPML plugin on your WordPress blog and have you enabled automatic redirection based on your visitor's language? Then this tip will save you! Redirections based on your visitor's browser language are penalized in Google's index. Even worse, you won't even be able to…

    Read more


  • Snippet BuddyPress: How to only show people of the opposite gender in the members page

    BuddyPress Snippet: How to Only Show People of the Opposite Gender on the Members Page

    Are you looking to build a dating site with BuddyPress and WordPress? Unless it's a site where the concept is based on openness to all genders, you'll inevitably need to customize BuddyPress so that men can only see women, and vice versa. BuddyPress doesn't allow…

    Read more


  • Plugins to turn your WordPress or BuddyPress into a native app for iPhone and Android

    Plugins to turn your WordPress or BuddyPress into a native app for iPhone and Android

    Hello everyone! Today, I'm going to list the best plugins and themes that will allow you to turn your WordPress site, and possibly your BuddyPress social network, into an app. The advantage of this process is transforming your website into a true native application available on the iOS App Store or the Android Play Store. The benefit? Reaching a wider audience…

    Read more


  • Snippet: make BuddyPress private, restrict members directory and profiles to members only

    Are you looking for a little plugin to make your BuddyPress private, and restrict your social network to members only? If yes, this snippet is for you. With this function, the non logged user who tries to access to BuddyPress social network (members directory or profile) is redirect to the BuddyPress registration. function sqr_prevent_search_guest_user() {…

    Read more


  • Snippet to make a BuddyPress social network private and force registration

    Snippet to make a BuddyPress social network private and force registration

    Here's a little snippet of code that I find very useful on my BuddyPress sites. It makes the social network private, requiring members to access it. [code]function sqr_prevent_search_guest_user() { if ( class_exists( 'BuddyPress' ) ) { if (!is_user_logged_in() && (bp_is_directory() || bp_is_user())) { wp_redirect(home_url() . '/register/'); exit; } }…

    Read more


  • How to add a custom font to a WordPress theme with @fontface CSS3

    How to add a custom font to a WordPress theme with @fontface CSS3

    Declaring a custom font in your WordPress theme is very useful for personalizing it and adapting it to your brand guidelines. However, sometimes the font of your dreams isn't available in your theme options, nor on Google Fonts or TypeKit. In that case, you'll have to get creative…

    Read more


  • Migrate a WordPress blog from a multisite network to an individual installation

    Migrate a WordPress blog from a multisite network to a single installation

    Sometimes you might need to extract a WordPress blog from a multisite network to give it a clean, independent installation. This is especially true when the blog requires too much customization, no longer fits within your multisite network, or simply because you want to transfer it or...

    Read more


  • Specify cookie expiration time (or delete them) from WordPress comments

    In WordPress, the expiration period for the cookie stored on the computer of a user who has commented on your blog is extremely long (approximately one year). Several reasons might lead a blogger to want to reduce this expiration period, starting with improving performance and achieving faster page load times. Indeed,…

    Read more