Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • I solved it this way: in wpc-catalogue.php on line 69 right after the echo for ‘wpc-catalogue-wrapper’ i added

    <div class="titleforwpc-cat">
    <?php
    echo '<h2>' . $term_slug . '</h2>';
    ?>
    </div>

    and styled it in css

    .titleforwpc-cat {
    }

    I also needed to add the title in the single product pages in single-wpcproduct.php on line 5 right after the content main div.

    <div id="content" role="main">
    <div class="titleforwpc-cat">

    I also had to remove this div in the actual Catalogue page because it showed a blank space under the page title (default wordpress) and did that in a very custom way so it’s not a good solution. I’m no php expert, so if someone solves that I’m very happy 🙂

    I just identified the ID of that particular page – in my case it was #post-128 so I just gave it display:none in css

    #post-182 .titleforwpc-cat {
    display: none;
    }

    Hope this helps.

    I fixed my subcategories tweaking the wpc-catalogue.php and the single-product.php files. It’s working. I also needed to adjust the term_order from phpmyadmin in the database. are you going to fix that too in this new release?

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