Page-Links Plus affiliates and resellers

Page-Links Plus

WP pagination plugin. Paginate WP content easily & efficiently.

Remove "First" & "Last" links?

Home Forums Support Remove "First" & "Last" links?

This topic contains 1 reply, has 2 voices, and was last updated by  Studio Hyperset 2 years, 8 months ago.

  • Author
  • #657 Reply


    Hi guys,

    I can’t seem to be able to do it. If I disable parts of the plugin then I get just “undefined”. If I use just a space it’s technically not visible but it still gets produced as a link. How do I get rid of those? I really just want “Previous” and “Next”.

  • #666 Reply

    Studio Hyperset

    Hi, Michael:

    If using a space character ( ) doesn’t work for you, could could always use nth-based pseudo selectors to hide the “First” and “Last” links.

    The following CSS works on the PLP demo site.

    span#plp_inital_pagination a:nth-child(1), span#plp_inital_pagination a:nth-child(6) {
        display: none;

    Depending on the order of your pagination, you might need to adjust the nth values on your site.

Reply To: Remove "First" & "Last" links?
Your information:



Page-Links Plus helps WordPress developers, site managers, and lay users paginate content easily & efficiently.
back to top