• ashaman wrote:

    Hello and happy new year!
    The recent upgrade disabled the Text & Html widget editing for me.
    Up until yesterday everything worked fine.
    Any ideas on what I could check?

Viewing 15 replies - 1 through 15 (of 23 total)
  • Thread Starter scribu

    (@scribu)

    So you’re not able to edit text widgets using Front-end Editor 1.6?

    Can you give me the URL of your site?

    I’d rather not give out the link publicly, call me paranoid…

    I verified that with the previously installed version it works as fine as ever; pulled it out of a recent backup.
    Installing the 1.6 has definately caused the error as far as I can figure out.

    Thread Starter scribu

    (@scribu)

    Well, I can’t help you unless I have more information.

    You’ll just have to use the older version of the plugin.

    What else would you like to know apart from WP version [2.9]?

    Thread Starter scribu

    (@scribu)

    Can you paste the code used to register the sidebar? It’s usually located in functions.php in your theme’s folder and looks something like this:

    if ( function_exists('register_sidebar') ) {
    	register_sidebar(array(
    		'before_widget' => '<li id="%1$s" class="widget %2$s">',
    		'after_widget' => '</li>',
    		'before_title' => '<h2 class="widgettitle">',
    		'after_title' => '</h2>',
    	));
    }
    if ( function_exists('register_sidebar') )
        register_sidebar(array(
    	'name'=>'sidebar_full',
            'before_widget' => '<li id="%1$s" class="sidebaritem %2$s"><div class="sidebarbox">',
            'after_widget' => '</div></li>',
            'before_title' => '<h2 class="widgettitle">',
            'after_title' => '</h2>',
        ));
        register_sidebar(array(
    	'name'=>'sidebar_left',
            'before_widget' => '<li id="%1$s" class="sidebaritem %2$s"><div class="sidebarbox">',
            'after_widget' => '</div></li>',
            'before_title' => '<h2 class="widgettitle">',
            'after_title' => '</h2>',
        ));
        register_sidebar(array(
    	'name'=>'sidebar_right',
            'before_widget' => '<li id="%1$s" class="sidebaritem %2$s"><div class="sidebarbox">',
            'after_widget' => '</div></li>',
            'before_title' => '<h2 class="widgettitle">',
            'after_title' => '</h2>',
        ));
        register_sidebar(array(
    	'name'=>'footer_left',
            'before_widget' => '<div id="%1$s" class="widget %2$s">',
            'after_widget' => '</div>',
            'before_title' => '<h3>',
            'after_title' => '</h3>',
        ));
        register_sidebar(array(
    	'name'=>'footer_middle',
            'before_widget' => '<div id="%1$s" class="widget %2$s">',
            'after_widget' => '</div>',
            'before_title' => '<h3>',
            'after_title' => '</h3>',
        ));
        register_sidebar(array(
    	'name'=>'footer_right',
            'before_widget' => '<div id="%1$s" class="widget %2$s">',
            'after_widget' => '</div>',
            'before_title' => '<h3>',
            'after_title' => '</h3>',
        ));

    Only the sidebar_full is in use though.

    Thread Starter scribu

    (@scribu)

    Ah… now I see the problem:

    'before_widget' => '<li id="%1$s" class="sidebaritem %2$s"><div

    The plugin searches for the ‘widget’ class, but you have ‘sidebaritem’ instead.

    Try changing that line to this:

    'before_widget' => '<li id="%1$s" class="widget sidebaritem %2$s"><div

    Thank you ver much scribu, it works now. ??

    On a sidenote, does having two classes, or rather a different classname, interact in any other way with the blog/theme?
    Just curious, is all…

    Thread Starter scribu

    (@scribu)

    The widgets might get some extra styles applied to them from the extra class, but besides that, no.

    Hello and happy new years ??

    I’ve just updated Front-end editor and I’ve the same problem.
    It’s impossible now to change text widget.

    I changed class to “widget sidebaritem %2$s” in my function.php page but no results.

    Thanks to help me ??

    if ( function_exists('register_sidebar') )
        register_sidebar(array(
            'before_widget' => '<li id="%1$s" class="widget sidebaritem %2$s">',
            'after_widget' => '</li>',
            'before_title' => '<h2 class="widgettitle">',
            'after_title' => '</h2>',
        ));
    Thread Starter scribu

    (@scribu)

    tomagladiator, what version of WP are you running?

    Can you spare the site URL, or are you paranoid too? ??

    https://www.centredepechecr.ca/
    But I’m paranoid too ^^

    I use actually WordPress 2.8.4

    Thanks you Scribu ?? I appreciate your help

    Thread Starter scribu

    (@scribu)

    The markup looks alright. It should be working.

    Btw, wouldn’t a single text widget be easier to work with, instead of having 10?

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘[Plugin: Front-end Editor] Problem with text widgets’ is closed to new replies.