- This topic has 1 reply, 2 voices, and was last updated 5 months ago by .
Custom post type "Get PHP Code":
'icon_type' => dashicons, 'icon' => dashicons-location-alt, ... 'menu_icon' => '',
These lines are invalid because 1- 'icon_type' and 'icon' are not valid; 2- strings need to be quoted, like
'dashicons-location-alt'; 3- setting 'menu_icon' to '' makes no icon display in the admin menu.
Custom taxonomy "Get PHP Code":
'meta_box_cb' => true,
This line causes the taxonomy terms not to display on the edit post page the Classic editor. It should be set to false.
- You must be logged in to reply to this topic.