(ul)exceeding the post body size
-
Hello everyone
as the title say i have (ul) exceed the post body size
image https://oi48.tinypic.com/fwhy0j.jpgthat (ul) code is
<ul> <li class="first"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'nishita' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_time( get_option( 'date_format' ) ); ?></a></li> <?php if( get_the_category() ) { ?><li><?php the_category( ', ' ); ?></li><?php } ?> <li class="last"><?php comments_popup_link( __( 'No comments', 'nishita' ), _x( '1 comment', 'comments number', 'nishita' ), _x( '% comments', 'comments number', 'nishita' ), 'comments-link', __( 'Comments open', 'nishita' ) ); ?></li> </ul>
The whole page code
<?php /** * The Template for displaying all single posts. * * @package WordPress * @subpackage Nishita */ get_header(); ?> <?php $withcomments = 1 ?> <?php /* Run a check to see if there are any active widgets * loaded into the Primary Sidebar. If widgets are present, * then we add a special class (single-no-sidebar) to a wrapper * div in order to reduce the width of page content and * allow for a widgetized sidebar to be present. */ if ( ! is_active_sidebar( 'primary-sidebar' ) ) echo '<div class="main single-no-sidebar">'; else echo '<div class="main">'; ?> <?php while ( have_posts() ) : the_post(); ?> <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <?php if ( get_the_title() ) { ?> <h2 class="photo-title"> <span class="content-title"><?php the_title(); ?></span> </h2> <div class="navigate-single"> <?php previous_post_link('<div class="older-wrapper">%link</div>','<img src="https://gingerlol.com/wp-content/uploads/2013/03/back-1.png"/>'); ?> <?php next_post_link('<div class="newer-wrapper">%link</div>','<img src="https://gingerlol.com/wp-content/uploads/2013/03/forward-1.png"/>'); ?> </div><!-- .navigate --> <?php } ?> <div class="photo"> <div class="photo-inner"> <?php the_content(); ?> <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'nishita' ) . '</span>', 'after' => '</div>' ) ); ?> <?php the_tags( '<div class="entry-tags"><span class="the-tags">' . __( 'Tags:', 'nishita' ) . '</span> ', ', ', '</div>' ); ?> <?php if ( is_multi_author() ) { printf( '<span class="the-author">' . __( 'This entry was posted by %s.', 'nishita' ) . '</span>', get_the_author() ); } ?> <?php edit_post_link( __( 'Edit', 'nishita' ), '<span class="edit-link">', '</span>' ); ?> <?php if ( comments_open() ) comments_template( '', true ); ?> <div class="clear"></div> </div><!-- .photo-inner --> </div><!-- .photo --> <div class="photo-meta"> <div class="photo-meta-inner"> <ul> <li class="first"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'nishita' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_time( get_option( 'date_format' ) ); ?></a></li> <?php if( get_the_category() ) { ?><li><?php the_category( ', ' ); ?></li><?php } ?> <li class="last"><?php comments_popup_link( __( 'No comments', 'nishita' ), _x( '1 comment', 'comments number', 'nishita' ), _x( '% comments', 'comments number', 'nishita' ), 'comments-link', __( 'Comments open', 'nishita' ) ); ?></li> </ul> </div><!-- .photo-meta-inner --> </div><!-- .photo-meta --> </div><!-- #post-<?php the_ID(); ?> --> . <?php endwhile; // end of the loop. ?> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-39148976-1']); _gaq.push(['_setDomainName', 'gingerlol.com']); _gaq.push(['_setAllowLinker', true]); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://' : 'https://') + 'stats.g.doubleclick.net/dc.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> </div><!-- .main --> <?php get_sidebar(); ?> <?php get_footer(); ?>
Thanks
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘(ul)exceeding the post body size’ is closed to new replies.