You can post code directly into your question. You should edit the question to add your code so we don’t have to go looking for it. Plus if you ever delete that pastebin, this question is worthless to future users.
You have registered the post type to have an archive, and then your template is repeating the query for tutorials. That isn’t very efficient. I would delete the page and the page template entirely. archive-tutorials.php will work and doesn’t need an additional WP_Query()
.
I’d probably remove the rewrite parameter from your post type
'rewrite' => array('slug' => 'tutorials/%tcat%'),
and see if that makes a difference. Be sure to re-save your permalinks after you do. If it does then you have a different question about permalinks.
Related Posts:
- Custom Post Type Pagination Doesn’t Work in WordPress 3.4
- Pagination not working on Custom Page Template
- How to add pagination in between post and comments?
- Custom loop pagination links not working
- Making a custom Pagination for multi page blog post
- Custom Post Limit for homepage only without plugin?
- Pagination Not Working With Custom Post Type Category
- Custom Select Query pagination not working properly
- wordpress paginate, link to the right page
- Custom Post Type Pagination 404 Error (if paged>=2) [duplicate]
- How to display by default only published posts/pages in the admin area?
- Find out who deleted a page or post?
- Post/Page Preview Template
- using wp_update_post on save_post
- Replace image attributes for lazyload plugin (data-src)
- How to Group Posts by the First Letter or Number?
- WordPress plugin to publish to multiple remote WordPress blogs
- Any way to create a revision of a post ONLY with a new button in the Meta Box?
- How to display comments and comment form on custom post type?
- How to wrap every image in a post with a div?
- I’m having some issues with previous_post_link() and next_post_link()
- Show One Category on Post
- WordPress Delete hook with wp_delete_post function?
- Custom post type single (permalink) throws a 404 error
- Order post by year DESC and month ASC
- Do I use custom post type or something else?
- how “manage_posts_custom_column” action hook relate to “manage_${post_type}_columns” filter hook?
- Delete Post From Front-End and attachment permanently
- Custom post type permalinks breaking due to 3.1 bug fix
- When paginating a Page with the tag, how can the 2nd and subsequent page styles be customised?
- ‘Invalid post type’ error when importing from one site to another
- Blogroll – Different layout for first post
- How to delete old posts’ edits to save space?
- Get post id in wordpress action?
- Edit custom post type admin menu link
- How to include a post type in the admin/backend?
- Get posts of ONE taxonomy term of custom post type
- WordPress Custom Fields (Checkboxes with multiple values)
- Using custom post template
- Custom Post Archive Page not working
- Blog post per page setting conflicting with custom WP_Query?
- Adding custom fields to bbpress reply form
- Adding buttons to Add New Post and Add New Page
- WordPress custom Query for Posts in Category display posts multiple times
- Editing the default page to show all posts, rather than most recent ones
- Permission issue with custom post type – not added to menu – by plugin
- Remove Custom Post Type Slug and add Custom Taxonomy to Permalink Structure?
- Add a custom meta box in the post options that loads some html code in the header
- Static posts page with home.php
- Start WP Pagination From Number 1 in URL
- Use two different post_per_page limits with infinite scroll
- Custom post types related to same custom post type?
- Is it possible to customize the post according to post format in single.php?
- Using setup_postdata() with multi-dimensional array
- Check if a custom post type has already been created
- Only show featured image on first page of paginated posts
- Display the 2nd category name of a custom post type without error if its null?
- Querying another post category to match current post and display in loop
- datepicker value in mysql
- Simple Custom Metabox Not Saving
- How to restore deleted post related with deleted users
- Custom Post Type Single Loop Outputting Wrong Post
- Pagination for posts inside a specific category
- How to output all taxonomy links from a custom post type in a menu?
- Can I style single post that are in multiple catergories?
- WordPress Post Deletion Issue
- How Can I Always Display A Particular Post First Using WP_Query?
- MySQL: Possible to replace all of wp_posts.post_content(id#) via UPDATE + REPLACE + SELECT?
- Change modified date to current date when title updated automatically
- How to put the author of the post in the comments?
- Blog posts pagination not working
- Go back to the exact post page number
- How to add a custom class attribute into code wrapper? [duplicate]
- Redirecting wordpress search query to archive page
- Pagination Stops
- How to create custom search form function including post “tags”
- Remove pagination if search returns empty
- How to invoke a HTML custom button based on a HTML dropdownlist menu
- Please I want to prefix my WP posts title according to each category
- insert post fails after multiple postings
- Custom Post Type Rewrite URL
- Custom Post Types and Broken Permalinks
- The first post appears twice
- Count posts for pagination
- Customizing URL slugs of Custom Post Type and Taxonomy make posts/pages 404
- Show Posts By Custom Field
- Custom Post Type doesn’t use single.php or single-{custom_post_type}.php
- How to retrieve custom field values and save again as array
- Is there a Standard Format for Clean URLs for Archives of Custom Posts?
- Customize search results to include custom posts and display in a specific template page
- Custom permalink based on custom post type fields
- Checking if some condition is matched before inserting post into database
- How to only allow post to be deleted if custom field doesn’t exist
- Can’t get pagination to work
- How to display a paginated list of posts from one category on a page? [duplicate]
- adding custom meta as well as looping through posts
- Page not found after clicking on pagination
- How remove “recent comments” title without modifying code? [closed]
- How edit footer copyright info? [closed]
- Need to show birthday of custom post type(Famous people in this case) in elementor. Date of birth set in custom fields