• I’ve been looking for something like this for a long time, and was using a finicky home-grown solution.

    Works as expected!

    Hidden feature (thanks @uamv):

    Set defaults in your theme with

    function PREFIX_set_default_glances( $glances, $user_id ) {
      unset( $glances['post'] );
      unset( $glances['comment'] );
      $glances['products'] = array( 'icon' => 'f174', 'sorted' => 5 );
      $glances['solutions'] = array( 'icon' => 'f507', 'sorted' => 6 );
      $glances['markets'] = array( 'icon' => 'f238', 'sorted' => 7 );
      $glances['press-releases'] = array( 'icon' => 'f157', 'sorted' => 8 );
      return $glances;
    }
    add_filter( 'gt_default_glances', 'PREFIX_set_default_glances', 10, 2 );

Viewing 1 replies (of 1 total)
  • Plugin Author uamv

    (@uamv)

    Thanks for pointing out that hidden feature. I think I added it to the readme in this past version, but it didn’t trigger from the repository for some reason. And glad you are putting this to good use!

Viewing 1 replies (of 1 total)
  • The topic ‘Exactly what I needed’ is closed to new replies.