Title: Disabling the ellipses
Last modified: May 24, 2020

---

# Disabling the ellipses

 *  Resolved [gutterboy333](https://wordpress.org/support/users/gutterboy333/)
 * (@gutterboy333)
 * [6 years ago](https://wordpress.org/support/topic/disabling-the-ellipses-2/)
 * Hi there,
 * I created a similar topic about 15 months ago here: [https://wordpress.org/support/topic/disabling-the-ellipses/](https://wordpress.org/support/topic/disabling-the-ellipses/)
 * Just wondering if there has been any thought of providing an option for this?
   The plugin has been updated a few times since and each time I have had to remember
   to do the suggested change.
 * Now that I just installed it on a new site that means I am going to have to do
   the change to multiple sites now.
 * Would be awesome if this functionality was added sometime soon 🙂
 * Thanks a lot!

Viewing 12 replies - 1 through 12 (of 12 total)

 *  Plugin Author [AlanP57](https://wordpress.org/support/users/alanp57/)
 * (@alanp57)
 * [6 years ago](https://wordpress.org/support/topic/disabling-the-ellipses-2/#post-12887175)
 * You can add some custom CSS to your sites to permanently remove the ellipses:
 * .wp-paginate .gap {
    display: none; }
 *  Thread Starter [gutterboy333](https://wordpress.org/support/users/gutterboy333/)
 * (@gutterboy333)
 * [6 years ago](https://wordpress.org/support/topic/disabling-the-ellipses-2/#post-12888902)
 * Hi Alan,
 * Unfortunately that doesn’t really solve the issue as you are still left with 
   the `margin-right` of it’s parent `<li>` element.
 *  Plugin Author [AlanP57](https://wordpress.org/support/users/alanp57/)
 * (@alanp57)
 * [6 years ago](https://wordpress.org/support/topic/disabling-the-ellipses-2/#post-12889666)
 * The right margin can also be adjusted with custom CSS code.
 *  Thread Starter [gutterboy333](https://wordpress.org/support/users/gutterboy333/)
 * (@gutterboy333)
 * [6 years ago](https://wordpress.org/support/topic/disabling-the-ellipses-2/#post-12889835)
 * Hi Alan,
 * Not in a reliable manner it can’t. It has no specific class tied to that `<li
   >` element, so the only way to target it would be to target it as a specific 
   child element, but it doesn’t stay in a reliable position to do so (sometimes
   it’s the last child and sometimes it’s the second last child – and I think sometimes
   it’s the first child and sometimes it’s the second child).
 * Yes, you could technically apply a class to it via JS, but to be honest IMO I
   think that is getting a bit convoluted for what should be a trivial problem.
 *  Thread Starter [gutterboy333](https://wordpress.org/support/users/gutterboy333/)
 * (@gutterboy333)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/disabling-the-ellipses-2/#post-13243277)
 * Why is it so hard to fix this?
 * To me it seems that putting in a simple checkbox in admin to disable the ellipses
   would be pretty simple.
 * All you have to do is change this line:
 * `$ellipsis = "<li><span class='gap'>...</span></li>";`
 * to…
 * `$ellipsis = "";`
 * Not sure why this is such a hard request. Every single time the plugin is updated
   I have to manually make this change.
 * Fortunately I only have it installed on one site at this stage, but I likely 
   wouldn’t install it on any others because of this.
 *  Plugin Author [AlanP57](https://wordpress.org/support/users/alanp57/)
 * (@alanp57)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/disabling-the-ellipses-2/#post-13243385)
 * We have been busy with a major project. But we can consider adding this in the
   future.
 *  Thread Starter [gutterboy333](https://wordpress.org/support/users/gutterboy333/)
 * (@gutterboy333)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/disabling-the-ellipses-2/#post-13245034)
 * Thank You. That would be much appreciated! 🙂
 *  Plugin Author [AlanP57](https://wordpress.org/support/users/alanp57/)
 * (@alanp57)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/disabling-the-ellipses-2/#post-13268479)
 * We have released version 2.1.1 that includes the option to hide ellipses.
 *  Thread Starter [gutterboy333](https://wordpress.org/support/users/gutterboy333/)
 * (@gutterboy333)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/disabling-the-ellipses-2/#post-13269069)
 * Thank you so much Alan – this makes updating so much easier 🙂
 *  Thread Starter [gutterboy333](https://wordpress.org/support/users/gutterboy333/)
 * (@gutterboy333)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/disabling-the-ellipses-2/#post-13283012)
 * Hi [@alanp57](https://wordpress.org/support/users/alanp57/),
 * Once again thanks for putting in a fix for this, however it seems it falls a 
   bit short as it leaves the empty `<li></li>` there.
 * This is a problem for the reasons I have specified above.
 * Can’t it just be an empty string? …or at least apply a class to the empty `<li
   >` so it can reliably be targeted with CSS.
 * Thanks!
 *  Plugin Author [AlanP57](https://wordpress.org/support/users/alanp57/)
 * (@alanp57)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/disabling-the-ellipses-2/#post-13287089)
 * You can change
 * `$ellipsis = "<li></li>";`
 * on line 369 to
 * `$ellipsis = "<li class='ellipse-gap'></li>";`
 * And this will be included next release, whenever that happens.
 *  Thread Starter [gutterboy333](https://wordpress.org/support/users/gutterboy333/)
 * (@gutterboy333)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/disabling-the-ellipses-2/#post-13287576)
 * Thanks Alan! 🙂

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Disabling the ellipses’ is closed to new replies.

 * ![](https://ps.w.org/wp-paginate/assets/icon-128x128.png?rev=1566512)
 * [WP-Paginate](https://wordpress.org/plugins/wp-paginate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-paginate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-paginate/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-paginate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-paginate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-paginate/reviews/)

 * 12 replies
 * 2 participants
 * Last reply from: [gutterboy333](https://wordpress.org/support/users/gutterboy333/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/disabling-the-ellipses-2/#post-13287576)
 * Status: resolved