• Sayontan, I’ve tried to create a login to the aquoid forum but it’s not working.

    I just updated to Suffusion 4.2 and have run into an issue.

    I had been using this code snippet in my functions.php and it was working wonderfully with the previous version of Suffusion.

    /* disable posts from child categories in main query */
    add_filter('pre_get_posts','custom_csp_pre_get_posts',20,1);
    function custom_csp_pre_get_posts($query) {
        if(function_exists('is_main_query')) {
            if($query->is_category && !$query->is_admin && !$query->is_preview && $query->is_main_query() && false == $query->query_vars['suppress_filters']) {
                $cat = get_term_by( 'slug', $query->query_vars['category_name'], 'category');
                $query->set('category__in',$cat->term_id);
            }
        }
        return $query ;
    }

    Updating to 4.2 and then including the above code causes the site to break.

    Any thoughts?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator t-p

    (@t-p)

    Suffusion Support forum: https://www.aquoid.com/forum

    Thread Starter jetshack

    (@jetshack)

    I’ve tried to create a login to the aquoid forum but it’s not working

    To be specific I’m not getting a confirmation email.

    hey jetshack

    I’m a newbie and I just registered and joined / signed in without any problems. Have u registered and got the activation link?

    Moderator t-p

    (@t-p)

    my understanding is that if you are commenting as the admin you will not receive an email.

    Thread Starter jetshack

    (@jetshack)

    my understanding is that if you are commenting as the admin you will not receive an email.

    I have no idea what that means.

    I’m a newbie and I just registered and joined / signed in without any problems. Have u registered and got the activation link?

    Awesome. I just tried from home and registering on aquoid worked. I’m wondering if our district filters at work trashed the confirmation email as spam.

    I’ll ask this question there. Admin’s feel free to close this thread

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Suffusion – Sayontan need your help’ is closed to new replies.