Title: layout coding issue &#8211; please help
Last modified: August 19, 2016

---

# layout coding issue – please help

 *  [bgb76](https://wordpress.org/support/users/bgb76/)
 * (@bgb76)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/layout-coding-issue-please-help/)
 * Hi Guys…
 * I’m new to wordpress theming and coding. Help required to layout the content 
   issues.
    [Website](http://www.mahdara.com/blog/)
 * I have blog, picasa gallery, tubepress gallery and even calender.
 * I’m unable to place content of picasa, tubepress and event calender in my theme
   page as they are plugins placed in different pages.
 *     ```
       <?php get_header(); ?>
   
       				<div id="content-top"></div>
                   	 <div id="content-inner">
                        	 <!-- begin of page title -->
                            <div id="page-title" style="padding-left:35px;">
                            <?php if(is_single()) { ?>
                               <h3><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h3>
                           <?php } else { echo "<h3>Mahdara Blog</h3>"; } ?>
                           </div>
                           <!-- end of page title --> 
   
                           <!-- begin of main -->
                        	<div id="main">
                           	<div id="main-left">
                       			<!--<div>-->
                                   <?php
       							if (is_category()) {
       								echo '<h1 class="listhead">';
       								_e("Category", "notesblog");
       								echo ' <strong>';
       								single_cat_title();
       								echo '</strong></h1>';
       								} if (is_tag()) {
       								echo '<h1 class="listhead">';
       								_e("Tag", "notesblog");
       								echo ' <strong>';
       								single_tag_title();
       								echo '</strong></h1>';
       								} if (is_search()) {
       								echo '<h1 class="listhead">';
       								_e("Your <strong>search result</strong>", "notesblog");
       								echo '</h1>';
       							}
       							?>
                                   <!--</div>-->
   
                              <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
                              <!-- blog post title : begin -->
                              <div id="page-title1" style="padding-top:10px; padding-bottom:10px; background:#F93;">
                               	<h3><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h3>
                           	</div>
                           <!-- blog post title : end -->
                               <p style="text-align:justify;">
                               <?php the_content(); ?>
                               </p>
                               <p>
       							<?php the_time('F j, Y'); ?> at <?php the_time('g:i a'); ?> | <?php the_category(', '); ?> | <?php comments_number('No comment', '1 comment', '% comments'); ?>
                               </p>
                       		<?php endwhile; else: ?>
                               		<h2>Woops...</h2>
       					    		<p>Sorry, no posts we're found.</p>
       			    		<?php endif; ?>
       			    		<p align="center"><?php posts_nav_link(); ?></p>
                             </div>
                             <!-- end of main-left --> 
   
                               	<?php get_sidebar(); ?>
   
                               <!-- end of main-right -->
                               <div class="clr"></div>
                           </div>
                           <!-- end of main -->
                        </div>
       get_footer()
       ```
   
 * Please help me to place right codes into the the theme.
 * Thanks in Advance.
    bharadwaj bangalore

The topic ‘layout coding issue – please help’ is closed to new replies.

## Tags

 * [Displacement](https://wordpress.org/support/topic-tag/displacement/)
 * [layout](https://wordpress.org/support/topic-tag/layout/)

 * 0 replies
 * 1 participant
 * Last reply from: [bgb76](https://wordpress.org/support/users/bgb76/)
 * Last activity: [15 years, 9 months ago](https://wordpress.org/support/topic/layout-coding-issue-please-help/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
