WordPress.org

Forums

WP Forum (3 posts)

  1. jaydokie
    Member
    Posted 2 years ago #

    I followed the instructions at http://forumpress.org/faq and I get the following error message when i try to click on my menu Forum at http://roundhousetalk.com. Tried to get answers all day but no response yet. Anyone have any thoughts?

    Parse error: syntax error, unexpected '<' in /home/roundh9/public_html/wp-content/themes/twentyeleven/page.php on line 16

  2. alchymyth
    Forum Moderator
    Posted 2 years ago #

    have you edited page.php of the Twenty Eleven theme in any way?

    what is the full code of that page.php?

    ( http://codex.wordpress.org/Forum_Welcome#Posting_Code )

  3. jaydokie
    Member
    Posted 2 years ago #

    [ Moderator note: wrap code in backticks or use the code button. Parenthesis don't work. ]

    <?php
    /**
     * The 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(); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic