Homepage › Forum › Product Support › Rubino › Text (description) in category page
- This topic has 6 replies, 3 voices, and was last updated 8 years, 6 months ago by
demodd.
-
AuthorPosts
-
8 years, 7 months ago #9422
How I can add text(description) in category page. If I added text in basic field "description" - the text in category page not shows.
8 years, 7 months ago #9441Hi.
Thank you for contacting us.
The category description will display in page heading subtitle as this image http://prntscr.com/fiilka.
Please check your site again.
Thank you.
Tracy.
8 years, 7 months ago #9448Hi,
Thanks for your kindly reply,
Oh, I don't using the page heading, because it does not match with my design of site.
Is there another way to solution of this issue without standard page heading?8 years, 7 months ago #9458Hi again, demodd
Thanks for your feeback.
Please add this Custom Code on yolo-rubino/woocommerce/archive-product.php
<header class="woocommerce-products-header">
<?php if ( apply_filters( 'woocommerce_show_page_title', true ) ) : ?>
<h1 class="woocommerce-products-header__title page-title"><?php woocommerce_page_title(); ?></h1>
<?php endif; ?>
<?php
/**
* woocommerce_archive_description hook.
*
* @hooked woocommerce_taxonomy_archive_description - 10
* @hooked woocommerce_product_archive_description - 10
*/
do_action( 'woocommerce_archive_description' );
?>
</header>
Note: You can use the Child-Theme to add this Custome Code> it will help you don't loose this code when you update theme.
- If you don't use ChildTheme, don't forget to backup Custom Code before updating.
Best Regards,
YoloTheme8 years, 6 months ago #9620I added this code to the archive-product.php
but as result shows only Title and not shows the text which need to show.
Please check it.
By the way, if it possible the description field need to support shortcodes.
8 years, 6 months ago #9642Hi,
You can try with the code in attachment.
8 years, 6 months ago #9651Thank you a lot.
It's working.
-
AuthorPosts
You must be logged in and have valid license to reply to this topic.
