Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if($totalPage > 1){
- $customPagHTML = paginate_links(
- array(
- 'base' => add_query_arg( 'cp', '%#%' ),
- 'format' => '',
- 'prev_text' => __('Back', '«'),
- 'next_text' => __('Next', '»'),
- 'total' => $totalPage,
- 'current' => $page,
- 'type' => ''
- )
- );
- }
- echo $customPagHTML;
- $query = "SELECT * FROM custom_table WHERE custom_table.id = '$id'";
Add Comment
Please, Sign In to add comment