• Resolved andreaskou

    (@andreaskou)


    Hello,

    I support this customer http://www.hristospanagia.gr and for some reason all menus (on top) are showing the same page even though the link (permalinks) are changing correctly.

    If you click an any menu the header will change but the content of the page will always be the same. I also cannot find this page in back end.
    I have not installed any plugins recently, I’ve cleared cache on my browser and I don’t use any caching plugin on WP.

    Thank you for your time and effort!

    • This topic was modified 7 years, 3 months ago by andreaskou.
Viewing 4 replies - 1 through 4 (of 4 total)
  • lisa

    (@contentiskey)

    start by deactivating all plugins to begin to narrow down the source of the issue.

    what is the code of page.php and of content-page.php of the theme?

    Thread Starter andreaskou

    (@andreaskou)

    Hi Micheal!

    I forgot to mention that it’s the “twenty eleven” theme.
    Here is page.php

    
    <?php
    /**
     * Template for displaying all pages
     *
     * This is the template that displays all pages by default.
     * Please note that this is the WordPress construct of pages
     * and that other 'pages' on your WordPress site will use a
     * different template.
     *
     * @package WordPress
     * @subpackage Twenty_Eleven
     * @since Twenty Eleven 1.0
     */
    
    get_header(); ?>
    
                    <div id="primary">
                            <div id="content" role="main">
    
                                    <?php while ( have_posts() ) : the_post(); ?>
    
                                            <?php get_template_part( 'content', 'page' ); ?>
    
                                            <?php comments_template( '', true ); ?>
    
                                    <?php endwhile; // end of the loop. ?>
    
                            </div><!-- #content -->
                    </div><!-- #primary -->
    
    <?php get_footer(); ?>
    

    Here is content-page.php

    
    <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
            <header class="entry-header">
                    <h1 class="entry-title"><?php the_title(); ?></h1>
            </header><!-- .entry-header -->
    
            <div class="entry-content">
                    <?php the_content(); ?>
                    <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
            </div><!-- .entry-content -->
            <footer class="entry-meta">
                    <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
            </footer><!-- .entry-meta -->
    </article><!-- #post-<?php the_ID(); ?> -->
    

    @lisa

    I’ll do it right away.

    Thanks again!

    Thread Starter andreaskou

    (@andreaskou)

    Lisa you where right…
    The culprit was “WordPress Flash Page Flip”.
    They don’t use that many plugins but some are quite old I guess I’ll have to check them all if they have any updates and if not I guess I should remove them.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘All the menu show same (incorrect) page’ is closed to new replies.