First, you should create a child theme so any changes you make are not lost every time you update your theme. Find the template where your theme outputs the page navigation, probably index.php .
Copy the file to your child theme. Replace the current page navigation with:
<?php
$args = array('show_all' => True, 'type' => 'list', 'add_fragment' => ' '); //see codex for other parameters to define
echo paginate_links( $args )
?>
This will get you close, but you’ll need to tweak the $args
parameters to get exactly what you want. You may need to have the function return an array instead of a list, then use a foreach loop to control exactly how each link is output.
im not great at coding can i post my index php here to show u?
[Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]