Location: everywhere
Menu Item image Animation on Hover
.header-navigation .menu .menu-item:hover { background: url(https://ecommerce-base-1.instawp.xyz/wp-content/uploads/2024/05/Plan-De-Travail-14_7png.webp) no-repeat; background-size: contain; background-position: center; transition: 0.5s; }Continue reading
Rebellion white label
/* WHITE LABEL ADMIN DASHBOARD: Modify the admin footer text */ add_filter( ‘admin_footer_text’, ‘rd_modify_admin_footer’ ); function rd_modify_admin_footer () { echo ‘Website managed by Rebellion Marketing | [email protected]‘; } /* WHITE LABEL ADMIN DASHBOARD: Replace Link URL */ add_filter( ‘login_headerurl’, ‘rd_login_url’…Continue reading
Scan images from Elementor Galleries and counts them for the sitemap XML (copy)
add_filter( ‘aioseo_sitemap_images’, /** * Find new images inside the post content which has Elementor galleries. * It only works for self-hosted attachments. * * @param array $images The images already found. * @param object $post The post object * @return…Continue reading
Untitled Snippet
Elementor’s posts query (Earth fruits category)
add_action( ‘elementor/query/earthfruits_category_query’, function( $query ) { $term_ids = get_terms([ ‘taxonomy’ => ‘category’, ‘slug’ => [‘earthfruits’, ‘earthfruits-tools’, ‘earthfruits-patreonmods’, ‘earthfruits-servermods’, ‘earthfruits-exclusivemods’], ‘fields’ => ‘ids’, ‘hide_empty’ => true, ]); if ( !empty($term_ids) && !is_wp_error( $term_ids ) ) { $query->set( ‘category__in’, $term_ids ); }…Continue reading
Elementor’s posts query (Campers category)
add_action( ‘elementor/query/campers_category_query’, function( $query ) { $term_ids = get_terms([ ‘taxonomy’ => ‘category’, ‘slug’ => [‘motorhomes’, ‘campers’], ‘fields’ => ‘ids’, ‘hide_empty’ => true, ]); if ( !empty($term_ids) && !is_wp_error( $term_ids ) ) { $query->set( ‘category__in’, $term_ids ); } });Continue reading
Elementor’s posts query (Forestry category)
add_action( ‘elementor/query/forestry_category_query’, function( $query ) { $term_ids = get_terms([ ‘taxonomy’ => ‘category’, ‘slug’ => [‘forestry’, ‘forestry-tools’, ‘forestry-patreonmods’, ‘forestry-servermods’, ‘forestry-exclusivemods’, ‘forestry-collection’], ‘fields’ => ‘ids’, ‘hide_empty’ => true, ]); if ( !empty($term_ids) && !is_wp_error( $term_ids ) ) { $query->set( ‘category__in’, $term_ids );…Continue reading
Elementor’s posts query (Mowers category)
add_action( ‘elementor/query/mowers_category_query’, function( $query ) { $term_ids = get_terms([ ‘taxonomy’ => ‘category’, ‘slug’ => [‘mowers’, ‘mowers-tools’, ‘mowers-patreonmods’, ‘mowers-servermods’, ‘mowers-exclusivemods’, ‘mowers-collection’], ‘fields’ => ‘ids’, ‘hide_empty’ => true, ]); if ( !empty($term_ids) && !is_wp_error( $term_ids ) ) { $query->set( ‘category__in’, $term_ids );…Continue reading
Elementor’s posts query (Harvesters category)
add_action( ‘elementor/query/harvesters_category_query’, function( $query ) { $term_ids = get_terms([ ‘taxonomy’ => ‘category’, ‘slug’ => [‘harvesters’, ‘harvesters-patreonmods’, ‘harvesters-servermods’, ‘harvesters-exclusivemods’, ‘harvesters-collection’], ‘fields’ => ‘ids’, ‘hide_empty’ => true, ]); if ( !empty($term_ids) && !is_wp_error( $term_ids ) ) { $query->set( ‘category__in’, $term_ids ); }…Continue reading