• WordPress Custom Widgets Plugin
    by ShibaShake on
    [   See Full Article   ]
    152 Comments
    1. I have installed the plugin and made different widget sets. But somehow the everything gets erased inside those widgets with regular intervals, and then I have to plug it all in again. It can be one day or a week – there no rythm to this. It’s just gone suddenly.

      Fx this page:

      http://www.fortiusfitness.com/blog/celebrity-diets-and-workouts/

      I have alot of links in the sidebar. Suddenly they can just be gone.

      Is this a problem you have seen before and is there a fix to this?

      Thanks.

      3:01 am on February 28th, 2012 Reply
      • Hmmm, are you using text widgets to show the links? So the text disappears but the widgets are still there? The only thing I can think of is to make sure that the Propagate Settings checkbox at the bottom is not checked.

        What version of the plugin are you using?

        7:49 am on February 28th, 2012 Reply
        • I have tried text and php widgets.

          The widget set i create in Shiba are still there – it’s just empty. In the particular widget set I linked to contains 4 seperate text or php sections that just disappears with regular intervals. Usually when I create a new post or do some updates on the blog.

          I use the newest wordpress version + Shiba 1.5.8

          Where is this?
          The only thing I can think of is to make sure that the Propagate Settings checkbox at the bottom is not checked

          9:15 am on February 28th, 2012 Reply
          • Sounds like it may be a conflict with another plugin. There is a newer version of Shiba Widgets (1.6.1), however, if it is a conflict issue, then the problem may still persist.

            From what you describe, it is not a Propagate Settings issue.

            12:23 pm on February 29th, 2012 Reply
            • Thanks.

              Where do I download the new version? I can’t see the update in the post above.

              11:06 am on March 7th, 2012
            • Never mind – found it!

              11:20 am on March 7th, 2012
    2. I must be a bit of a bloke tonight because I’ve downloaded Shiba Widgets earlier, installed it okay, then when I had a look at it all, I got confused. What to do next, duh!

      And the link to the “great video tutorial” by Kyle didn’t go anywhere, so can you give me plain-english steps to follow, to start using Shiba Widgets, please?

      Our WP theme has the usual WP widgets + the custom ones that came with the theme, & numerous sidebars for specific page templates. But after installing SW, did it look different.

      What’s the very first steps, so I can include my existing widgets — with text & html already pasted in — as a starting point?

      Thanks & really love the fem artwork, folks!

      6:58 am on January 6th, 2012 Reply
    3. I’ve got Shiba Widgets 1.2 I believe and would like to update to 1.5 but I can’t see a link / button to click to get it. Help.

      Thanks

      7:41 am on October 5th, 2011 Reply
    4. Hi

      I downloaded your widget to use in my sidebar so that I can split my sidebar into 2 columns for some of the widgets in the sidebar. I placed the multi column widget above the 2 widgets in the sidebar which I wanted to columnise. The rest of the widgets in the sidebar above it and below it, I do not want to columnize. It did not seem to work. Do you know what could be wrong? I am using the latest wordpress version. If you check my homepage, it is the widget named recipe bowl by region and recipe bowl by meal which i want to columinize side by side. Can you give some advice please!

      thanks
      Tastebud

      9:00 am on July 16th, 2011 Reply
      • Currently, the multi-column widget operates on the entire sidebar. The Multi-column widget must be placed as the first widget and it operates on all other widgets that come after it.

        Being able to columnize a certain number of specified widgets would be useful though. So I will add it to my to-do list for future work.

        12:51 pm on July 18th, 2011 Reply
    5. Steve

      Never mind with my last question. I was able to figure it out.
      Had to add the add_meta_box code for each Custom Post Type in the shiba-meta-box.php page.

      Great Plugin…thanks!

      Steve

      12:45 pm on July 10th, 2011 Reply
      • You can also just add ‘shiba-widgets’ to the supports list when you register_post_type.

        This great feature was added by Greg Bellucci in the last plugin update.

        2:44 pm on July 10th, 2011 Reply
        • Shiloh

          Can you please be more specific as to where exactly this needs to be added? In addition to the Shiba Custom Widgets plugin, I am using http://wordpress.org/extend/plugins/the-events-calendar/, but the custom widget I’ve setup for this does not seem to work. I might be doing it wrong.
          Your help would be appreciated.
          Thanks

          4:55 am on March 20th, 2012 Reply
          • The post above is for adding the shiba widgets interface to custom post types.

            the custom widget I’ve setup for this does not seem to work

            Hmmm, not sure what you mean by that. Does it not appear in the Shiba widgets interface? Does it work when shiba widgets is turned off?

            3:13 pm on March 26th, 2012 Reply
        • Mirco

          Hi, thx for this great plugin!

          one question – you said: ” You can also just add ‘shiba-widgets’ to the supports list when you register_post_type. ” I don’t see “shiba widgets” in the support list. What should I do in order to have the option to add shiba widgets in the custom post field UI Advanced Options ?

          thx and cheers Mirco

          10:45 am on April 15th, 2012 Reply
          • Look for the register_post_type function of the custom post type you want to add shiba widgets to. Then just include ‘shiba-widgets’ in the arguments array, for example -

            $args = array( ... ,
            		'supports' => array('title','author','thumbnail', 'comments', 'shiba-widgets' )
            		); 
            	register_post_type('my_post_type',$args);
            6:34 pm on April 15th, 2012 Reply
    6. Steve

      Hello,

      This is a great Pkugin that I have used on other projects – thanks for the work you put into it.

      I am currently working on a new project that I am trying to use this plugin in tandem with the Custom Post Type IU Plugin. However, the drop down option to choose the Sidebar is not showing up in the admin post type page…

      Is there a way to have it show on the Custom Post Type Pages?

      Thanks,
      Steve

      3:27 am on July 10th, 2011 Reply
    7. You have just saved my sanity – thank you!!

      2:09 pm on June 24th, 2011 Reply
    8. Can you please help me out? I have installed your plugin but I get this error:

      $instance = $widget->get_settings(); $instance = $instance[$params[1]['number']];

      What should I do to make it work?

      Thanks!

      7:18 pm on May 14th, 2011 Reply
      • To properly debug the issue I would need more context.
        - What are the steps you took that caused the error. The more detail the better.
        - What is the exact error? (line number, file name, etc.)
        - What WP version are you using?
        - What other plugins are you using?
        - What theme are you using?

        As a first step, try turning off all other plugins, and switching to the twenty ten theme.

        5:18 pm on May 17th, 2011 Reply
    9. [...] plugin http://shibashake.com/wordpress-theme/wordpress-custom-widgets-plugin Related Articles:postandlintel on "Header issues with veryplaintxt 4.6.1"stvwlf on [...]

      4:45 pm on May 14th, 2011 Reply
    10. Bob

      First off I’d like to say you created an awesome plugin by making the custom widgets. I was running WP 2.9.2 and updated to 3.1 today. I of course experienced some issues with my outdated version of your plugin. I removed the old one, installed the latest. Followed the guide which explains the ‘widget sets’. Everything is back to normal luckily, although I still have one major issue. The AuthorAvatar plugin is not working anymore.. When I add it to my widget area (and specify the options of this plugin) it puts a ‘fatal error’ on my page. It also causes my footer to disappear for some reason. Now this plugin, as well as your Custom Widgets plugin, is essential for my website.. Do you maybe have any idea on how I can get this back to work?

      7:11 am on April 1st, 2011 Reply
      • Hmmm, the most common reason is that most specialized widgets assume that widget editing occurs in the widget.php page whereas Shiba Widgets shifts editing to the post.php page. As a result, plugin files that rely on the widget.php dependency may not be loaded.

        I don’t use AuthorAvatar though so I can’t say for sure.

        12:27 pm on April 2nd, 2011 Reply
        • Bob

          Sounds too difficult for me to handle. I tried some other plugins for displaying the authors which do work and dont cause issues. Problem is that they dont have all the functionality I want.. too bad.

          3:22 am on April 4th, 2011 Reply
    11. [...] Widget sets are saved as custom post type objects, thus they can be transferred from blog to blog using the standard WordPress import/export tools. However, individual widget settings (such as the text in your Text widget) are stored by WordPress core as options. As of WordPress 3.0, these DO NOT get transferred using the standard import/export tools. [Source] [...]

      8:09 pm on March 31st, 2011 Reply
    12. Vlad

      Hi there,
      After installing WordPress 3.1 I can no longer manage widgets with the plug-in – the “Manage Widgets” list appears empty. I have version 1.2.1 of the Shiba Widgets plugin, also tried downloading the latest version (1.3.5), same issue. Please help.

      8:04 am on March 6th, 2011 Reply
      • Widget Sets now use custom post types, so there should be a “Widget Set” tab on the Dashboard that lets you manage widget sets.

        I would test the plugin out on a test site first before using it in a live site.

        8:37 pm on March 6th, 2011 Reply
        • Vlad

          Version 1.4 does not see any of the existing widget sets. If I activate version 1.2.1 then older widget sets appear correctly on all pages, so they exist in the database, for some reason the plug-in is not seeing its own data. I know, this all started with WP 3.1 upgrade, so even version 1.2.1 couldn’t see its existing widget sets to manage. Is there anything can be done to convert the existing data?

          2:08 pm on March 7th, 2011 Reply
          • Version 1.2.1 stored the widget sets as taxonomy objects. However, when 3.0 came out I decided to change the widget sets to custom post type objects – which is the more appropriate representation.

            The plugin should automatically convert taxonomy objects to custom post type objects during activation.

            Do you see a Widget Set tab? What do you see when you go to the Widget Set tab? Is it totally empty? Is there a default widget set?

            5:03 pm on March 7th, 2011 Reply
            • Vlad

              Yep, the Widget Set tab is there, however it is empty, it shows an empty grid with only the footer and the header. And again, it started showing empty with version 1.2.1 / WP 3.1.

              7:39 pm on March 7th, 2011
            • If you have a test site, I can look at it and try to debug it there. During debugging I may need to change plugin code, blog settings, etc – therefore it is only appropriate on a test site. You can send account information to me at
              http://hubpages.com/_srec/email/user/shibashake

              Otherwise if you are familiar with PHP, the taxonomy to custom post type conversion function is in shiba-widget-helper.php, and it is called convert_widget_taxonomy_terms_to_custom_post_type. The function is very simple – it retrieves all the old taxonomy widget sets and creates a corresponding custom post type object for each one.

              Another possibility, is to move the content over manually through database operations on your server. But it is probably easier to look at the conversion function.

              8:40 pm on March 7th, 2011
            • Vlad

              Thanks, I simply dumped my wordpress database to a text file and recreated all widget sets by using the old and tried cut-and-paste. Once that’s been done, everything seems to be working fine.

              10:00 pm on March 7th, 2011
            • Ah, very good. Glad it all worked out.

              5:10 pm on March 9th, 2011
    13. Love the plug-in. I am using it to rotate Amazon ads in my sidebar.

      One feature request.

      It would be great to be able to change the Shiba Widget for a post by using just the Quick Edit from the main posts menu. Then you could also use the bulk change function from WordPress. Otherwise, I had to go through 50+ posts and update them to assign the widget I wanted.

      7:54 pm on February 1st, 2011 Reply
      • Thanks, I will put that on my to-do list.

        2:53 pm on February 3rd, 2011 Reply
    14. James

      Great plugin! I have used this on several sites already. I’m working on one that will be using a team to update the site. I was wondering if there is a way to specify or change who the original author of the widget set is? Like on a post or page you can change the author using the dropdown towards the bottom of the edit page. This way I’ll be able to allow authors to edit specific widget sets without having to worry about the others!

      Thanks!

      7:27 am on January 21st, 2011 Reply
      • James

        Nevermind…just added ‘author’ to the supports array in shiba-widget-helper.php and it added the dropdown for me! Thanks anyways.

        2:32 pm on January 21st, 2011 Reply
        • I was about to post that but you are way ahead of me! :D Glad it worked out.

          3:30 pm on January 21st, 2011 Reply
    15. David

      The wordpress image widget does not work with this plugin. The page goes blank while trying to add the image. Any idea how to fix this?

      11:04 am on January 10th, 2011 Reply
      • Thanks for letting me know David. I have added it to my to-do list.

        4:04 pm on January 21st, 2011 Reply
      • Hi David,

        I looked into this while doing my 3.1 update and it turns out that Image Widget does a check for the widget.php page. This occurs in the file image-widget.php.

        if (‘widget.php’ == $pagenow) …

        In Shiba Widgets, the Edit page is no longer widget.php but rather post.php since widgets are now custom post types.

        To make the Image plugin work, we must perform a different page test. Try something like this -

        if (isset($_GET['post'])) $post_id = absint($_GET['post']);
        $post = get_post($post_id);
        if (is_object($post)) $post_type = $post->post_type;
        if ( ('widget.php' == $pagenow) || ($post_type == 'widget_set') ) ...
        10:34 am on March 4th, 2011 Reply
    16. Nice Plugin article it helped me a lot…thanks.

      9:41 pm on December 29th, 2010 Reply
    17. Hey There-
      Just wanted to report an issue I was having and see what your thoughts are on it.
      WP: 3.0.3
      Shiba Widgets: 1.3.4

      When go to query a custom post style and gather a bit of metadata it’ll do odd things to my selected widget set for that page.

      I have a page called All Databases that is listing the posts from the post type database – this is essentially titles and urls for library databases. However, when this code is in use it messes with the widget set I’ve assigned for it and assigns an old widget set that I had previously used for it.

      If I take the code out it works fine. You can see the template here: http://pastebin.com/5T5vmMUc

      If you have a sec, I’d love some feedback.

      Thanks,
      ~Kyle~

      8:12 am on December 22nd, 2010 Reply
      • This is because shiba widgets uses the WordPress Loop global variable $wp_query to figure out which page/post we are on so that it can retrieve the relevant widget set for that particular page or post. This occurs when the first widget set is rendered.

        Since you are replacing the WordPress Loop with your own database objects before widgets are rendered, it ends up not finding a widget set. Therefore, it uses the default.

        There are three ways that come to mind to fix this -
        1. Don’t replace the WordPress loop. Use get_posts, and loop through the results using non WP-loop functions.
        2. Return your own widget set by adding the following to the start of your template -

        add_filter('pre_shiba_get_widget', 'set_widget_set', 10, 2);
        function set_widget_set($widget_id, $post) {
        	return $my_widget_set_id;
        }

        3. I could make Shiba Widgets determine the proper widget set earlier on. I will add this to my to-do list although it may be a while before I get to it.

        No-2 is probably the easiest option.

        10:55 pm on December 22nd, 2010 Reply
    18. CJN

      I uninstalled this and removed the folder from the plugins directory a few months ago when I ran into major issues during an upgrade and redesign, but it never did get completely removed (one example is the description tag is still showing [SHIBA WIDGET: ..]…(It would seem that SW was hijacking my AIOSEO settings, among other issues I was having.)

      How do I get rid of all remnants of the SW plugin once and for all?

      Thanks for your help.

      4:08 am on December 21st, 2010 Reply
      • Dear CJN,
        SW does not try to hijack any settings in other plugins. However, it does create some database objects which is necessary to keep any kind of blog state. In particular, each widget set is a custom post type object with post_type=widget_set, so you can just remove all those objects.

        It may also create a term table to store meta data, so remove all shiba tables from your database.

        7:57 am on December 21st, 2010 Reply
    19. Nice article and great plugin. I wrote something similar which provides a fairly simple set of functionality… The Graceful Sidebar Plugin enables you to create custom fields and have that content displayed on any post or page.

      4:10 am on November 22nd, 2010 Reply
    20. cory i

      The plugin does not work with the Tabbed Widgets plugin. I NEED it to or I have to drop Shiba Widgets and dont want to. When saving the tabbed widget options there are two radio buttons for tabbed or accordion style tabs. When clicking save it reverts back to neither buttons checked. The result is the widget never shows up in the site. Others do.

      Help?

      3:24 pm on November 17th, 2010 Reply
      • I can have a look at it, but I have several projects going on currently so it will be a while before I get to it. The best thing is probably to find another widgets plugin, e.g. Widget Logic.

        8:25 am on November 19th, 2010 Reply
    21. mike

      hi. im having a weird problem with widgets that i can’t seem to control. i’ve got a site in production that is all pages thus far; i’m adding a blog now so the client can…well…blog! i use wp 3.0.1 and ata 3.5.3. i use shiba widgets to put specific widget sets on on pages and want to do the same on the blog. the site is here: http://abetheinspector.com.

      i am building the blog in the background (i have not added the blog to the menu). when i visit the blog home page, i have no widgets at all and when i click a specific post, i get sample widgets on the left that i dont want. the blog is here: http://abetheinspector.com/blog

      i’d appreciate any guidance. Thanks!

      9:05 am on October 26th, 2010 Reply
      • Hi Mike,
        What version of Shiba Widgets are you using?

        I just checked out your links and when I click on a specific post I get – Ask Abe Inspector and Useful Links on the right.
        The blog page will use the Default widget set.

        To get a better idea of what is going on, I would need to know -
        1. What widget set is assigned to individual pages, exactly what widgets are in that widget set.
        2. What is in the Default widget set.

        If you have a test site, I can have a quick look at things. Just make me a temporary account and send the information to -
        http://hubpages.com/email/user/shibashake

        9:57 am on October 26th, 2010 Reply
    22. I downloaded the shiba plug in and installed it. But when the shiba plugin is activated, I loose my ability to view my Theme Functions “functions.php” on the editor. Is there a quick fix?

      1:23 pm on October 7th, 2010 Reply
      • Hmmm, I just tested this on a variety of themes including 20-10 and could not duplicate the problem. What theme are you using?

        8:38 am on October 12th, 2010 Reply
    23. ben

      hello, shiba,

      This plugin works like a charm! And easy too! I found a problem, which is the plugin is visible in the dashboard for everyone to see (registered users). They can create own set of widgets and delete my default set up.

      Is there any way to hide shiba widget from the dashboard other than admin to see?

      Btw, my wp is not wpmu. It is a normal wp with many authors.

      :)

      7:19 pm on October 6th, 2010 Reply
      • That is a great suggestion. I may add this as part of Options in a future release. In the meantime, here is what you can do -
        1. Go into the file shiba-widget-helper.php.
        2. Go to the function register_widget set. Add in the following at the beginning of the function (line 13) -

        if (current_user_can('switch_themes')) $show_ui = true;
        else $show_ui = false;

        3. Look for the line ‘show_ui’ => true and replace it with -

        'show_ui' => $show_ui,
        8:47 am on October 7th, 2010 Reply
    24. amit

      i face a amazing bug in it when i installed you plugin in Appearence -> i have not show create widgets and manage widgets what i do

      10:04 am on September 1st, 2010 Reply
      • There are several possible causes for this -
        1. Your WordPress installation does not support custom post types.
        2. There is a plugin or theme conflict.
        3. There is an issue with the server environment.

        11:02 am on September 1st, 2010 Reply
    25. Hi Shiba,
      I’ve been using version 1.2.1 of Shiba Widgets on a number of sites without any problems (thanks so much for this great plugin).

      However, when I installed 1.3 on a test site I couldn’t get the plugin to save widgets within a set successfully:
      I assigned a number of widgets before installing Shiba Widgets, and it imported them into the default set without any problem. I then copied the set and deleted some widgets in the copy without any problem either.
      When I then tried to add new widgets to any widget area, I noticed that they wouldn’t ‘stick’. I noticed in the “widget set” screen (the overview) it would correctly show the number of widgets, but they won’t appear in the widget set’s edit screen.

      Just to make sure my theme wasn’t the culprit I disabled any plugins, reverted from my custom theme to twentyten and reinstalled shiba widgets, but the behaviour is the same:
      This time I started off with no widgets, then tried to add the archive widget to the primary widget area in the default set, pressed update and once again it disappeared. Checking in the “widget set” overview screen it would say “#widgets: 1″, but checking all widget areas would show no widget at all.

      I’m using WordPress 3.0.1 and Shiba Widgets 1.3. The only plugins I had installed (but now disabled) are WP e-Commerce Plugin and WP E-Commerce Dashboard.

      Any ideas ? It seems a bit like I somehow managed to corrupt the database table shiba widgets stores the widget sets in (which I assume won’t get deleted when deleting the plugin, since when I reinstalled shiba widgets my previous sets were still there, so I manually deleted them and created a new Default set)

      4:51 am on August 31st, 2010 Reply
      • not sure if that helps, but here’s the content of shiba_widget_options in the wp_options table:

        a:12:{s:7:”default”;s:3:”366″;s:9:”frontpage”;s:1:”0″;i:404;s:1:”0″;s:6:”search”;s:1:”0″;s:6:”single”;s:1:”0″;s:4:”page”;s:1:”0″;s:10:”attachment”;s:1:”0″;s:8:”category”;s:1:”0″;s:3:”tag”;s:1:”0″;s:7:”archive”;s:1:”0″;s:12:”lost_widgets”;s:2:”on”;s:14:”inherit_parent”;s:2:”on”;}

        I have not used the multicolumn widget, so I assume widget_shiba_multi_column is set to default: a:1:{s:12:”_multiwidget”;i:1;}

        and the wp_shiba_termmeta table is empty.

        5:50 am on August 31st, 2010 Reply
      • Hello Axel,
        Thanks for the great bug report – it is detailed and extremely helpful.

        This time I started off with no widgets, then tried to add the archive widget to the primary widget area in the default set, pressed update and once again it disappeared. Checking in the “widget set” overview screen it would say “#widgets: 1″, but checking all widget areas would show no widget at all.

        Make sure that the Widget Set has a title. Then open up one of the Archive widgets and click on the Save button. Let me know if you still get the same errors after that.

        There seems to be a strange bug in the plugin. Once I did the Save, everything works like it is supposed to. I will definitely look into this in greater detail, although now I am having trouble duplicating the bug.

        Any ideas ? It seems a bit like I somehow managed to corrupt the database table shiba widgets stores the widget sets in (which I assume won’t get deleted when deleting the plugin, since when I reinstalled shiba widgets my previous sets were still there, so I manually deleted them and created a new Default set)

        The plugin now stores all of the widget sets as custom post types – so it doesn’t create a database table for storing widget sets. The old widget sets probably came back because during activation the plugin will try to convert all old widget sets (that were created in version 1.2) into new custom post type widget sets. It will only do this if there are no existing widget sets.

        To prevent the conversion process, leave at least one widget set present, e.g. the Default widget set.

        I did not delete the old widget set objects so that if there are bugs, one can easily revert back to an old version of the plugin and not lose any work.

        Let me know how it works out and if you uncover more bugs.

        9:44 am on August 31st, 2010 Reply
        • Hi Shiba,
          thanks for your quick reply.

          Make sure that the Widget Set has a title. Then open up one of the Archive widgets and click on the Save button. Let me know if you still get the same errors after that.

          Yes, my widget set has a title, and I did click the save button within each widget. Once I click the “Publish” (for a new widget set) or “Update” button (when editing an existing widget set) the newly added widget(s) disappear from the widget area I have added them to (but the number of the widgets increases in the widget sets overview). However, I can remove existing widgets from a set without any problem (I just can’t add any).

          I did install the plugin on another one of my blogs and the behaviour is exactly the same (the default widget set gets correctly populated on install, I can delete widgets from a set, but not add any)

          The old widget sets probably came back because during activation the plugin will try to convert all old widget sets (that were created in version 1.2) into new custom post type widget sets.

          On both blogs I installed Shiba Widgets 1.3 without having 1.2 installed first. I meant when uninstalling 1.3 and reinstalling it it remembers the previous sets, so the custom posts don’t get removed when uninstalling.

          Would it help if I dug out the relevant entry in the wp_posts table, try to add a new widget to a set and see if the database entry changes at all (and maybe post a before and after)?

          5:35 am on September 1st, 2010 Reply
          • Sorry about yet another double post, but I did do the test I mentioned above:
            I disabled any custom plugins, deleted shiba widgets, removed any shiba-widgets related custom posts and settings from the database and put 2 widgets, meta and archives into the primary widget area of twentyten.
            I then installed shiba widgets, which correctly imported the 2 plugins into the default set.
            This is the resulting custom post in the database:
            a:7:{s:19:"wp_inactive_widgets";a:0:{}s:19:"primary-widget-area";a:2:{i:0;s:6:"meta-7";i:1;s:10:"archives-7";}s:21:"secondary-widget-area";a:0:{}s:24:"first-footer-widget-area";a:0:{}s:25:"second-footer-widget-area";a:0:{}s:24:"third-footer-widget-area";a:0:{}s:25:"fourth-footer-widget-area";a:0:{}}

            I then removed the meta widget, resulting in the correct removal in the db entry:
            a:7:{s:19:"wp_inactive_widgets";a:0:{}s:19:"primary-widget-area";a:1:{i:0;s:10:"archives-7";}s:21:"secondary-widget-area";a:0:{}s:24:"first-footer-widget-area";a:0:{}s:25:"second-footer-widget-area";a:0:{}s:24:"third-footer-widget-area";a:0:{}s:25:"fourth-footer-widget-area";a:0:{}}

            Now I added the meta widget again, which resulted in the exact same db entry as before:
            a:7:{s:19:"wp_inactive_widgets";a:0:{}s:19:"primary-widget-area";a:2:{i:0;s:6:"meta-7";i:1;s:10:"archives-7";}s:21:"secondary-widget-area";a:0:{}s:24:"first-footer-widget-area";a:0:{}s:25:"second-footer-widget-area";a:0:{}s:24:"third-footer-widget-area";a:0:{}s:25:"fourth-footer-widget-area";a:0:{}}

            Nevertheless the widget has disappeared from the set.
            So this eliminates any problem with the widgets not getting stored correctly in the db and I assume points at the bits of code that read the custom post and then populate the widget set (as I said in my last post the set overview page counts the number of widgets correctly, it’s just the edit widget set page that doesn’t work)
            I hope that helps narrowing the issue down a bit…

            6:14 am on September 1st, 2010 Reply
            • This is truly perplexing. I am having trouble duplicating the bug on my setup.

              - Try viewing the widget set. Does the widget that disappeared get rendered on the page?
              - Open up shiba-widget-add.php. Search for require(SHIBA_WIDGET_DIR . ‘/widgets.php’); (line 82). There should be two lines there that look like this -

                      // require(ABSPATH . 'wp-admin/widgets.php');
                      require(SHIBA_WIDGET_DIR . '/widgets.php');
              

              Change it so that it looks like this -

                      require(ABSPATH . 'wp-admin/widgets.php');
                      // require(SHIBA_WIDGET_DIR . '/widgets.php');
              

              Try editing the widget set again and see if the problems still occur.

              I can also take a look at your test site if you create a temporary account for me with admin privileges. You can send the password to -
              http://hubpages.com/_brec/email/user/shibashake

              11:32 am on September 1st, 2010

    Leave a Reply

    Your email address will not be published.

    You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

    search button search button
    rss