Changes to post image function names in WP2.9RC1
Posted on: December 17, 2009 @ 2:57 pm -

Upgraded to WordPress 2.9 RC 1 in my localhost and got function errors saying has_post_image() is undefined.

I thought I had upgraded my theme to use the WordPress 2.9 post thumbnail feature. But why the error?

After searching online for answers. I came across this thread in WordPress Taven mentioning the changing of the function names.

Apparently, has_post_image() has been changed to has_post_thumbnail() and the_post_image() has been changed to the_post_thumbnail().

2 Responses to “Changes to post image function names in WP2.9RC1”

  1. Levent says:

    Thank you for your fast and serious work done. It was a pleasure to realize the project in a very professional and customer-orientated way.
    Looking forward to work again with denzel.

    • Denzel says:

      Hi Levent,

      Thanks for the compliments.
      Will update your kind compliment to my portfolio page.

      Thanks again!
      Looking forward to working with you in the near future!

      Regards,

      Denzel

Leave a Reply

  • Recent Comments

    Denzel on Video Sidebar Widgets Comments & FAQ

    Hi The widget is control by your theme. If your widget items in your theme sidebar are all center aligned. Then the video will be centered align. If you want only to align the videos to the left and not other widget items. You will have to add a div tag before the object tag of the video. And style the div tag to float left. You will need to modify the plugin. I do not do free modifications. Thanks.

    Mike Horwath on Video Sidebar Widgets Comments & FAQ

    Hi Denzel, I'm learning css etc so not comfortable. I do not understand how to move the video embed so it sits in the middle of the sidebar section. Would appreciate your help as to were I need to adjust to get this right as I love the plug in, just cant use it as it is. Many thanks

    Denzel on Video Sidebar Widgets Comments & FAQ

    Hi, You must have different sidebars for different pages in order to have different contents on each page. It's a sidebar issue not widget issue. The answers is no, unless you have different sidebars. Thanks.

    Paul Satran on Video Sidebar Widgets Comments & FAQ

    We are migrating from the current site to a wordpress platform. We like your plug-in. I would like to use it on a number of pages showing a variety of videos on different pages. Is that possible? Different pages different videos. Thanks

    Denzel on Photo Lightbox Comments & FAQ

    Hi, Thanks for the compliment! You can buy the premium version if you want control over the photo lightbox. Thanks.


  • Recent Posts

    Changes to post image function names in WP2.9RC1

    has_post_image() has been changed to has_post_thumbnail() and…..

    Change maximum file upload size in WordPress

    How to change maximum file upload size.

    Expanded My Post Meta Box

    I specially coded a meta box for my theme to control my theme layout

    Thanks for Rating My Plugin

    Thank you for the 5 star ratings!

    Video Sidebar Widgets Update

    Updated to Version 2.2 to include support for videos from tangle.com


  • Twitter Updates

    Follow me on Twitter or RSS