Title: Page Navigation Error
Last modified: August 20, 2016

---

# Page Navigation Error

 *  [kaushikmacharla](https://wordpress.org/support/users/kaushikmacharla/)
 * (@kaushikmacharla)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/page-navigation-error-1/)
 * Hello Everyone.
    This is a serious problem Iam facing in wordpress with my theme
   feel like giving up wordpress. My page navi shows only first two pages.when i
   go for the third page it says
 * > “No Results Found
   >  The page you requested could not be found. Try refining 
   > your search, or use the navigation above to locate the post”
 * I have posted plenty of posts in my blog and only first two pages can be visible
   for everyone. Dont know what was the problem with the theme.It is a a premium
   wordpress theme “Magnificient” by Elegant Themes.My blog url is [http://www.asmartandroid.com](http://www.asmartandroid.com)
   
   and Finally this is my index.php file.
 *     ```
       <?php if (is_archive()) $post_number = get_option('magnificent_archivenum_posts');
       if (is_search()) $post_number = get_option('magnificent_searchnum_posts');
       if (is_tag()) $post_number = get_option('magnificent_tagnum_posts');
       if (is_category()) $post_number = get_option('magnificent_catnum_posts'); ?>
       <?php get_header(); ?>
   
       <?php $blogStyle = (get_option('magnificent_blog_style') == 'false') ? false : true; ?>
   
       <?php include(TEMPLATEPATH . '/includes/breadcrumbs.php'); ?>
   
       	<div id="entries">
       		<?php global $query_string;
       		$i = 1;
       		if (is_category()) query_posts($query_string . "&showposts=$post_number&paged=$paged&cat=$cat");
       		else query_posts($query_string . "&showposts=$post_number&paged=$paged"); ?>
   
       		<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
       			<?php if (!$blogStyle) include(TEMPLATEPATH . '/includes/entry.php');
       			else include(TEMPLATEPATH . '/includes/entry-blogstyle.php'); ?>
       		<?php endwhile; ?>
       			<?php include(TEMPLATEPATH . '/includes/navigation.php'); ?>
       		<?php else : ?>
       			<?php include(TEMPLATEPATH . '/includes/no-results.php'); ?>
   
       		<?php endif; wp_reset_query(); ?>
       	</div> <!-- end #entries -->
   
       	<div id="sidebar-right" class="sidebar">
       		<div class="block">
       			<div class="block-border">
       				<div class="block-content">
       					<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Sidebar Right Top') ) : ?>
       					<?php endif; ?>
       				</div> <!-- end .block-content -->
       			</div> <!-- end .block-border -->
       		</div> <!-- end .block -->	
   
       		<div class="block">
       			<div class="block-border">
       				<div class="block-content">
       					<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Sidebar Right Bottom') ) : ?>
       					<?php endif; ?>
       				</div> <!-- end .block-content -->
       			</div> <!-- end .block-border -->
       		</div> <!-- end .block -->
       	</div> <!-- end #sidebar-right -->
   
       <?php get_footer(); ?>
       ```
   
 * Please Help me as soon as possible.I earn plenty of bucks throught it daily.Dont
   want to deviate my users.
 * Thanks in Advance
 * Regards
    Kaushik Macharla

Viewing 1 replies (of 1 total)

 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/page-navigation-error-1/#post-3269752)
 * Have you contacted Elegant Themes for help? They provide support for their commercial
   themes.

Viewing 1 replies (of 1 total)

The topic ‘Page Navigation Error’ is closed to new replies.

## Tags

 * [page](https://wordpress.org/support/topic-tag/page/)
 * [page navi](https://wordpress.org/support/topic-tag/page-navi/)

 * 1 reply
 * 2 participants
 * Last reply from: [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/page-navigation-error-1/#post-3269752)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
