Page-Links Plus affiliates and resellers

Page-Links Plus

#pagelinksplus

A WordPress pagination plugin that helps users paginate 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 8 months, 2 weeks ago.

  • Author
    Posts
  • #657 Reply

    Michael

    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
    Keymaster

    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:




Get PLP

$10

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