WordPress.org

Ready to get started?Download WordPress

Forums

WP eCommerce
[Plugin: WP e-Commerce] Error in breadcrumbs.class.php moving right sidebar below content (1 post)

  1. Effix
    Member
    Posted 3 years ago #

    Hi,

    I only started with WordPress and the E-commerce plugin today, so I hope I'm posting this in the right place so that others can use it to fix their similar issue.

    My problem was that the right sidebar moved to below the content, after a lot of searching I found that it had to do with the breadcrumbs because the problem disappeared when I turned that off.
    After a while I tried to compare the source code of the page with breadcrumbs on and with them off, the line that was different ended with a closing div </div>. Conclusion: a div was being closed that wasn't supposed to get closed since there was no extra opening div when the crumbs were turned on.
    Finally I ended up in breadcrumbs.class.php around line 114 and commented out a closing div there:

    if (isset($options['after-breadcrumbs'])) {
    		echo $options['after-breadcrumbs'];
    	} else {
    		// echo '</div>';
    	}

    I have no idea what that after-breadcrumbs option does but this solved my issue and now the layout is all good :)

    Greets

    http://wordpress.org/extend/plugins/wp-e-commerce/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 3 years ago by Effix
  • This topic is not a support question
  • WordPress version: 3.2.1