Swap sidebar positions directly on phpmyadmin

Asked

Viewed 31 times

0

I’m having a problem in wordpress where it’s not leaving clicar and arrastarto change the positions of widgets (not only widgets but the whole site). I need to change only the positions of 2 widgets that are there, I would like to put the last 2 first, but I could not so far. I went to the table options and edited the sidebars_widgets but it gave me no result, it seems that nothing happened.

This is the content of sidebars_widgets that I have:

a:7:{
    s:19:"wp_inactive_widgets";
    a:0:{}
    s:9:
    "sidebar-1";
    a:3:{
        i:0;s:18:"bp_groups_widget-3";
        i:1;s:19:"bp_group_calendar-3";
        i:2;s:22:"widget_tdlcbirthdays-3";
    }
    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:{}s:13:"array_version";i:3;
}
  • If it is not working, it is because there is a plugin or theme that is conflicting. Have you tried to disable the plugins? If you have many plugins start with the ones you think are more Insignificant, turn off 3 in 3. When the ordering of widgets works again, you order and activate the plugins again. It is worth testing with another browser as well. Another tip is to look in the browser console and check if it is giving error.

  • Is the code you put above original or is it already modified? If the modified is put the original code if it is still run in text as in the database

  • @Fabianocacinpinel It is the origin of this. I only put this way to understand better, but it is all in 1 line only

  • i tried and convert into array using the wordpress maybe_unserialize function the way you passed and showed nothing. I made a test using a code of my wordpress and it worked.

  • If in your theme or in some plugin are setting the position of widgets you will never be able to do this by changing directly in the database. Because you can change there but then the code rotates and changes again. My guess is something in your theme. Look in the functions.php or "extenteded search" file for widgets in your theme files.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.