Support » Plugins » sidebar widget problem

  • Hello,

    I am trying to make a widget. I made the plugin, activated it and tested it on my blog. It works fine on my blog, which has one sidebar. I tried to have another blog use it, and he tried to use it on his right sidebar, he has two. It worked as well, but it killed all the content on his left sidebar.

    I’m including the code below:

    any ideas??

    Plugin Name: Liquid Cotton Widget
    Plugin URI:
    Description: Liquid Cotton Directory Widget
    Author: James
    Version: 1.0
    Author URI:

    function sampleHelloWorld()
    include ‘’;

    function widget_myHelloWorld() {
    <?php sampleHelloWorld(); ?>

    function myHelloWorld_init()
    register_sidebar_widget(__(‘LiquidCotton’), ‘widget_myHelloWorld’);
    add_action(“plugins_loaded”, “myHelloWorld_init”);

  • The topic ‘sidebar widget problem’ is closed to new replies.