WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Twenty Thirteen: Image Format (8 posts)

  1. alun
    Member
    Posted 1 year ago #

    content-image.php has a function
    the_image( 'twentythirteen-image-post' );
    This causes the page to stop dead in its tracks.
    http://aobblog.alunsalt.com/page/2/

    Apart from that Twenty Thirteen looks extremely good for blogging and showing off post formats.

  2. Seems like a PHP fatal error.

    Could you check your PHP logs and paste the error message here?

    Edit:
    Could reproduce it.
    Fatal error: Call to undefined function the_image() in /wp-content/themes/twentythirteen/content-image.php on line 13

  3. alun
    Member
    Posted 1 year ago #

    The two I'm getting are:
    PHP Fatal error: Call to undefined function the_image() in /wp-content/themes/twentythirteen/content-image.php on line 13
    and
    PHP Warning: Invalid argument supplied for foreach() in /wp-content/themes/twentythirteen/content.php on line 28

    I think the second is when I'm calling a page with many posts on.

  4. BrenFM
    Member
    Posted 1 year ago #

    I'm also getting the above error:

    FATAL ERROR: CALL TO UNDEFINED FUNCTION GET_THE_IMAGE() IN C:\WAMP\WWW\THREE.SIX\WP-CONTENT\THEMES\TWENTYTHIRTEEN\CONTENT-IMAGE.PHP ON LINE 13

    'scuse the all caps - currently running it under WAMP which shows pretty error messages. Can't find any reference to "the_image" as a function anywhere in the directory I have the beta installed in - besides line 13 of content-image.php

  5. BrenFM
    Member
    Posted 1 year ago #

    Thanks, Dominick

  6. alun
    Member
    Posted 1 year ago #

    Thanks, that's working great now.

  7. Fabrizio Pivari
    Member
    Posted 1 year ago #

    I've found the same problem
    Fatal error
    : Call to undefined function the_image() in
    /home/pivarico/public_html/wp-content/themes/twentythirteen/content-image.php
    on line
    13

    and I've read the simple patch:
    from the_image ()
    to the_post_format_image ()

    THanks

Topic Closed

This topic has been closed to new replies.

About this Topic