• tintenmeer

    (@tintenmeer)


    Hi,

    i have no idea why, but from one day to another the whole footer section of my blog is gone. i didn’t changed anything on code or layout. I was not even online. I thought I could solve the problem by updating the make-theme, but it’s still the same.

    Can anyone help me?

    My Blog: http://www.tintenmeer.de

    Thanks,
    Sandy

Viewing 4 replies - 1 through 4 (of 4 total)
  • Clarion Technologies

    (@clarionwpdeveloper)

    Hello tintenmeer,

    Can you please post the code of index.php file and page.php file code in your theme so that I will check the code and give you the solution for the same.

    Thanks

    Thread Starter tintenmeer

    (@tintenmeer)

    OKay here is index.php

    <?php
    /**
    * @package Make
    */

    get_header();

    // Section Header
    ob_start();
    make_breadcrumb();
    $section_header = trim( ob_get_clean() );

    global $post;
    ?>

    <?php ttfmake_maybe_show_sidebar( ‘left’ ); ?>

    <main id=”site-main” class=”site-main” role=”main”>
    <?php if ( have_posts() ) : ?>

    <?php if ( $section_header ) : ?>
    <header class=”section-header”>
    <?php echo $section_header; ?>
    </header>
    <?php endif; ?>

    <?php while ( have_posts() ) : the_post(); ?>
    <?php
    /**
    * Allow for changing the template partial.
    *
    * @since 1.2.3.
    *
    * @param string $type The default template type to use.
    * @param WP_Post $post The post object for the current post.
    */
    $template_type = apply_filters( ‘make_template_content_archive’, ‘archive’, $post );
    get_template_part( ‘partials/content’, $template_type ); ?>
    <?php endwhile; ?>

    <?php get_template_part( ‘partials/nav’, ‘paging’ ); ?>

    <?php else : ?>
    <?php get_template_part( ‘partials/content’, ‘none’ ); ?>
    <?php endif; ?>
    </main>

    <?php ttfmake_maybe_show_sidebar( ‘right’ ); ?>

    <?php get_footer(); ?>

    Thread Starter tintenmeer

    (@tintenmeer)

    and page.php

    <?php
    /**
    * @package Make
    */

    get_header();
    global $post;
    ?>

    <?php ttfmake_maybe_show_sidebar( ‘left’ ); ?>

    <main id=”site-main” class=”site-main” role=”main”>
    <?php if ( have_posts() ) : ?>

    <?php while ( have_posts() ) : the_post(); ?>
    <?php
    /**
    * Allow for changing the template partial.
    *
    * @since 1.2.3.
    *
    * @param string $type The default template type to use.
    * @param WP_Post $post The post object for the current post.
    */
    $template_type = apply_filters( ‘make_template_content_page’, ‘page’, $post );
    get_template_part( ‘partials/content’, $template_type );
    ?>
    <?php get_template_part( ‘partials/content’, ‘comments’ ); ?>
    <?php endwhile; ?>

    <?php endif; ?>
    </main>

    <?php ttfmake_maybe_show_sidebar( ‘right’ ); ?>

    <?php get_footer(); ?>

    Thread Starter tintenmeer

    (@tintenmeer)

    I have found that the problem could be an Advertising in my sidebar – but i habe no idea why.

    if i delete the text-widget with the code, my footer is back. when i insert the ad again, the footer is gone again.

    this is the code of the ad:

    <iframe src=”http://rcm-eu.amazon-adsystem.com/e/cm?t=tintenmeer-21&o=3&p=12&l=ur1&category=kindlegaraete&banner=08648KD5938Z7H27CC82&f=ifr&#8221; width=”300″ height=”250″ scrolling=”no” border=”0″ marginwidth=”0″ style=”border:none;max-width:900px;max-height:600px;” frameborder=”0″></>

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Footer is gone’ is closed to new replies.