Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • in reply to: Display Product Category Description under title #325835
    Umeed
    Member
    Post count: 4

    Hi David,

    I thought that is the default Woocommerce action to display category description. Because it is displaying the description under content which I think is inside loop. And I think the page heading wrap is outside the loop so there should be another code to display current category description out side loop?

    in reply to: Display Product Category Description under title #325828
    Umeed
    Member
    Post count: 4

    Hello Rui,

    I found this code in line #299 of sf-page-heading.php

    <?php if ( sf_woocommerce_activated() && is_woocommerce() ) { ?>
       <?php if ( is_product() ) { ?>
       <h1 class="entry-title" <?php echo $article_heading_text; ?>><?php echo $page_title; ?></h1>
       <?php } else { ?>
       <h1 class="entry-title" <?php echo $article_heading_text; ?>><?php woocommerce_page_title(); ?></h1>
       <strong><?php do_action( 'woocommerce_archive_description' ); ?></strong>
       <?php } ?>
    <?php } else if ( is_search() ) { ?>
    

    as you can see do_action(‘woocommerce_archive_description’ ) not displaying category description. But if I put any string like “<h2>SOME TEXT</h2>” it is displaying there. Would you please let me know why the action is not working?

    in reply to: Display Product Category Description under title #325721
    Umeed
    Member
    Post count: 4

    Hi Rui,

    Thanks for the reply. I know how to remove description from category Content section which the archive-product.php is displaying. But I want to display same description in page title section please check attachment (Displaying Description in Red box). Which file is responsible for displaying category title and breadcrumb in page title wrap section?

    Attachments:
    You must be logged in to view attached files.
    in reply to: Display Product Category Description under title #325714
    Umeed
    Member
    Post count: 4

    Hi David,

    Thanks for the reply. I am also WP developer and I need to find the specific file name which is responsible to display that category title and if possible the line # then I can customize it.

    About the second request yes white bg for product image. I want to know is there any specific option to turn it on or off otherwise custom css can work.

    Thanks 🙂

Viewing 4 posts - 1 through 4 (of 4 total)