Footer not displaying posts
Tagged: footer
- This topic is empty.
-
AuthorPosts
-
August 16, 2026 at 1:54 pm #47819
Lucius Douglas
ParticipantI made a change to the footer.php and the posts are not showing. If anyone can see why the posts are not displaying in column 1, that would be great. The twitter feed and the form are displaying fine but not in the proper columns 2 & columns 3.
All code for 3 column display:
<!– =============================== Column Three – 3 =================================== –>
<div class=”cols-3″>
<?php if(!dynamic_sidebar(‘footer-1’)) : ?>
<div class=”widget-column-1″>
<h5><?php if( of_get_option(‘letestpoststitle’) != ”){ echo of_get_option(‘letestpoststitle’);}; ?></h5>
<ul class=”recent-post”>
<?php query_posts(‘post_type=post&cat=148&showposts=4’); ?>
<?php while( have_posts() ) : the_post(); ?>- “>
<?php if ( has_post_thumbnail() ) { $src = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), ‘thumbnail’ ); $thumbnailSrc = $src[0]; ?>
<div class=”footerthumb”>” alt=”” width=”70″ height=”auto” ></div><?php }
else { ?>
/images/img_404.png” width=”70″ />
<?php } ?>
“><?php the_title(); ?>
<?php echo content( of_get_option(‘footerpostslength’) ); ?><?php endwhile; ?>
<?php wp_reset_query(); ?>
</div>
<?php endif; ?><?php if(!dynamic_sidebar(‘footer-2’)) : ?>
<div class=”widget-column-2″>
<div class=”social-container”>
<?php if( of_get_option(‘footersocialicon’) != ”) { echo do_shortcode(of_get_option(‘footersocialicon’)); } ; ?>
</div>
<div class=”twitter-container”>
Tweets by DivorceToolBox
<script async=”async” src=”https://platform.twitter.com/widgets.js” charset=”utf-8″></script>
</div>
</div>
<?php endif; ?><?php if(!dynamic_sidebar(‘footer-3’)) : ?>
<div class=”widget-column-3″>
<h5><?php if( of_get_option(‘abouttitle’) != ”) { echo of_get_option(‘abouttitle’); } ; ?></h5>
<?php if( of_get_option(‘aboutusdescription’) != ”) { echo of_get_option(‘aboutusdescription’); } ; ?>
<div class=”clear”></div>
</div>
<?php endif; ?><div class=”clear”></div>
</div><!–end .cols-3–>
<?php
}
elseif($footerlayout==’fourcolumn’){ ?><!– =============================== Column Fourth – 4 =================================== –>
- “>
-
AuthorPosts
- You must be logged in to reply to this topic.
