/*
 Theme Name:   Eduma Child
 Theme URI:    http://educationwp.thimpress.com/
 Description:  Eduma Child Theme
 Author:       ThimPress
 Author URI:   http://thimpress.com
 Template:     eduma
 Version:      1.0.0
 Text Domain:  eduma-child
*/
add_filter('get_terms', function($terms, $taxonomies, $args) {

    // Apply ONLY on frontend
    if (is_admin()) return $terms;

    // Detect Gallery Posts widget (adjust if needed)
    if (!empty($args['taxonomy']) && $args['taxonomy'] === 'category') {

        foreach ($terms as $key => $term) {

            // Exclude only these categories
            if (in_array($term->slug, ['uncategorized', 'blog'])) {
                unset($terms[$key]);
            }
        }
    }

    return $terms;

}, 10, 3);

.single-lp_course .course-meta-single, .single-lp_course .course-payment{
	display: none !important;
}
.gallery-item {
    width: 33.33%;
    float: left;
    padding: 10px;
}

.gallery-item img {
    width: 100%;
    display: block;
}

/* Ensure items are never hidden incorrectly */
.gallery-item,
.isotope-item {
    opacity: 1 !important;
    visibility: visible !important;
}