Title: lokgp's Replies | WordPress.org

---

# lokgp

  [  ](https://wordpress.org/support/users/lokgp/)

 *   [Profile](https://wordpress.org/support/users/lokgp/)
 *   [Topics Started](https://wordpress.org/support/users/lokgp/topics/)
 *   [Replies Created](https://wordpress.org/support/users/lokgp/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/lokgp/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/lokgp/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/lokgp/engagements/)
 *   [Favorites](https://wordpress.org/support/users/lokgp/favorites/)

 Search replies:

## Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Remove breadcrumb from shop 'homepage'](https://wordpress.org/support/topic/remove-breadcrumb-from-shop-homepage/)
 *  [lokgp](https://wordpress.org/support/users/lokgp/)
 * (@lokgp)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/remove-breadcrumb-from-shop-homepage/page/2/#post-3144034)
 * This is a method to hide the breadcrumbs by adding this code to **custom.css**:
 *     ```
       .home #breadcrumbs {
           display: none;
       }
       ```
   
 * **This is not recommended.** What it does is just hide the text. But the breadcrumbs
   are still executed, so you still get a huge blank empty space gap which represented
   the breadcrumbs. It is not good enough. Editing the functions.php as described
   below is preferred.
 * Okay, I am made to understand that if you want to remove breadcrumbs, **ONLY**
   from your **homepage** add one of this to your **functions.php**:
 * _Option 1:_ If you are using a** default homepage**, use this:
 *     ```
       if ( is_home() ) {
            remove_action( 'woocommerce_before_main_content', 'woocommerce_breadcrumb', 20, 0);
       }
       ```
   
 * _Option 2:_ If you are using a** static page **, use this:
 *     ```
       if ( is_front_page() ) {
            remove_action( 'woocommerce_before_main_content', 'woocommerce_breadcrumb', 20, 0);
       }
       ```
   
 * **I am using a static page. I tried the code above, but it doesn’t work.**
    It
   is supposed to work, according to all WordPress help documents, it is supposed
   to return “true” that it is a static page and then execute the remove breadcrumbs.
   But it doesn’t work. The static page I used has no title, as this was done to
   prevent getting 2 Home button on the Top Menu. I tried a different static page
   with a title, but it still didn’t work.
 * **So, any better tricks?**
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Variation Price and Add to Cart Button missing after upgrades of WP & WooComme](https://wordpress.org/support/topic/variation-price-and-add-to-cart-button-missing-after-upgrades-of-wp-woocomme/)
 *  Thread Starter [lokgp](https://wordpress.org/support/users/lokgp/)
 * (@lokgp)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/variation-price-and-add-to-cart-button-missing-after-upgrades-of-wp-woocomme/#post-3987875)
 * And I got a reply from ShareYourCart.
 * That you should either use:
    **1. The plugin only. or 2. The footer sniplet only.
   and 3. Never use both at the same time.
 * I ended up using the footer sniplet only.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widgets on Pages] Unwanted space at the top](https://wordpress.org/support/topic/unwanted-space-at-the-top/)
 *  [lokgp](https://wordpress.org/support/users/lokgp/)
 * (@lokgp)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/unwanted-space-at-the-top/#post-3964796)
 *     ```
       #sidebar-name .widget {
       float: left;
       width: 80%;
       }
       ```
   
 * This code: Doesn’t work.Don’t try.
    I pasted it on custom.css file.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Variation Price and Add to Cart Button missing after upgrades of WP & WooComme](https://wordpress.org/support/topic/variation-price-and-add-to-cart-button-missing-after-upgrades-of-wp-woocomme/)
 *  Thread Starter [lokgp](https://wordpress.org/support/users/lokgp/)
 * (@lokgp)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/variation-price-and-add-to-cart-button-missing-after-upgrades-of-wp-woocomme/#post-3987606)
 * I sent an email to Woothemes and they reply:
 * > Please make sure that you have already updated your product to the latest version(
   > we’re going to ask you to do this), disabled all 3rd party plugins (we’re going
   > to ask you to do this too), and read our Support Policy.
 * So I did that and found that the plugin ShareYourCart is causing this problem
   as soon as I have de-activate it and refreshed my web browser. I have uninstalled
   it for now, and removed its footer.php sniplet codes.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Variation Price and Add to Cart Button missing after upgrades of WP & WooComme](https://wordpress.org/support/topic/variation-price-and-add-to-cart-button-missing-after-upgrades-of-wp-woocomme/)
 *  Thread Starter [lokgp](https://wordpress.org/support/users/lokgp/)
 * (@lokgp)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/variation-price-and-add-to-cart-button-missing-after-upgrades-of-wp-woocomme/#post-3987471)
 * Here is my product page: [http://wallart.my/product/pond-with-water-lilies/](http://wallart.my/product/pond-with-water-lilies/)
 * The variation price and add to cart button should be just right below the Discount
   button. And the “Product Description/Additional Information/ Review” form used
   to be in tabs, and did not line up down on the page. After I did the upgrades,
   the formats has changed.
 * It would be a great help if someone can help me out with this. Many thanks. And
   appreciated.
 * Regards,
    Lok

Viewing 5 replies - 1 through 5 (of 5 total)