page.php Edit Mistake
-
I am NOT code savvy. I cannot link my site b/c I’m developing it on my Mac using MAMP internal server.
I was adding Dynamic Content Gallery and had it working great by inserting its code into page.php.
Then I tried to center it and failed, so I tried to restore what I had before. I thought I did it fine, but I clearly lost some of what should be there on the way.
Can someone please look at this and tell me what it SHOULD say? I have a feeling I’m only missing a line or a symbol or something (probably near the bottom, as I had the DCG code just before footer).
Many thanks.
<?php /** * @package WordPress * @subpackage Default_Theme */ get_header(); ?> <div id="wp_content_wrapper" class="autoheight"> <div id="wp_content" class="autoheight content_typography"> <div id="wp_content_single"> <?php if(have_posts()) : while(have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <h2 class="posttitle"><?php the_title(); ?></h2> <?php the_content('<p>Read the rest of this entry »</p>'); ?> <div class="fix"></div> <?php wp_link_pages(array('before' => <div '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> <?php the_tags( '<p>Tags: ', ', ', '</p>'); ?> </div> <?php if($post->comment_status == 'open') comments_template(); ?> <?php endwhile; edit_post_link('', '<p>', '</p>'); else: ?> <div class="post"> <p>Sorry, no posts matched your criteria.</p> </div> <?php endif; ?> </div> </div> <?php get_footer(); ?>
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘page.php Edit Mistake’ is closed to new replies.