• Sam

    (@forbiddenchunk)


    I have using pagination on my blog and I want to add rel on previous/next and each number.

    I’ve looked everywhere for the solution to this, but there doesn’t seem to be.

    This is what I have so far;

    echo paginate_links( 
    	array(
    		'total'   => $total_pages,
    		'current' => $current_page,
    	) 
    );

    Does anyone have an idea on how to do this, please?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Pagination with rel in the href’ is closed to new replies.