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
- Parameter for pagination posts_pagination
- Determine if page is the Posts Page
- Get the Current Page Number
- Change Posts per page count
- Stop WP from creating “Sample Page” and “Hello World!” post
- Keyboard shortcut for updating a page or post?
- Apply the_title() filter in post & page title, but not in menu title
- How to display by default only published posts/pages in the admin area?
- Get current menu_order
- Difference between an archive and a page listing posts
- Delete Associated Media Upon Page Deletion
- Get content from one page and show it on another page
- How to Check if a Page Exists by URL?
- Connection lost. Saving has been disabled… (Updating Posts/Pages)
- get_children() Not Working with orderby Parameter
- Allow variable amount of comments before pagination
- how to limit edit_form_after_title hook to page and post edit only?
- Using single.php from plugin folder instead of default template folder
- Post/Page Publish/Update button not clickable once I make an edit
- Strategy for handling hierarchical pages with empty parent content
- Custom Field in Featured image for A particular post
- How to add a new tab to page editor
- How to load paginated post pages via ajax
- How to display the page title/content in the Posts page?
- How to disable content pagination?
- How to Group Posts by the First Letter or Number?
- Callback for wp.autosave.server.triggerSave();
- How can I see a list of pages and post where my custom Gutenberg block is used?
- Restore contents of deleted user
- disable password protected page for logged users
- How to change post to page
- RSS for Pages Instead of Posts?
- Display posts by tag on page
- Why do I need to use The Loop on pages (inside page.php etc)?
- What is the difference between “post” and “page” in WordPress?
- Create custom page in WooCommerce
- posts page – different lengths of excerpt
- WordPress automatic and permanent page
- How can I display 7 posts on the home page, but 9 posts on the subsequent pages?
- Is there a WordPress equivalent to MediaWiki templates
- Determining Slug Before and After Edit
- Getting an alphabetic post list with two letters onclick on letter
- Custom Post Type Pagination Doesn’t Work in WordPress 3.4
- Static posts page with home.php
- Setting pagination for images attached to a post
- Change WordPress post-state in Admin Area
- Show number of posts AND number on current page
- Set number of article per number of page
- Programmatically inserting page breaks
- I’m having some issues with previous_post_link() and next_post_link()
- Is it possible to show a different WP menu when using password protected pages?
- Can I change a post to a page by changing it’s type?
- Overview with latest edited posts and pages
- Display “Post 2 of 4” on single post page?
- how to show all post in my page-grid.php template page
- eBooks download website, page or post?
- Multiple loops in same page, without duplicate content
- Add a custom option to a page in backend
- Include related posts on a page
- why does HTML Tag not working in Post and Page
- Creating new page with pre-defined parent page
- problem to delete page
- Why does `url_to_postid` return 0 when testing `page_for_posts` Page?
- Different amount of posts on homepage than paged pages
- Populating a page with content from post custom fields
- JetPack Infinite Scroll not working on custom theme
- Can I hide a specific post from latest posts page?
- Hide add new page button
- Pagination – Posting First Page Content
- Edit menu item title from edit page/post
- Redirect before post page
- Load posts into sidebar and paginate via ajax?
- How can I get all posts data from within a paginated search result?
- $post object is null
- How to show post(excerpt) from specific category on wp page?
- A way to detect which page a post is on
- Is there any WordPress alternative to Book module of Drupal?
- Changing my permalink structure – will new layout conflict with existing page?
- Convert a complex webpage into WP theme
- How To Keep Posts from Being Displayed Two or More Times on My Homepage? [closed]
- Converting multiple loops into one single loop with pagination
- pagination hook doesn’t work with search results