• Resolved gutterboy333

    (@gutterboy333)


    Hi there,

    I created a similar topic about 15 months ago here: https://www.ads-software.com/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

    (@alanp57)

    You can add some custom CSS to your sites to permanently remove the ellipses:

    .wp-paginate .gap {
    display: none;
    }

    Thread Starter gutterboy333

    (@gutterboy333)

    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

    (@alanp57)

    The right margin can also be adjusted with custom CSS code.

    Thread Starter gutterboy333

    (@gutterboy333)

    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

    (@gutterboy333)

    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

    (@alanp57)

    We have been busy with a major project. But we can consider adding this in the future.

    Thread Starter gutterboy333

    (@gutterboy333)

    Thank You. That would be much appreciated! ??

    Plugin Author AlanP57

    (@alanp57)

    We have released version 2.1.1 that includes the option to hide ellipses.

    Thread Starter gutterboy333

    (@gutterboy333)

    Thank you so much Alan – this makes updating so much easier ??

    Thread Starter gutterboy333

    (@gutterboy333)

    Hi @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

    (@alanp57)

    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

    (@gutterboy333)

    Thanks Alan! ??

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Disabling the ellipses’ is closed to new replies.