different approach:
global $wp_query;
$args = array_merge( $wp_query->query, array( 'category__not_in' => array(4,7) ) );
query_posts( $args );
get_template_part( 'loop', 'index' );
if this approach should not work, please check if one or more of the plugins is interfering – deactivate all plugins; if the exclusion of categories works then, re-activate one plugin at a time to find the interfering plugin.
Related Posts:
- posts_per_page & pagination conflict
- Broken pagination
- Broken pagination, need help figuring out why!
- Hide featured post on second page
- Pagination on 2nd loop
- Is it possible to have pagination with an offset loop?
- Offset a post in the loop, with using PageNavi Plug-in
- Why do next pages load the same content rather then older articles?
- Add pagination to my custom loop [duplicate]
- Page with Multiple Loops Breaking Pagination
- Pagination in author, category, archive and tags pages does not work
- Blog pagination WITHOUT using max_num_pages
- Page not found yet the posts are listed?
- split wordpress loop into columns of categories and associated posts
- The pagination doesn’t work
- Multiple WP_Query loops with Pagination
- How to display pagination links for WP_User_Query?
- post pagination names, not numbers
- How to fix pagination after rewriting url? ie. www.site.com/players/type/pro/page/3/
- Custom WP_Comment_Query with pagination and orderby?
- Pagination: How do I always show ‘previous’?
- Archive page…limiting posts per page
- Varying the number of posts per page from the first one
- Using pagination with get_posts on page type
- WordPress category & taxonomy loop with pagination
- Static front page with recent posts pagination
- Paginate tags page
- Custom Page Template for “Older Posts” Pages
- Display different number of posts from one category on the different pages
- Pagination not working Search posts
- How to change title tags on paginated posts?
- paginate_links() outputs extra empty pages on custom loop
- When to check for max_num_pages using WordPress REST API?
- Adding pagination to a custom archive template
- How to make my pagination loop continuously?
- wordpress Next/Previous post in same category not working
- WordPress Pagination not working, any ideas?
- Converting multiple loops into one single loop with pagination
- Altering next_posts_link(); and previous_posts_link();
- Prev and Next link for splitting single post into multiple pages [duplicate]
- Pagination: /tags/tag_name/?paged=2 gives a 404 error
- Wpdb result with pagination
- Blog post per page setting conflicting with custom WP_Query?
- Pagination indication “/page/2/” are removed from url and auto redirect without /page/2/ : 301 redirection
- Pagination with no ‘page’ slug
- Modify WP_List_Table pagination “item(s)” text?
- How to stop WordPress returning 404 on paginated pages after using add_rewrite_rule()?
- Invalid previous pagination links generated from paginate_links()
- Pagination for multiple loops
- Multiple Loops on category.php with pagination on last loop
- Pagination customization
- Pagination w/Static Front Page
- Use two different post_per_page limits with infinite scroll
- How do I fix this ‘Undefined variable:’ debug message?
- How do I paginate a list of categories?
- Post Pagination Modifications (wp_link_pages)
- /tag/tag_name/page/2 gives a 404 error
- Wp-pagenavi giving page not found on clicking page 2
- How can I change pagination numbers with next and back button?
- How to exclude or filter password protected posts when using next_post_link() previous_post_link
- How to append a query string to pagination?
- Stomping WP_Query in author archive to facilitate pagination with custom queries
- custom posts archive pagination links /page/2/ ends up in 404
- WP Query for all posts
- Pagination for Custom WP_Query not displaying page 2 results
- pagination error in taxonomy: Warning: Division by zero
- Ending Pagination loop in PHP
- Pagination for two loops
- Paginate the_content automatically? [duplicate]
- pagination links not displaying
- Page navi for template page
- WordPress paginate_links function: How do i ensure the page number is not less than 1 and not greater than last
- Pagination on page 2+ only
- How to replace pagination with Next/Previous for multi page posts?
- How to Add Pagination to Page?
- Disable and redirect pagination of Home
- Can’t Add Pagination
- How to hide empty pagination button when no previous page
- Pagination not working on homepage, On other pages it is working
- next and previous category name and link parent only wordpress in archive page
- WP_User_Query counter not updating with pagination
- Remove Number Of Pagination [closed]
- I would like help getting my pagination to work
- Display Both next previous and number in single page [duplicate]
- Need help on wordpress pagination script
- Update Gallery Randomly in every hour with no duplicates?
- Pagination link problem when reaching the second page
- Add next and previous post links on pages like category, tags or archive pages
- Stop loading more posts if none left AJAX
- How to fix pagination for custom loops?
- Pagination on Custom Loop
- How to inject a post within a loop
- WordPress loop problem: Multiple loops, index.php and is_paged causing duplicate posts on next page
- Default pagination in Home/Front page
- pagination leads to 404 page
- Multiple loop with pagination in same page
- How to automatically load more data when users reaches at the bottom of the page of the wordpress site?
- WPNavi pagination links not working on custom pages
- Stop pagination when static homepage is set
- Is ‘pm’ used by core?