Viewing 15 replies - 1 through 15 (of 16 total)
  • Max Chirkov

    (@maxchirkov)

    Thanks, glad you find it useful! 🙂

    spottydog

    (@spottydog)

    Hi there.
    Just having a small problem with the widget.
    I have created multiple posts that are linked to a category each.
    Simple Sidebar Navigation will only see 5 of them at a time.
    If I add a new one, it removes an old one, keeping a total of 5.
    It can however see all 4 pages that have been created.
    Any ideas anyone?

    Max Chirkov

    (@maxchirkov)

    Hey spottydog,

    I’d like to help, but I don’t follow your explanation. Can you be more specific what exactly you’re trying to do? BTW, the widget doesn’t have ability to add categories and automatically populate them with links to their posts. It only adds static links of your selection at the time of editing.

    spottydog

    (@spottydog)

    Hi Max.
    I’ll try to explain it a bit better, please bear with me.
    I have created a number of posts and assigned a different category to each post. There are 9 in total at the moment, and I have also created 4 pages.
    The Simple Sidebar Navigation widget shows only 5 of these 9 posts and all 4 pages.
    If I re-create one of the posts and assign a category, it will recognize it, but it removes one of the old ones.
    I can send you a screen capture of the various screens if that will help.

    Regards
    Iain Kennedy

    Max Chirkov

    (@maxchirkov)

    Iain, I figured out the problem. By default the function get_posts() fetches 5 posts only. By adding argument get_posts(‘numberposts=-1’) it fetches all published posts. So, you can run search and replace through the plugin file (there are only 3 places where this function is used), or you can wait until I release an update. Some people reporting another error and I’ll see if I can fix that and release it all together.

    spottydog

    (@spottydog)

    Hi Max.
    That fixed it.
    Thanks very much for looking into that for me.

    Regards
    Iain Kennedy

    Max Chirkov

    (@maxchirkov)

    No problem – glad it helped.

    spottydog

    (@spottydog)

    Hi Max.
    FYI, the auto update that just came in changed the “get_posts(‘numberposts=-1’)” back to “get_posts()”.
    Just letting you know because I thought the next update was going to include get_posts(‘numberposts=-1’) instead.

    Regards
    Iain Kennedy

    Max Chirkov

    (@maxchirkov)

    Oops. That’s what happens when you’re trying to fix things at work during lunch time, while mostly doing everything from home 🙂 Thanks for catching!

    spottydog

    (@spottydog)

    No problem Max.
    Another question for you.
    Would it be possible to have the capacity to have 2 (or more even) Simple Sidebar Navigation widgets used at the same time?
    ie. add the widget more than once, the same as you can do with the “Text” widget.
    I would like the ability to split up the navigation into multiple sections. eg:

    Navigation1
    Page 1
    Page 2
    Page 3

    Navigation2
    Page 4
    Page 5
    Page 6

    Navigation3
    Page 7
    Page 8
    Page 9

    Regards
    Iain

    Max Chirkov

    (@maxchirkov)

    Iain, you can add as many widgets as you wish to your sidebars. Scroll to the bottom of the page to create desired number of widgets.

    spottydog

    (@spottydog)

    Oops.
    Now I feel dumb.
    Sorry about.

    Thanks
    Iain

    spottydog

    (@spottydog)

    Uh Oh.
    When I added the second widget I get all this error code appearing now

    PHP Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /s101/home4/spottydog/wordpress-2.7.1/wp-content/plugins/simple-sidebar-navigation/simple-sidenav.php on line 185 PHP Stack trace: PHP 1. {main}() /s101/home4/spottydog/wordpress-2.7.1/wp-admin/widgets.php:0 PHP 2. wp_list_widgets() /s101/home4/spottydog/wordpress-2.7.1/wp-admin/widgets.php:279 PHP 3. call_user_func_array() /s101/home4/spottydog/wordpress-2.7.1/wp-admin/includes/widgets.php:68 PHP 4. wp_widget_control() /s101/home4/spottydog/wordpress-2.7.1/wp-admin/includes/widgets.php:0 PHP 5. call_user_func_array() /s101/home4/spottydog/wordpress-2.7.1/wp-admin/includes/widgets.php:296 PHP 6. simple_sidenav_control() /s101/home4/spottydog/wordpress-2.7.1/wp-admin/includes/widgets.php:0 PHP 7. simple_sidenav_parse_options() /s101/home4/spottydog/wordpress-2.7.1/wp-content/plugins/simple-sidebar-navigation/simple-sidenav.php:306 PHP 8. array_key_exists() /s101/home4/spottydog/wordpress-2.7.1/wp-content/plugins/simple-sidebar-navigation/simple-sidenav.php:185 PHP Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /s101/home4/spottydog/wordpress-2.7.1/wp-content/plugins/simple-sidebar-navigation/simple-sidenav.php on line 188 PHP Stack trace: PHP 1. {main}() /s101/home4/spottydog/wordpress-2.7.1/wp-admin/widgets.php:0 PHP 2. wp_list_widgets() /s101/home4/spottydog/wordpress-2.7.1/wp-admin/widgets.php:279 PHP 3. call_user_func_array() /s101/home4/spottydog/wordpress-2.7.1/wp-admin/includes/widgets.php:68 PHP 4. wp_widget_control() /s101/home4/spottydog/wordpress-2.7.1/wp-admin/includes/widgets.php:0 PHP 5. call_user_func_array() /s101/home4/spottydog/wordpress-2.7.1/wp-admin/includes/widgets.php:296 PHP 6. simple_sidenav_control() /s101/home4/spottydog/wordpress-2.7.1/wp-admin/includes/widgets.php:0 PHP 7. simple_sidenav_parse_options() /s101/home4/spottydog/wordpress-2.7.1/wp-content/plugins/simple-sidebar-navigation/simple-sidenav.php:306 PHP 8. array_key_exists() /s101/home4/spottydog/wordpress-2.7.1/wp-content/plugins/simple-sidebar-navigation/simple-sidenav.php:188

    Max Chirkov

    (@maxchirkov)

    Can you try downloading the 2.0.8 from my site

    spottydog

    (@spottydog)

    Same thing happens.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘[Plugin: Simple Sidebar Navigation] Thanks!’ is closed to new replies.