Hi, is there any way to make the wp_paginate() not echo the pagination immediately? I want to store it in variable? Something like the the_title(); and get_the_title(); function in wordpress?
Thanks!
Hi, is there any way to make the wp_paginate() not echo the pagination immediately? I want to store it in variable? Something like the the_title(); and get_the_title(); function in wordpress?
Thanks!
I suppose you could do something like:
ob_start();
wp_paginate();
$pagination = ob_get_clean();Thanks! resolved!
This topic has been closed to new replies.