• To the kind folks in the WordPress community:

    I’ve just upgraded to 2.7.1, (from a 2.6 installation) – and unfortunately it seems that some little custom widgets that a friend had coded for me are no longer functioning under the new version.

    Unfortunately, said friend has a new baby, and hasn’t been following the latest WP developments, and doesn’t have time to debug this for me. So I’m turning to you to ask for some help.

    I’m not a skilled programmer myself, but if someone could link me to info on how the plugin behavior has changed in the 2.7 version, that would help me be able to start trying to figure out how to fix this.

    Even more awesome would be if some kind soul out there felt like taking a look at the code and telling me how to fix it. That would certainly be greatly appreciated…

    The two sidebar widgets are relatively simple:

    One puts makes a short list of recent post titles from a particular category
    Code is here: http://www.jjtiziou.net/temp/category.html

    The other puts a certain number of random images in the sidebar, choosing their source based on the page slug.
    Code for that is at: http://www.jjtiziou.net/temp/image_slug.html

    Any help would be muchly appreciated. Many thanks in advance.
    Best regards from Philadelphia,
    -jj

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter jjtiziou

    (@jjtiziou)

    Hi there Michael, and thanks for the recommendations..

    The category one looks like it could suit my needs- but the random-image one seems to work only with one folder.

    The nice thing about the widget that I had before was the added functionality of automatically looking for a folder that matched the slug of that post, and using that as the source for images. If it didn’t find it, then it would default back to the default random image folder…

    Any other recommendations with this functionality, or suggestions as to how to start debugging?

    Many thanks!
    -jj

    Thread Starter jjtiziou

    (@jjtiziou)

    To follow up-> I found the information here:

    http://codex.wordpress.org/Migrating_Plugins_and_Themes_to_2.7

    I checked the list of deprecated hooks and filters, but none of them seem to be used in the plugin. Is there any sort of debugging interface to see where exactly the problem might be coming from?

    Again, thank you!
    -jj

    That plugin also uses FROM $wpdb->categories and the category table was merged into the taxonomy structure several versions back.

    Thread Starter jjtiziou

    (@jjtiziou)

    Hi again Michael, thanks.

    Clearly my pathetic coding skills aren’t going to be enough for this, because I can’t even find “FROM $wpdb->categories” in the code, and don’t know where to look beyond that.

    For now, I’ve reverted my site to the 2.6 version. I guess that leaves me with two questions:

    How important is it that I be using 2.7?

    and

    Is there any place where I could solicit a freelance WP expert to update this code for me?

    thanks,
    -jj

    I’m surprised the plugin (at least the one using wp_categories is working at 2.6…

    Please consider posting a “New Job Request” [1] to have a professional work with you, or consider joining and soliciting professional assistance from the wp-pro mailing list [2].

    [1] http://jobs.wordpress.net/postajob.php
    [2] http://lists.automattic.com/mailman/listinfo/wp-pro

    Thread Starter jjtiziou

    (@jjtiziou)

    Right on.

    Again, thanks for your time!

    -jj

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘custom widgets broken by 2.7.1 – how to debug?’ is closed to new replies.