Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter soccercheese

    (@soccercheese)

    any ideas? should I just uninstall the widgets and code it into the sidebar.php?

    Thread Starter soccercheese

    (@soccercheese)

    ok…i tried to modify widgets.php and sidebar.php

    i put this in sidebar.php (around line 50)

    <?php get_links_list('1'); ?>
    <?php get_links_list('2'); ?>

    i put this in widgets.php (around line 640)

    ‘function widget_links_1($args)
    {// This ONLY works with li/h2 sidebars.
    get_links_list(‘1’);
    }

    function widget_links_2($args) {
    // This ONLY works with li/h2 sidebars.
    get_links_list(‘2’);
    }<br />

    and

    register_sidebar_widget(‘Main Nav’, ‘widget_links_1’);
    register_sidebar_widget(‘Blogroll’, ‘widget_links_2’);`

    at the bottom of the file.

    They showed up as Main Nav and Blogroll in the Widgets on the admin side, and I placed them in the first and third position…but when i view the site it shows both link categories (in reverse order) in both positions…weird.

    Can somebody help me make a widget that will call one link category that will work? what i’m doing isn’t working right…

    Thread Starter soccercheese

    (@soccercheese)

    yes i understand…sorry didn’t mention which theme. I’m just using the default one, Kubrick I think it’s called?

    I already have widgets installed and working on the admin side…just wondering if I can make a simple widget that will call just one category of links. then i can make a couple and order them how i want to…

    Thread Starter soccercheese

    (@soccercheese)

    Yes that helps. Thanks!

    Now…how do I put the <?php get_links_list(‘id’); ?> as a widget so I can just put them in the order I want?

    I’ve checked the Widget documentation and I just don’t know how… or should I just put it in the sidebar.php page? Or if I put it in the sidebar.php page does it show up in the Widgets on the Admin side?

    Sorry I’m still learning…

    Thread Starter soccercheese

    (@soccercheese)

    Podz,

    I’d rather not give out the link because it’s far from ready…I hope that’s ok. Sorry.

    Is is possible to put structure the sidebar so that categories of links are in different positions?

    For example:
    – Link Category #1
    – Archives
    – Link Category #2 (Blogroll)

    Right now, when I “publish” Links, it puts them all together on the sidebar. I’d just like to be able to break them up or change the order.

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