WPBrigade Blog

  • How to Start Your Own Hosting Business with WordPress

    Last updated on May 5th, 2026 by Tan Nguyen

    How to Start Your Own Hosting Business with WordPress

    Who doesn’t want to make a lot of money? The way that I’m doing it is through online blogging, I would join the affiliate program from many trusted services, do website installation, and many more.

    Continue Reading

  • WP Rocket is a must-have WordPress cache plugin

    Last updated on May 5th, 2026 by Tan Nguyen

    WP Rocket is a must-have WordPress cache plugin

    I recently changed the default theme of my Personal Site, leaving the Genesis Framework behind and put on a new minimal WordPress theme called SORBET. I fell in love with it while browsing through the demo version. The idea of it being super fast got to me and I immediately customize a few things and apply it live right away. The loading result didn’t disappointed me at all, however, it couldn’t beat the speed of my previous Genesis child theme, which means there are room for improvement.

    Continue Reading

  • Avoid spammy links in WordPress Posts with LinkPatrol

    Last updated on May 5th, 2026 by Tan Nguyen

    Avoid spammy links in WordPress Posts with LinkPatrol

    I’m a big believer of Content Is King. Whenever I started a new blog the very first thing or goal is to write great contents, focus on the headings, and display images that capture readers attention. Though these are BIG factors in search ranking, sometimes we make small little mistakes that could destroy everything that we have built so far. For example, linking to a website that later on become a 404 page or turn into a bad site i.e pornographic. If you barely know about this, it’s not too late to fix it. In this article, I will show…

    Continue Reading

  • Make Author.php Include Custom Post Types

    Last updated on May 5th, 2026 by Tan Nguyen

    Make Author.php Include Custom Post Types

    I was going through a strange issue where Author page was not showing the posts which belongs to Custom Post Types. After Googling, I found this article which shows how to include Custom Post Types for archives.php I got inspiration from above mentioned article snippet and wrote the following snippet to modify Author.php page to include Custom Post Types function wpbrigade_author_custom_post_types( $query ) { if( is_author() && empty( $query->query_vars[‘suppress_filters’] ) ) { $query->set( ‘post_type’, array( ‘post’, ‘my-custom-post-type-here’ )); return $query; } } add_filter( ‘pre_get_posts’, ‘wpbrigade_author_custom_post_types’ );  

    Continue Reading

  • How to check a specific plugin is activated or not ?

    Last updated on May 5th, 2026 by Tan Nguyen

    How to check a specific plugin is activated or not ?

    While working on the EDD (Easy Digital Downloads) add-on of Analytify, I was looking for a way to check if the Easy Digital Downloads plugin is already activated or not. So, a message should appear to our users that “They should activate Easy Digital Downloads to make the Analytify for EDD work properly. “ Almost every plugin has a class name, we can use the PHP function ‘class_exists‘ to know if it exists or not. Following is the code which can be used to check a plugin is activate or not. add_action( ‘admin_notices’, array( &$this, ‘analytify_edd_plugin_notices’ )); public function analytify_edd_plugin_notices()…

    Continue Reading