SB Child List Update 1.2

June 19, 2010 | Bug Fixes, PHP, Plugins, Wordpress | 7 comments

Just a quick one today… I have just checked in an update to the SB Child List plugin. It has been hugely popular with the WordPress community with only the one complaint to date… the reliance on the GUID field in the wp_posts table.

For some reason WordPress does not update this field often enough and it leads to broken links. I have updated the plugin to use the get_permalink function which I understand to work correctly in more recent versions of WordPress. I have also fixed a bug with the nesting level not saving correctly on the settings page.

Enjoy the release and please do let me know if you think the plugin can benefit from an update.

A Donate Button!

7 Comments

  1. Irish Pink Adoptions

    hi,
    I am using in soem of my pages.
    And I have a comment template similar to my guestbook entry to allow people to comment on the page.

    When I use , since the upgrade, the comment fields no longer show.

    Example:
    Comment form working fine: http://irishpinkadoptions.com/us/guestbook/

    Comment form not working:
    http://irishpinkadoptions.com/reference-material/your-story/deciding-to-adopt/when-did-you-decide-to-adopt/

    Commet form made to work by removing the :
    http://irishpinkadoptions.com/reference-material/your-story/deciding-to-adopt/whose-advice-did-you-seek-to-make-your-decision/

    Same using the child shortcut: http://irishpinkadoptions.com/reference-material/your-story/

    This was not happening before you released your new version. (Which was great at resolving the permalink issue)

    Reply
  2. Diego

    I found that you need to add this change or you get the “revisions” listed as pages:

    $sql = ‘SELECT ID, post_title, post_type
    FROM ‘ . $wpdb->posts . ‘
    WHERE
    post_status = \’publish\’
    AND post_parent = ‘ . $id . ‘
    ADD THIS LINE —> AND post_type = \’page\’

    Reply
    • Sean

      Hi Diego,

      My apologies, I thought I had done that. It’s in now and shall commit/update the version shortly.

      thanks
      Sean

      Reply
  3. MileHighTechGuy

    Just installed it, getting fatal error:

    Fatal error: Call to undefined function get_the_post_thumbnail() in /home/sitesubs/public_html/wp-content/plugins/sb-child-list/sb_child_list.php on line 166

    WP3.1

    Reply
    • Sean

      Hi MileHighTechGuy,

      Yes sorry about that. I added the code and of course it worked for me having the appropriate plugin but I overlooked the fact that it wouldn’t work elsewhere. I have fixed it for the current release so shouldn’t happen any more.

      thanks
      Sean

      Reply
  4. Gabriel

    I installed the plugin as this was a perfect long sought solution for a problem. But the shortcodes and just don’t work.

    does work, though.
    Please help.
    Also, the output comes in very small, basic (courier) font. How to change that?

    Reply
    • Sean

      Hi Gabriel, can you email me directly at barton.sean@gmail.com and I can help you through setting it up.

      thanks
      Sean

      Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

CommentLuv badge

About this site and Sean Barton

Picture of Sean
Sean Barton is a Freelance Website Developer in Crewe, Cheshire. He is a Full Stack Developer but with extensive experience in Wordpress and other Frameworks. He is the Co-Founder of SitePresser, Layouts Cloud and Page Builder Cloud among other things..
This site was set up in 2008 as a tutorial and scripting resource for the PHP language and Wordpress.
Find out more about Sean on the About Me page or use the Hire Me page to get in touch. For more information about Sean's work take a look at the Portfolio

SitePresser is the plugin that packages child themes and layout packs for sale. Works with Divi and Elementor.