your string concatenation is broken. join parts of a string with .
, not a comma, and separate arguments with an ampersand.
$wp_query->query('cat=61&showposts=5&paged=' . $paged);
Related Posts:
- The next_posts_link() works only with original $wp_query
- Skipping first 3 posts in wp query
- Automatically create pages in a post based on number of words
- Pagination not working on Custom Page Template
- Pagination for Pages and Posts
- When paginating a Page with the tag, how can the 2nd and subsequent page styles be customised?
- 301 (static page instead latest posts)
- Start post pagination at 0 instead of 1
- Total number of posts in query (category/tag/author/search results/main page…)
- Why won’t pagination work?
- Pagination for normal (standard) posts on a page with a custom loop?
- Go back to the exact post page number
- Disable pagination in posts and pages
- Count posts for pagination
- Posts are not showing up on next page.
- Add wp-link-pages to post
- The next_posts_link() works only with original $wp_query
- Limit amount of pages shown in pagination within wp_query
- Determine if page is the Posts Page
- Keyboard shortcut for updating a page or post?
- Apply the_title() filter in post & page title, but not in menu title
- Difference between an archive and a page listing posts
- Using single.php from plugin folder instead of default template folder
- How to display the page title/content in the Posts page?
- How to disable content pagination?
- Callback for wp.autosave.server.triggerSave();
- How can I see a list of pages and post where my custom Gutenberg block is used?
- disable password protected page for logged users
- RSS for Pages Instead of Posts?
- How can I display 7 posts on the home page, but 9 posts on the subsequent pages?
- Custom Post Type Pagination Doesn’t Work in WordPress 3.4
- Set number of article per number of page
- Display “Post 2 of 4” on single post page?
- Why does `url_to_postid` return 0 when testing `page_for_posts` Page?
- Pagination – Posting First Page Content
- Edit menu item title from edit page/post
- How can I get all posts data from within a paginated search result?
- posts_nav_link() not displaying anything
- can’t use the page_test method to check pagination
- Private Posts/Pages & Search
- Archive Page for Custom Post Type is not Working
- White Blank Page when Updating and Publishing Page/Post
- Posts vs. Pages
- Can’t get the_content of the parent page from its single post?
- Why content_arr[‘extended’] removes paragraph tags?
- How to add pagination in between post and comments?
- Add Word Limit to Posts
- Get the number of posts shown in the current page
- Custom loop pagination links not working
- Post categories to pages
- Second comments section for one post/page
- 404 error on default post type and default taxonomy fronted page
- 2 dynamic sidebars registered, not showing up
- How to make default “Privacy Policy Page” a normal page?
- How to detect when admin user is on the All Posts page?
- Custom Permalink Structure for Pages & Posts
- Getting a “404 Not Found” error when “Preview Changes” is clicked
- Change the number of excerpts displayed in search results layout
- My Custom Post Type Still Using index.php
- WordPress pagination and Post Navigation not working on home page
- Post/page title to permalink transformation – what is behind the scenes?
- Would a “hub” page work better as a page or a post?
- Page of posts made to look like homepage
- How to link post titles on page A to its posts on page B?
- Changing permalink of WordPress
- Rest API Paginate until all posts are imported
- Blog Posts – Scroll to view more
- Permanently deleted posts still exist
- Manipulated offset and pagination, can’t display last post anymore
- Please help a newbie with blog page issue?
- Added a ACF field to custom page and want the results to show as a column in admin
- Deleted page still shows and is showing posts archive
- How to create page with post content in it?
- post and page and custom post type
- Single Sidebar; multiple templates! How?
- Get current_post in reverse order with pagination
- Override wp_link_pages pagebreak with filter
- Can I Paginate Post after every 25 tag?
- WordPress for business site
- Pagination for single post
- Permalink base only for posts
- Any difference betweenn posts and pages for one page?
- Custom Select Query pagination not working properly
- Show only top 3 posts from 3 categories in order on home page
- My blog “page” used to show a list of posts, but now it’s just showing the page content?
- Bulk replacing content of multiple pages/posts?
- wordpress paginate, link to the right page
- how to change the permalink to a specific location?
- One of my posts is displayed as page
- Get current post’s child page?
- Custom Post Type Pagination 404 Error (if paged>=2) [duplicate]
- Not displaying any articles on a custom made file
- Issue with wordpress pagination: last 2 posts show again on second page
- how to show all type of author posts in author page (SOLVED)
- custom post type single page template not working
- WordPress Page Column Problem [closed]
- What function does the loop of displaying posts?
- Show a page counter for pagination
- Automatically search and replace link in content (pages/posts)?
- How to remove slug from CPT correctly?