• I’ve got this awesome plugin working just fine for list inclusion within posts. It really is a wonderful addition to my blog.

    However (you knew it was coming, yes?), I haven’t the slightest idea how to get a list to show up in my sidebar. (I’m running Kubrik at present.)

    I know that Navid graciously gave the APIs on his website, but I don’t know how to incorporate them/call them/etc.

    Would someone please lead me by the hand or show me where to find more help?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter maribun

    (@maribun)

    I’m running WordPress 1.5, as the List Manager doesn’t work in 1.2.

    I know how to edit the CSS, sidebar, and the other php calls. I am able to follow all that. The trouble is that in my sidebar.php, I can’t appear to just use the

    <list id=”#” />

    You have to integrate in the API’s that Navid provided, but I’ve never worked with them before. I’m currently trudging through the wiki on how to write plugins, but am drowning in all of it.

    The API’s are at http://www.navidazimi.com/projects/wp-lists/ :

    wplists_print_by_id(
    $list_id,
    $before = “
    # “,
    $after = “
    “,
    $showlinks = true,
    $showchecked = true,
    $echo = true
    );
    wplists_return_list_by_id( $list_id );
    wplists_get_lists(
    # $before = ” “,
    $after = “
    “,
    $linkurl = true );

    Can you give me a general explanation so that I can understand where these go without currently fully comprehending how to develop a plugin myself?

    Thank you.

    Hi maribun, I’m glad you’re enjoying the plugin. Adding the lists to your sidebar is exceptionally easy.

    Do you see where you have the following in your sidebar?

    <list id="2" />

    Simply replace it with:

    <?php wplists_print_by_id(2); ?>

    And, similarly, where you have:

    <list id="1" />

    Simply replace it with:

    <?php wplists_print_by_id(1); ?>

    It should be that simple. There are additional parameters to those API functions so you can customize them to your liking. If you have any other problems please don’t hesitate to contact me. Also, please make sure you are running the latest version of the List Manager plugin (currently at v1.5).

    Enjoy! Navid.

    Thread Starter maribun

    (@maribun)

    A huge thank you to Navid for helping out this newbie.

    I’ll get there, and I appreciate him helping me on the way.

    Maribun

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

The topic ‘wp_lists – Navid’s great plugin’ is closed to new replies.