WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Last post thumbnail appears at bottom of page (37 posts)

  1. Wild at Art Atelier
    Member
    Posted 1 year ago #

    Hi,
    I am having a problem with my blog site:
    The oldest post thumbnail always appears at the bottom of the page like a sort of Footer. My site is: http://www.wildatartatelier.com
    It would be great if someone could help me :)

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    I can't experience a thumbnail on the footer http://awesomescreenshot.com/0a5s8p725 , is it on a particular page?

  3. Wild at Art Atelier
    Member
    Posted 1 year ago #

    Yes sorry on the Blog page

  4. Andrew
    Forum Moderator
    Posted 1 year ago #

    I see.
    If you un-publish the post with that thumbnail, does the issue persist? If yes, the thumbnail may be hard-coded into the template that page uses.

  5. Wild at Art Atelier
    Member
    Posted 1 year ago #

    If I unpublish the post the thumbnail of the next oldest appears at the bottom

  6. Andrew
    Forum Moderator
    Posted 1 year ago #

    Try disabling plugins to explore whether any could be responsible.

  7. Wild at Art Atelier
    Member
    Posted 1 year ago #

    No unfortunatly nothing changed

  8. Andrew
    Forum Moderator
    Posted 1 year ago #

    Start by clearing up some markup errors, focus on the error messages that state unclosed elements.

  9. Wild at Art Atelier
    Member
    Posted 1 year ago #

    Okey will do, thank you! Sorry I know this may be a very stupid question but I am new with wordpress. In which php. do I look for the codes or is it in the css??

  10. Andrew
    Forum Moderator
    Posted 1 year ago #

    I'm not sure, perhaps its blog.php (if that exists).
    When you edit that Blog page in the dashboard, under Page Attributes (right), can you see which template file is being applied to that page?

    These aren't stupid questions. Don't let a presupposition that your questions are stupid to stop you from asking questions. The only stupid question is the one not asked.

  11. Wild at Art Atelier
    Member
    Posted 1 year ago #

    Its bieng applied in the Default Template

  12. Wild at Art Atelier
    Member
    Posted 1 year ago #

    i have no blog.php...

  13. Andrew
    Forum Moderator
    Posted 1 year ago #

    I think it's then referring to this template file http://themes.svn.wordpress.org/twentyeleven/1.2/content.php

    Can you use that link (above), copy all of its content and replace it over the content of your content.php file?

  14. Wild at Art Atelier
    Member
    Posted 1 year ago #

    now it took all my thumbnails away and the image is still at the bottom: test.wildatartatelier.com (I am working on a test version for now to then transfer to the real one)

  15. Andrew
    Forum Moderator
    Posted 1 year ago #

    Okay, can you create a Child Theme through this 8-step-guide?
    Then;
    - Take a copy of your original (how it was before) content.php file and put it in your Child Theme directory.
    - Look in that Child Theme content.php file and search for those unclosed elements.

  16. Wild at Art Atelier
    Member
    Posted 1 year ago #

    what is the child theme for?

  17. Andrew
    Forum Moderator
    Posted 1 year ago #

    It creates an environment whereby you can modify the theme without touching the theme's original files. Modifications to themes files can; compromise the theme, be compromised when the theme updates and can mislead debugging processes.

  18. Wild at Art Atelier
    Member
    Posted 1 year ago #

    okey!
    but still i can't find the codes, here is my original where i had managed to create thumbnails:
    [Code excerpt too large moderated - please use PasteBin to hold your code, then provide a link to that PasteBin'd page]

  19. Wild at Art Atelier
    Member
    Posted 1 year ago #

  20. Andrew
    Forum Moderator
    Posted 1 year ago #

    Try replacing that code you PasteBin'd with this http://pastebin.com/TZ1jmCF2

  21. Wild at Art Atelier
    Member
    Posted 1 year ago #

    No unfortunatly nothing happened

  22. Andrew
    Forum Moderator
    Posted 1 year ago #

    If you put that PasteBin'd code in your Child Theme's content.php file, you'll need to activate the Child Theme from within the dashboard.

  23. Wild at Art Atelier
    Member
    Posted 1 year ago #

    i have but still nothing happens

  24. Andrew
    Forum Moderator
    Posted 1 year ago #

    Your webpage still appears to be using the original theme [screenshot]. To activate your Child Theme, go to Dashboard › Themes and activate your new (Child) theme.

  25. Wild at Art Atelier
    Member
    Posted 1 year ago #

    okey i will try again later this evening, have to go to uni now. Thanks a lot for the help!!

  26. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    What's going on with the child theme? Have you created it? It's not activated.

  27. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    you seem to be working with a clone of Twenty Eleven with your own theme name, which is fine in my opinion.

    can you also paste the content of index.php of your theme?
    and of functions.php?

    while you are at it, fix that conditional statement (logic OR is || - http://php.net/manual/en/language.operators.logical.php )in your content.php:

    <?php if ( is_search() || is_home() ) : // Edit this to show excerpts in other areas of the theme?>
  28. Wild at Art Atelier
    Member
    Posted 1 year ago #

    <?php
    /**
     * The main template file.
     *
     * This is the most generic template file in a WordPress theme
     * and one of the two required files for a theme (the other being style.css).
     * It is used to display a page when nothing more specific matches a query.
     * E.g., it puts together the home page when no home.php file exists.
     * Learn more: http://codex.wordpress.org/Template_Hierarchy
     *
     * @package WordPress
     * @subpackage Twenty_Eleven
     */
    
    get_header(); ?>
    
    		<div id="primary">
    			<div id="content" role="main">
    
    			<?php if ( have_posts() ) : ?>
    
    				<?php twentyeleven_content_nav( 'nav-above' ); ?>
    
    				<?php /* Start the Loop */ ?>
    				<?php while ( have_posts() ) : the_post(); ?>
    
    					<?php get_template_part( 'content', get_post_format() ); ?>
    
    				<?php endwhile; ?>
    
    				<?php twentyeleven_content_nav( 'nav-below' ); ?>
    
    			<?php else : ?>
    
    				<article id="post-0" class="post no-results not-found">
    					<header class="entry-header">
    						<h1 class="entry-title"><?php _e( 'Nothing Found', 'twentyeleven' ); ?></h1>
    					</header><!-- .entry-header -->
    
    					<div class="entry-content">
    						<p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'twentyeleven' ); ?></p>
    						<?php get_search_form(); ?>
    					</div><!-- .entry-content -->
    				</article><!-- #post-0 -->
    
    			<?php endif; ?>
    <?php the_post_thumbnail(); ?>
    
    			</div><!-- #content -->
    		</div><!-- #primary -->
    
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    [In future, please wrap your code using backticks]

  29. Wild at Art Atelier
    Member
    Posted 1 year ago #

    thats my index

  30. Wild at Art Atelier
    Member
    Posted 1 year ago #

    and my functions is:
    [Large excerpt of code moderated - please use PasteBin to hold your code and link us those PasteBin'd pages instead]

Topic Closed

This topic has been closed to new replies.

About this Topic