Support » Plugin: WP Easy Post Types » New Post Type Icons (WP 3.8)

  • When adding new posts, I found that there are no icons. I was able to fix this by adding a line of code into the main custom-type.php file.

    In “public function saveField()”, where we are saving the new post types, we want to tell WP that the menu_icon needs to be set to ”, so that the default system icon will be applied.

                'field_name' => $_POST['field_name'],
                'name' => $_POST['name'],
                'type' => $type,
                'show_list' => $_POST['show_list'],
                'extra' => $fieldType->extra($_POST),
                'menu_icon' => '');

Viewing 1 replies (of 1 total)
  • Any idea how to apply this to already created CPTs?

    Mine all disappeared after the WP 3.8 update.

Viewing 1 replies (of 1 total)
  • The topic ‘New Post Type Icons (WP 3.8)’ is closed to new replies.