Support » Alpha/Beta/RC » Twenty Thirteen: Image Format

  • Resolved alun

    (@alun)


    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.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Dominik Schilling (ocean90)

    (@ocean90)

    WordPress Core Developer

    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

    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.

    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

    Dominik Schilling (ocean90)

    (@ocean90)

    WordPress Core Developer

    Thanks, Dominick

    Thanks, that’s working great now.

    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

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Twenty Thirteen: Image Format’ is closed to new replies.