Forum Replies Created

Viewing 3 replies - 31 through 33 (of 33 total)
  • Forum: Plugins
    In reply to: Dynamic drop-down menu.

    Hi fokjulle,

    I might have what your looking for. It’s a menu I created for myself.

    It’s a cross-browser, dynamic css menu system for WordPress. Not a plugin, but no need to modify core files. You can get it here: Webdezine WordPress Menu. All info is in the read_me file located in the zip.

    Leave me some feedback on the site about how it works for you. Let me know if there are any bugs.

    Best,
    Sheri

    Thread Starter muskokee

    (@muskokee)

    Oh well. Thanks anyway. I decided that hacking the code was useless. It wasn’t written the way I needed it to be. So I wrote my own code.

    & not that I’m slamming anyone, because I hate when people complain on free-help forums but I have never been involved with a forum where no one replied at all.

    This was my first use of wordpress and it’ll be my last.

    Thread Starter muskokee

    (@muskokee)

    I have worked on the query situation and have come up with a way to get the results I am looking for:

    <?php
    $i_wonder = $wpdb->get_results(“select category_parent from $wpdb->categories where category_parent>0”,ARRAY_N );
    if (in_array(3,$i_wonder[0])){
    echo ‘it is in the array’;
    }else {
    echo ‘sorry’;
    }
    ?>

    So now I know which categories have children…in this case category#3 has a child category.

    This is a great step forward!

    Now I am completely lost when it comes to object oriented programming.<g> I want to use this “test” in the classes.php file, specifically the Walker_Category class, so that I can modify my “” tags with specific classes based on this test.

    Can anyone nudge me in the right direction?

    Thanks
    Sheri

Viewing 3 replies - 31 through 33 (of 33 total)