![]() |
|
||||||
|
|||||||
| Theme and Template Discussion This is the place to discuss themes and templates. We're talking any kind from Blogger, LiveJournal, Typepad, Wordpress etc... |
| Welcome to Bloggeries Blog Forum - Your First and Last Stop in the Blogosphere! |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
I just installed a new blog theme at Naperville Pet Sitters
It looks like my posts are working ok but when I try to access pages I get this error: Parse error: parse error, unexpected T_ENDIF in /home/content/d/e/s/desidnandpromo/html/waggsnwetnoses/wp-content/themes/theme537/page.php51 I am guessing it is a path problem but I'm not seeing it easily. Here's the code for my page.php file I would appreciate it anybody knowledgeable in template design could take a look and see what's out of wack. Thanks <?php get_header(); ?> <?php get_sidebar(); ?> <div class="column_1"> <div class="side_left"> <div class="side_right"> <div class="side_top"> <div class="side_bot"> <div class="left_top"> <div class="right_top"> <div class="left_bot"> <div class="right_bot"> <div id="top"></div> <div id="min_h"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="title"> <div class="left_top_1"> <div class="right_top_1"> <div class="left_bot_1"> <div class="right_bot_1"> <div class="title_indent"> <div class="date"><?php tm_date('');?></div> <h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3> <span class="author">Author: <?php the_author() ?></span><br /> </div> </div> </div> </div> </div> </div> <div class="text_box"> <?php the_content('<p class="serif">Read the rest of this page »</p>'); ?> <?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?> <p class="postmetadata"><?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?></p> </div> <div class="comments"> <div class="col block"> <div class="bg_com"> <div class="bg_com_left"> <div class="bg_com_right"> </div> </div> </div> </div> <div class="col block_1"> </div> <div class="clear"></div> </div> <?php endif; ?> </div> <div id="bottom"></div> </div> </div> </div> </div> </div> </div> </div> </div> </div> <?php get_footer(); ?>
__________________
|
|
|
|
||||
|
Have you tried to remove the <?php endif; ?> to see what happens.
__________________
Watch some really Funny Videos | Add your blog to the Bloggeries Directory | Cheap and Reliable Blog Host |
|
||||
|
I got it
![]() I needed to add <?php endwhile; ?> just before <?php else : ?> That took about 2 hours comparing with other templates, what a drag. I don't know what all that means but lets just hope I do not have to do that again!
__________________
|
|
||||
|
Nice catch, I couldnt understand what he was trying to end, most endif's usually have some sort of statement along with it.
__________________
Watch some really Funny Videos | Add your blog to the Bloggeries Directory | Cheap and Reliable Blog Host |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|