Hot answers tagged


There are three types of outputs you can get from paginate_links(), but all of them are going to have <a> inside of them. I think an easy solution would be to use PHP to just strip out the <a> tag for you. Rather than echoing back paginate_links(), store that in a variable and then use preg_replace() to take out the anchors and echo that back: $...

Only top voted, non community-wiki answers of a minimum length are eligible