vmiazaki
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Forum: Plugins
In reply to: [MB Custom Post Types & Custom Taxonomies] Broken dashicons with v2.2.6One of the sites that I am having this issue is https://staging.dldllp.com/.
I just tried to update the plugin there and the icon for the Team CPT goes away.Here if the PHP code of that CPT:
<?php add_action( 'init', 'your_prefix_register_post_type' ); function your_prefix_register_post_type() { $labels = [ 'name' => esc_html__( 'Team', 'text-domain' ), 'singular_name' => esc_html__( 'Team', 'text-domain' ), 'menu_name' => esc_html__( 'Team', 'text-domain' ), 'name_admin_bar' => esc_html__( 'Team', 'text-domain' ), 'all_items' => esc_html__( 'All Team', 'text-domain' ), 'add_new' => esc_html__( 'Add new', 'text-domain' ), 'add_new_item' => esc_html__( 'Add new Team', 'text-domain' ), 'edit_item' => esc_html__( 'Edit Team', 'text-domain' ), 'new_item' => esc_html__( 'New Team', 'text-domain' ), 'view_item' => esc_html__( 'View Team', 'text-domain' ), 'search_items' => esc_html__( 'Search Team', 'text-domain' ), 'not_found' => esc_html__( 'No Team found', 'text-domain' ), 'not_found_in_trash' => esc_html__( 'No Team found in Trash', 'text-domain' ), 'parent_item_colon' => esc_html__( 'Parent Team', 'text-domain' ), 'text_domain' => esc_html__( 'text-domain', 'text-domain' ), ]; $args = [ 'label' => esc_html__( '', 'text-domain' ), 'labels' => $labels, 'description' => '', 'public' => true, 'exclude_from_search' => false, 'publicly_queryable' => true, 'show_ui' => true, 'show_in_nav_menus' => true, 'show_in_admin_bar' => true, 'show_in_rest' => true, 'hierarchical' => false, 'query_var' => true, 'can_export' => true, 'the_grid_item_custom_link_target' => _self, 'the_grid_item_col' => true, 'the_grid_item_row' => true, 'the_grid_item_content_color' => dark, 'the_grid_item_overlay_color' => light, 'the_grid_item_video_ratio' => 4:3, 'the_grid_item_youtube_ratio' => 4:3, 'the_grid_item_vimeo_ratio' => 4:3, 'the_grid_item_wistia_ratio' => 4:3, '_wp_old_slug' => auto-draft__trashed, 'has_archive' => true, 'rest_base' => '', 'show_in_menu' => 'undefined', 'menu_icon' => undefined, 'capability_type' => 'post', 'supports' => ['title', 'editor', 'thumbnail', 'revisions'], 'taxonomies' => [], 'rewrite' => [ 'with_front' => true, ], ]; register_post_type( 'team', $args ); }I can share the login and pw if you want to take a look at the backend. Let me know!
Forum: Plugins
In reply to: [MB Custom Post Types & Custom Taxonomies] Broken dashicons with v2.2.6Hi,
I updated to v2.3.0 today and still seeing the same issue with the icons on multiple sites. Any idea why that would be happening?
Thanks 🙂
Hi,
I see some of the HTML was updated but the problem remains. The classes are still not specific, so I can’t style it without css selectors. And replacing the <p>s for <div>s just made my style break.
Do you plan on improving those classes?
Viewing 3 replies - 1 through 3 (of 3 total)