• I installed WP-Recipes and everything seems to be working okay, but when I publish recipes they are not displaying properly. I can see the title and the sub-line with the quantity, time, etc, but then I’m getting this error message:

    Fatal error: Call to undefined function the_post_thumbnail() in /home7/vegannut/public_html/wp-content/themes/bueno/single-recipes.php on line 30

    Also, the resulting recipe post is not displaying within the style of my theme. The text is pushed all the way over to the left side of my screen.

    http://wordpress.org/extend/plugins/wp-recipes/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author staxxx

    (@staxxx)

    The templates included in the plugin are built for the standard twenty ten theme. If you use another theme, it might not look correct, because the html is coded for the twentyten theme. You should edit the single-recipes.php file accordingly.

    The the_post_thumbnail() generates an error, because you’re not using the default theme. In twentyten there is a post thumbnail function that makes you able to attach a post image. Just delete the function in the theme file and you should be ready to go.

    Just delete the function in the theme? Care to give some steps how to so this? I am going to take a look, but how limited is it that you built this for ONE THEME?????

    Thinking like that just gives me gas.

    I am going to see if I can edit this function out on my own, but can you please post some feedback on how to accomplish this and maybe hit me up at scott@art23design.com , please?

    Thanks

    scott4design

    (@scott4design)

    oh look I am back here again. Thought it was fixed but working on it again. grr… why would you make a plug-in for one theme again?

    lasninas

    (@lasninas)

    Has this plug in been abandoned?

    I’ve spent the afternoon fixing single-recipes.php so that it actually works / displays properly in my theme.

    It looks like I now have to tackle some other files – /recipes/ is completely blank, so I’ve scrapped what is in recipes-archive.php and have a put in a listing of meal types.

    The Origin and other category listings show partial information (and the formatting is out), but I have no idea what to edit to fix them up. Any ideas?

    This plug-in has so much promise. It’s a shame that a potentially great plug-in is essentially useless unless you are able to put to put in time rewriting the PHP files yourself…

    I went to the template page I had to copy into my theme – single-recipies.php and on line 30 I deleted this code
    <?php the_post_thumbnail(); ?>

    I’m not seeing any other isses at this time tho, so I’m not editing the other one yet.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: WP Recipes] Recipes not displaying – Fatal Error’ is closed to new replies.