You could try combining these:
Buttons
next_posts_link( 'Prev' );
previous_posts_link( 'Next' );
Current page
echo (get_query_var('paged')) ? get_query_var('paged') : 1;
Total pages
wp_count_posts();
In HTML
<?php next_posts_link( 'Prev' ); ?>
<?php echo (get_query_var('paged')) ? get_query_var('paged') : 1; ?>
<span> of </span>
<?php echo wp_count_posts(); ?>
<?php next_posts_link( 'Prev' ); ?>
Related Posts:
- WordPress Paginate $wpdb->get_results
- pagination in woocommerce order history page
- Adding Pagination on a Custom Author Page
- Paginate Author’s Post List on Custom Author Page (ANOTHER THEORY)
- Pagination Issues using WP_Paginate Plugin
- Hide text if not homepage
- Is there a way to by-pass the pagination function on one custom template?
- website with pretty permalinks except pagination
- Pagination with custom field
- WordPress pagination with custom post type?
- Custom query pagination with php parameter as arg problem
- WordPress custom search – pagination
- Pagination is not working on custom query
- Gallery Pagination by Row
- Customizing gallery shortcode in 3.5
- What is true chmod for WordPress?
- Can You Export Theme Settings From WordPress Multisite?
- Adding Custom Fields to WordPress Comment Forms?
- Any Hook Called When Post Becomes Published?
- Automatically wrap post image in div
- How Can A Widget With Only One Instance Be Defined?
- Getting $comments outside the comment template
- get_theme_mod(); returns nothing
- Find and replace domain name on the fly?
- What is the most idiomatic way to let clients edit phrases in HTML?
- How to Register and Display Widget for Custom taxonomy
- How to change “Dashboard” text in wordpress
- WordPress Template not affecting the working, keeps defaulting to the index.php template
- Custom Widget form function common elements
- Image Editor does not affect custom sizes!
- How to fix the IE9/WordPress Twenty Ten Header Image Display Problem?
- Automatically add image caption with values from a post parent field?
- WP Northwind for Theme Development?
- list/consult Taxonomy only for the respective author/creator in dashbboard
- How to insert a sitemap within a subsite when using WordPress multisite
- Enabling Additional CSS / custom-css
- Child Theme – how to add new widget on a specific place?
- Modify Gallery Output to render differently on a PAGE and a POST
- @font-face is not working in WordPress
- Add google org chart to wordpress page
- I’m using add_meta_box() but want to include TinyMCE editor *and* Media Uploads for each box
- How-To add Custom field in WordPress wp-ecommerce Categories?
- What changes we need to make to a theme so it can be installed as a MU Theme?
- Get Custom Logo Alt Text
- The function can not create a table on MariaDB server
- Child theme .css files are not overriding their parent .css files
- How to handle paged param in post and custom-post-type?
- One WordPress Installation for 2 Domains
- result from custom filter admin table list backend does not work
- How can I get the custom post type assigned to a current custom taxonomy for query?
- Unable to edit the “customize” section and the “widget” section is populating unknown code
- Blog page problems
- Installing new theme on running site
- Switch between WordPress websites easy for an end user
- I’d like to be able to programatically setup a site to discourage crawling by search engines
- Is there a way to add a new value into a stored custom field value?
- dbDelta not creating tables with composite keys
- Good way to customize admin CSS?
- Divi theme: change overlay color from default blue to back [closed]
- Add table to WordPress database
- Hide content and functions from specific user roles
- Translating (WooCommerce) placeholder text
- Display content of metabox if filled in
- User profile Pick a premade Design/theme
- Recent activity query WordPress
- Echo the Last Child Taxonomy only (not parents)?
- Embed Latest Track (Dynamic Updating) SoundCloud
- Get All Results From Other Users That Share The Same Custom User Meta As Current User
- Can we set a redirection with dynamic content in url?
- website is not loading home page (moving from one server to another server)
- How to remove (…) from the post tilte on homepage?
- Swap home page based on user role, Elementor layout breaking
- Customized Blog/Latest Posts Page
- How can I setup a development environment which auto refresh page when code have changed [closed]
- Password Protection issue
- Change Dashboard menu position?
- Get site ID from attachment url?
- how to edit or remove the dashboard footer message [duplicate]
- duplicate featured image functionality in custom meta box
- How to automatically pull an information from a form field onto an other page?
- How to create a custom menu for specific user
- How to submit form data in the same page in WordPress without reloading the page?
- Translate site in own text-language [closed]
- Pull A Single Post Prior To Running wp_query
- Custom Pagination based on Custom Post Type
- How to work around the bug which prevents custom menus from being deleted?
- Create a folder if it doesn’t already exist
- How to remove the tagline from the HTML ?
- Custom table or form
- How I can add blog in my magento site?
- Getting Custom Field value in WP_Query
- Adding Custom HTML/CSS/JS code in specific page
- Custom template not working for existing pages [closed]
- Adding Telescope / Meteor App to existing WordPress site
- Help needed renaming custom post
- Changes to code not displaying
- Permalink Listing WordPress
- Has the table name in SQL for WordPress changed from WP_posts to WPCS_post?
- Multi color post title by using custom javascript inside the gutenberg editor?
- Add custom styles to the Raft theme