• Hello,

    Please help. There is a massive image showing up in the footer of my blog under ‘Older Posts’. I have no idea why this image is showing there. Just above the image is the post which it relates to but I did not ask for it to show a featured image and it is effectively showing the same post twice. My blog link is: https://www.mirrorme.me.

    Thankyou!

Viewing 14 replies - 1 through 14 (of 14 total)
  • That is a iframe linking to: “https://currentlyobsessed.me/api/v1/get_widget?wid=30&blog=Mirror+Me&widgetid=1870”

    Is that something you were trying to incorporate?

    Thread Starter fisayolonge

    (@fisayolonge)

    It has changed to that because I wrote a new post. Before that, it was the first image in my previous post. It basically puts the first image from the post right above it there in the footer which I don’t understand.
    The footer code is:

    [ Moderator Note: Please post code or markup snippets between backticks or use the code button. ]

    </div><!-- #container -->
    			<footer id="footer" role="contentinfo" class="row">
    				<div id="footerbar" class="twelvecol last">
    					<?php get_sidebar( 'footer' ); ?>
    				</div><!-- #footerbar -->
    				<div id="colophon" class="twelvecol last">
    					<div id="site-info" class="sixcol">
    						<a>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
    							<?php bloginfo( 'name' ); ?>
    
    </a>
    					</div><!-- #site-info -->
    					<div id="site-generator" class="sixcol last">
    						<?php do_action( 'brunelleschi_credits' ); ?>
    						<a>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'brunelleschi' ); ?>"><?php printf( __( 'Proudly powered by %s.', 'brunelleschi' ), 'WordPress' ); ?></a>
    					</div><!-- #site-generator -->
    				</div><!-- #colophon -->
    			</footer><!-- #footer -->
    		</div><!-- #wrapper -->
    		<?php wp_footer(); ?>
    	</body>
    </html>

    I’m not sure if it mentions anything about incorporating an image from the post above it.

    Thanks for your reply.

    It has changed to that because I wrote a new post. Before that, it was the first image in my previous post. It basically puts the first image from the post right above it there in the footer which I don’t understand.

    Sorry. No. That is not just an image. It is a complete iframe, and it is not displaying the same image as in the post above it. It is loading content from a completely different domain– a different website. Do you have any associate with “https://currentlyobsessed.me&#8221; because if you don’t then a plugin or your theme is leaching from your site or you’ve been hacked. Please answer this question.

    It is interesting that you are describing something very different than what I see. Try logging out and then looking at your site, as an experiment.

    Also, in case you don’t know, your footer shows up twice on ‘single’ post pages like this one: https://mirrorme.me/seven-leather-must-haves/#more-2681

    Thread Starter fisayolonge

    (@fisayolonge)

    Okay maybe I have not explained properly.

    Yes I am associated with currentlyobsessed. Thankyou for your concern.

    What am I saying is the image or iframe that shows in the footer is the first one that shows in the post right above it and I do not know why. Before I updated earlier today, it was just a normal image from the post right above the footer that was showing.

    Have I explained that any better?

    Also, I did not know that my footer shows twice, no idea why this is. Maybe I have put in something by mistake while trying to figure out what in the footer code is making posts show up in my footer.

    What that iframe does is pretty much completely determined by currentlyobsessed.com and by whatever mechanisms they have put in place for you to manipulate it, if any. You will probably need to look into the currentlyobsessed.com API or the widget that inserts the iframe (if it is inserted by a WordPress widget). You won’t be able to change this by editing your site, except by moving the iframe around or by editing the GET parameters of the iframe URL.

    About the duplicated footer, I think you have probably somehow managed to include footer.php more than once. It is hard to say exactly how but you are including a second copy of your <footer id="footer" class="row" role="contentinfo"> inside the first copy.

    Thread Starter fisayolonge

    (@fisayolonge)

    What I have been trying to explain is that it is nothing to do with currently obsessed.
    Earlier this morning, before I updated my blog, it was an image from an earlier blog post there. It just so happens that the post above it now is one that includes the iframe from currentlyobsessed. If I update the blog again, this would change to the image from the post ‘Check That Out’ right above it. This is key to your understanding my question.

    If you block currentlyobsessed.com’s jQuery ( https://currentlyobsessed.me/js/jquery/jquery-1.7.min.js ) the problem goes away. This is allowing all other Javascript to load, including WordPress’s own version of jQuery. The only place I see that script loading is in the iframe source here: ” https://currentlyobsessed.me/api/v1/get_widget?wid=30&blog=Mirror+Me&widgetid=3355 ” There are a number of embedded scripts in that file and I think one of them is copying information into what is probably supposed to be a hidden div. There does seem to be a connection. You claim things are different, or would be different, if you posted something else. I can’t evaluate that. If you would post another post or reset the iframe one to ‘draft’ I might be able to see something else.

    Thread Starter fisayolonge

    (@fisayolonge)

    I have now deleted that post.

    This is what I mean: https://mirrorme.me/

    I have use currently obsessed for ages and I have the links in many of my blog posts. This is a new problem.

    Thanks

    Wow… that is very different from what I was seeing before. The problem is right before the footer markup you posted and right after your sidebar.

    </ul>
        <!-- Unified into one widget area, as of 1.1.8 -->
        </div><!-- #primary .widget-area -->
    	<p><a href="https://mirrorme.me/burgundy-prints/dsc_0075-4/" rel="attachment wp-att-2892"><img src="https://mirrorme.me/wp-content/uploads/2012/10/DSC_0075.jpg" alt="" title="DSC_0075" width="3246" height="3656" class="alignnone size-full wp-image-2892" /></a></p>
    <p> <a href="https://mirrorme.me/burgundy-prints/#more-2640" class="more-link">(more…)</a></p>
    </div><!-- #container -->
       <footer id="footer" role="contentinfo" class="row">

    The last two lines are the beginning of the footer code. The </ul> is the end of your sidebar. Can you find the source code for that middle part? It should be whatever is including the footer, probably index.php.

    Thread Starter fisayolonge

    (@fisayolonge)

    Sorry I’m so bad with this code stuff so I don’t really understand.

    This is what is under index.php:

    <?php get_header(); ?>
    <div id=”main” role=”main” class=”<?php brunelleschi_content_class(); ?>”>

    <?php get_template_part( ‘loop’, ‘index’ ); ?>

    </div><!– #main –>
    <?php if( brunelleschi_options(‘sidebar’) === __(‘both’,’brunelleschi’)
    || brunelleschi_options(‘sidebar’) === __(‘two left’,’brunelleschi’)
    || brunelleschi_options(‘sidebar’) === __(‘two right’,’brunelleschi’)){
    get_sidebar(‘secondary’);
    } ?>
    <?php get_sidebar(); ?>
    <?php the_content(); ?>
    <?php get_footer(); ?>

    Are you saying that the code you’ve written above should be in this section too?

    Thanks for your help.

    Replace <?php the_content(); ?> with <?php // the_content(); ?>. That is a strange place for the_content() to be. If that fixes things you can delete the whole line.

    Thread Starter fisayolonge

    (@fisayolonge)

    That fixed it!!! Thankyou!!!!

    You are welcome. Sorry it took such a long path and all day.

    Thread Starter fisayolonge

    (@fisayolonge)

    That’s okay, appreciate your time.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Unwanted Image Showing Up In Footer of Blog Homepage’ is closed to new replies.