WordPress.org

Ready to get started?Download WordPress

Forums

Fatal error: Call to undefined function (6 posts)

  1. bigshift
    Member
    Posted 3 years ago #

    I have installed the theme, but I am getting the following error.

    Fatal error: Call to undefined function: get_post_format() in /home/bigsh1/public_html/pixelneering/wp-content/themes/toolbox/index.php on line 24

    This is line 24
    <?php get_template_part( 'content', get_post_format() ); ?>

    Am I missing something?

    Thanks for any assistance.

  2. alchymyth
    Forum Moderator
    Posted 3 years ago #

    http://codex.wordpress.org/Function_Reference/get_post_format

    according to that info, get_post_format() only comes from 3.1 onwards

  3. Chip Bennett
    Theme Review Admin
    Posted 3 years ago #

    Yeah, the latest version of Toolbox requires WordPress 3.1. It jumped the gun a bit. :)

  4. bigshift
    Member
    Posted 3 years ago #

    Excellent Thanks.

  5. lulalala
    Member
    Posted 3 years ago #

    I don't have SVN with me and I can't find the code for Toolbox 1.0. My site is broken by the update so where can I find a downgrade to this?

  6. Chip Bennett
    Theme Review Admin
    Posted 3 years ago #

    See here:

    http://themes.svn.wordpress.org/toolbox/

    And here's the direct link to the ZIP file for Toolbox version 1.0:

    http://wordpress.org/extend/themes/download/toolbox.1.0.zip

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags