Hiya, thanks for the help, I tried what you said but it didnt fix the problem, so I have gotten the blog feed code of another website which keeps the blog details together but unfortunatly they blog goes off the page. Here is a link of what I mean https://www.dropbox.com/s/fi6xwc5iqi5qr00/Screen%20Shot%202013-10-13%20at%2011.46.57.png
And below is the code, any idea where I am going wrong?
<div class="blog-entry clearfix">
<?php
$thePostID = $post->ID;
$get_custom_options = get_option($shortname.'_blog_page_id');
$cat_id_inclusion = trim($get_custom_options['blog_to_cat_'.$thePostID]);
if ($cat_id_inclusion) $cat_inclusion = 'cat='.$cat_id_inclusion.'&';
query_posts($cat_inclusion.'posts_per_page='.get_option($shortname."_blog_posts_count").'&post_status=publish&paged='.$paged);
if ( have_posts() ) while ( have_posts() ) : the_post();
?>
<div class="blog_content_inner blogBackrpt">
<?php
//check if the post has a thumbnail
if ( (function_exists('has_post_thumbnail')) && (has_post_thumbnail()) ) {
$custom = get_post_custom($post->ID);
$crop_blog_featured_image = $custom[$shortname."_crop_featured_image"][0];
if ($crop_blog_featured_image) {
$blog_image_original = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), '', false );
$get_custom_image_url_big = $blog_image_original[0];
echo '<img src="'.$get_custom_image_url_big.'" alt="'.get_the_title().'">';
} else {
the_post_thumbnail('blog_listings', array( 'alt' => get_the_title()));
}
} else {
if (!get_option($shortname."_hide_blog_entire_metabox")) {
echo '<p style="padding-top:45px;"> </p>';
}
}
?>
<?php if (!get_option($shortname."_hide_blog_entire_metabox")) { ?>
<?php if ( (!get_option($shortname."_hide_blog_author_metabox"))
|| (!get_option($shortname."_hide_blog_date_metabox"))
|| (!get_option($shortname."_hide_blog_category_metabox"))
|| (!get_option($shortname."_hide_blog_comments_metabox")) ) { ?>
<div class="meta_box">
<ul>
<?php if (!get_option($shortname."_hide_blog_author_metabox")) { ?>
<li><?php _e('by','minimalisto'); ?> </li>
<li><?php the_author_posts_link(); ?>, </li>
<?php } ?>
<?php if (!get_option($shortname."_hide_blog_date_metabox")) { ?>
<li><?php _e('on','minimalisto'); ?> <?php echo get_the_time('F j, Y'); ?> - </li>
<?php } ?>
<?php if (!get_option($shortname."_hide_blog_category_metabox")) { ?>
<li><?php the_category(', ') ?></li>
<?php } ?>
<?php if (!get_option($shortname."_hide_blog_comments_metabox")) { ?>
<li>|</li>
<li><?php comments_popup_link(__('No comments','minimalisto'),__('1 comment','minimalisto'), __('% comments','minimalisto')); ?></li>
<?php } ?>
</ul>
</div><!--/meta_box-->
<?php
}
}
?>
<div class="blog_info">
<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<?php
if (get_option($shortname."_blog_posts_full_content")) {
the_content();
} else {
//get custom for this post to check if full content is enabled for current post
$blog_post_single_full_content = '';
$custom = get_post_custom($post->ID);
$blog_post_single_full_content = $custom[$shortname."_blog_post_single_full_content"][0];
if ($blog_post_single_full_content) {
the_content();
} else {
the_excerpt();
?>
<a href="<?php the_permalink(); ?>" class="continue"><?php _e('Continue Reading —›','minimalisto'); ?></a>
<?php
} //end to check if is activated full content in this post only for Blog listings
} //end to check if is activated full content in Blog listings
?>
</div><!--/blog_info-->
</div><!--/blog_content_inner-->
<?php endwhile; ?>
<?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?>
</div>