Get all our 20+ Elementor themes worth $609 at just $59! Limited time offer. Get It Now

WordPress Website Templates

Find Professional WordPress themes Easy and Simple to Setup

inner banner

Footer not displaying posts

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #47945
    Lucius Douglas
    Participant

    On this website, https://divorcetoolbox.online/, I edited the footer 3 column format to display posts on the left column, social icons & twitter feed in the center column and signup form on the right. However, the first column doesn’t appear at all. All it shows is this:

    <div id=”block-10″ class=”widget-column-1″>
    <p></p>
    </div>

    CODE

    <!– =============================== 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″>

    <?php if( of_get_option(‘footersocialicon’) != ”) { echo do_shortcode(of_get_option(‘footersocialicon’)); } ; ?>

    </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’){ ?>

#47952
Grace Support
Keymaster

Please send your website URL and WordPress admin login details at [email protected] so we can check and assist you quickly.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.