Sign Up for OSTraining

Welcome, Guest
Username: Password: Remember me

TOPIC: Twenty Eleven default page / WooCommerce

Twenty Eleven default page / WooCommerce 1 year 1 month ago #45041

  • JP
  • JP's Avatar
  • OFFLINE
  • OSTudent
  • Posts: 32
  • Karma: 0
I have Twenty Eleven theme installed with Woocommerce plugin.

I am trying to get rid of the side column that keep appearing. Twenty eleven default template don't have this ( I removed it) but it keep appearing for all the woocommerce pages I want this completely removed.

So can you tell me where the default template for Woocommerce may be?

Thanks in advance
Please become a member of OSTraining to reply to this post.

Twenty Eleven default page / WooCommerce 1 year 1 month ago #45075

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3105
  • Thank you received: 7
  • Karma: 0
The woocommerce templates would be in wp-content/plugins/woocommerce

From the picture, it looks like that is a widget, not part of the woocommerce template. Have you checked to see if have widgets placed there?

This doesn't look like the 2011 theme unless you've done some massive customization on it. Do you have a link to the actual page so we can see what's there?

Check out widgets and let us know if that was the problem.

Cheers,
Ed
Please become a member of OSTraining to reply to this post.

Twenty Eleven default page / WooCommerce 1 year 1 month ago #45124

  • JP
  • JP's Avatar
  • OFFLINE
  • OSTudent
  • Posts: 32
  • Karma: 0
Thanks got that!

yes it is heavily customised... I am doing some serious DIY hacking about... :-/

I have a one more question if I may?
I also need to call in woocommerce Parent category in to each subcategory page so

Subcategory page 1 header looks like
<header>
<h1>Category 1</h1>
<h2>Subcategory 1</h2></header>

Subcategory page 2 header looks like
<header><h1>Category 1</h1>
<h2>Subcategory 2</h2></header>

There is a hook for Subcategories but not for categories.

Don't have much experience with back-end dev :-/ and having to do some quite advance stuff.
Please become a member of OSTraining to reply to this post.

Twenty Eleven default page / WooCommerce 1 year 1 month ago #45133

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3105
  • Thank you received: 7
  • Karma: 0
Hi Shavindra,

Does this discussion relate to what you want to do?

wordpress.org/support/topic/print-category-name-in-the-loop

or
<?php
foreach((get_the_category()) as $category) {
    echo $category->cat_name . ' ';
}
?>

Ed
Please become a member of OSTraining to reply to this post.

Sign Up for OSTraining

Copyright 2013 Open Source Training, LLC. All rights reserved.