Is it possible to get the last number of a views pager to display after and before the elipses?
I'm not sure if this is the best approach, but it's been working for me.

First I set the pager items to display as inline-block. Then I styled the .prev/.next items to float left/right respectively so they're on the outside.

I used hook_preprocess_pager and $pager_total to set the last pager number $variables['tags'][4].

function hook_preprocess_pager(&amp;$variables, $hook) {
  global $pager_total;
  $variables['tags'][4] = $pager_total[0];
}


I added a conditional so the last pager item wouldn't appear twice on the last couple pages:

function hook_preprocess_pager(&amp;$variables, $hook) {
  global $pager_total;
  $variables['tags'][4] = $pager_total[0];
  if( is_numeric( $_GET['page'] ) &amp;&amp;  $pager_total[0] - 6 &lt; $_GET['page'] ) $variables['tags'][4] = '';
}


I set the first page to "1" in the view settings, then use a similar conditional so it doesn't appear twice on the first couple pages.

function hook_preprocess_pager(&amp;$variables, $hook) {
  global $pager_total;
  $variables['tags'][4] = $pager_total[0];
  if( is_numeric( $_GET['page'] ) &amp;&amp;  $pager_total[0] - 6 &lt; $_GET['page'] ) $variables['tags'][4] = '';
  if( is_numeric( $_GET['page'] ) &amp;&amp; $_GET['page'] &lt; 5 ) $variables['tags'][0] = '';
}


This seems to work pretty well.