Viewing 14 replies - 1 through 14 (of 14 total)
  • I have the same issue. Any solution to this?

    same issue…

    me too

    one more!

    Add me to the list too. Can’t change tabs within SiteOrigin’s Page Builder.

    I have the same. Additionally, widget broke my page layout.
    It doesn’t work with page builder and I see it works in sidebar only.

    I’ve the same problem, could you help us?

    Same issue. Doesn’t look like there’s a fix yet. Guess I need to find another widget that will display custom posts. Any suggestions?

    Me too. From inside pagebuilder, after edit on the ultimate posts widget, clicking on the “Display”, “Filter”, or “Order” tabs appears to do nothing, so I can’t edit any fields except those under “General”. I’m using chrome.

    This was my solution for the problem:

    Dive into the JS folder in Ultimate Post Widget in your plugins-folder and take the code from upw-admin.js, it should look something like this:

    jQuery(document).ready(function($) {
      $('#widgets-right').on('click', '.upw-tab-item', function(event) {
        event.preventDefault();
        var widget = $(this).parents('.widget');
        console.log(widget);
        widget.find('.upw-tab-item').removeClass('active');
        $(this).addClass('active');
        widget.find('.upw-tab').addClass('upw-hide');
        widget.find('.' + $(this).data('toggle')).removeClass('upw-hide');
      });
    });

    and make it look something like this instead:

    jQuery(document).ready(function($) {
      window.upwAdmin = function () {
        $('.so-panels-dialog').on('click', '.upw-tab-item', function(event) {
          event.preventDefault();
          var widget = $(this).parents('.so-panels-dialog');
          widget.find('.upw-tab-item').removeClass('active');
          $(this).addClass('active');
          widget.find('.upw-tab').addClass('upw-hide');
          widget.find('.' + $(this).data('toggle')).removeClass('upw-hide');
        });
      }
    });

    Now we’ve changed some classes/ids like #widget-right => .so-panels-dialog and .widget => .so-panels-dialog
    And also surrounded it with a class that is reachable from the window.

    Now jump into the ultimate-posts-widget.php (root-directory of the plugin) and change/edit the following lines:

    Line 55
    wp_register_script('upw_admin_scripts', plugins_url('js/upw-admin.min.js', __FILE__), array('jquery'), null, true);
    to
    wp_register_script('upw_admin_scripts', plugins_url('js/upw-admin.js', __FILE__), array('jquery'), null, true);

    Line 625
    jQuery(document).ready(function($){
    Add this line under it:
    window.upwAdmin();

    Now you should be able to switch tabs.

    Thanks for the fix, hope it gets picked up by the author soon.

    I just want to point out that if you still want to be able to use the Widget in the Widget-area of WordPress you need to have both
    $('#widgets-right').on('click', '.upw-tab-item', function(event) {
    and

    window.upwAdmin = function () {
        $('.so-panels-dialog').on('click', '.upw-tab-item', function(event) {

    My solution just fixes the PageBuilder-problem, and creates a new one for WordPress Widgets area ??

    Jeremy Tarpley

    (@jeremytarpley)

    Having the same issue and don’t think would be wise to modify the plugin code. Really hope a new version fixes this soon! Outside of this one bug, this is such a useful plugin!

    Just wanted to point out that I was having the same issue, and by following erth’s solution, my problem is now fixed! Thank you for your help!!

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Unable to change widget details in SiteOrigin PageBuilder’ is closed to new replies.