/* 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
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
/** * Custom shortcode to display WPForms form entries in table view. * * Basic usage: [wpforms_entries_table id=”FORMID”]. * * Possible shortcode attributes: * id (required) Form ID of which to show entries. * user User ID, or “current” to…Continue reading
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
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
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
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
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